Integrated: 8305825: getBounds API returns wrong value resulting in multiple Regression Test Failures on Ubuntu 23.04
Alexander Zvegintsev
azvegint at openjdk.org
Thu Dec 7 03:37:53 UTC 2023
On Mon, 4 Dec 2023 23:26:12 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:
> The root of this issue is the incorrect calculation of window decoration insets.
>
> Previously we got non-zero window insets in the first PropertyNotify with [_NET_FRAME_EXTENTS](https://specifications.freedesktop.org/wm-spec/wm-spec-latest.html#idm45771211302000) atom, save them and never change them again.
>
> This changed starting with Ubuntu 23.04:
> Now we can get several such notifications with zero window insets, and only then the correct value.
>
> Our code is not ready for this. It affects all our JDK. As a result, many tests fail on Ubuntu 23.04 and 23.10.
>
> The solution is to change these insets on the fly, for now only for Mutter window manager.
> The guessInsets for it have also been updated.
>
>
> This also means that some tests need some stabilization as they are not ready for such late arrival of window insets.
>
> Testing looks good.
This pull request has now been integrated.
Changeset: 632a3c56
Author: Alexander Zvegintsev <azvegint at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/632a3c56e0626b4c4f79c8cb3d2ae312668d63fc
Stats: 42 lines in 8 files changed: 23 ins; 6 del; 13 mod
8305825: getBounds API returns wrong value resulting in multiple Regression Test Failures on Ubuntu 23.04
Reviewed-by: prr, achung, honkar, aivanov
-------------
PR: https://git.openjdk.org/jdk/pull/16960
More information about the client-libs-dev
mailing list