RFR: 8354943: [Linux] Simplify and update glass gtk backend: window sizing, positioning, and state management issues [v60]
Martin Fox
mfox at openjdk.org
Wed Sep 17 18:04:21 UTC 2025
On Wed, 10 Sep 2025 15:43:31 GMT, Lukasz Kostyra <lkostyra at openjdk.org> wrote:
> I've been going through the review and tests here, I still have some more code to review but I did notice there are some test failures on Windows:
I've tracked down one issue with these tests. Some of them try to verify where the top stage is by sampling from a fixed location in screen coordinates, typically calling `getColor(100, 100)`. Depending on the platform and stage style this might sample a pixel from the Label in the middle of the top stage's scene. This happens on Windows when the top stage's style is EXTENDED. This doesn't happen on macOS because the top stage gets shifted down to avoid the menu bar (the test tries to position the top stage at y = 0 but it ends up at y = 25 instead).
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1789#issuecomment-3304041970
More information about the openjfx-dev
mailing list