> 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.
Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision: copyright year updates ------------- Changes: - all: https://git.openjdk.org/jdk/pull/16960/files - new: https://git.openjdk.org/jdk/pull/16960/files/2ed7c837..f2210a19 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=16960&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=16960&range=00-01 Stats: 5 lines in 5 files changed: 0 ins; 0 del; 5 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