RFR: 8305825: getBounds API returns wrong value resulting in multiple Regression Test Failures on Ubuntu 23.04
Alexander Zvegintsev
azvegint at openjdk.org
Mon Dec 4 23:36:17 UTC 2023
Starting with Ubuntu 23.04, we are receiving a several PropertyNotify from the window manager(Mutter on Gnome shell) with zero window insets, and only after that an actual window insets.
Our code is not ready for this, it uses the first received value. It affects all our JDK.
This did not happen before, e.g. Ubuntu 22.04 has non-zero insets from the start.
As a result, many tests fail on Ubuntu 23.04 and 23.10.
The solution is to change these insets on the fly.
This also means that some tests need some stabilization as they are not ready for such late arrival of window insets.
Testing looks good.
-------------
Commit messages:
- tests update
- 8305825: getBounds API returns wrong value resulting in multiple Regression Test Failures on Ubuntu 23.04
Changes: https://git.openjdk.org/jdk/pull/16960/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16960&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8305825
Stats: 37 lines in 8 files changed: 23 ins; 6 del; 8 mod
Patch: https://git.openjdk.org/jdk/pull/16960.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/16960/head:pull/16960
PR: https://git.openjdk.org/jdk/pull/16960
More information about the client-libs-dev
mailing list