On Sun, 15 Oct 2023 13:25:15 GMT, Thiago Milczarek Sayao <tsa...@openjdk.org> wrote:
>> The bug on the title happens because `gtk_widget_realize()` was called on >> the constructor. It creates the internal underlying window `GdkWindow` and >> `XWindow` messing the Gtk expected order. It's probably a Mutter change >> rather than Gtk. But makes sense to not realize it before expected on the >> gtk/mutter flow. >> >> I moved the code to get the `GdkWindow` to the realize event. >> >> Had to change the background function because it's called before realize. >> >> The initial **Maximized** and **FullScreen** situations are probably a bug >> on Mutter [filed here](https://gitlab.gnome.org/GNOME/mutter/-/issues/3092). >> >> I could work-around it on this situation, but it would still happen on later >> focus request. > > Thiago Milczarek Sayao has updated the pull request incrementally with one > additional commit since the last revision: > > Fix background Long story short, it fixes [8316423](https://bugs.openjdk.org/browse/JDK-8316423), iconified fails on the test but actually works and the initial maximize and fullscreen not sticking on recent ubuntu versions is probably a bug [filed here](https://gitlab.gnome.org/GNOME/mutter/-/issues/3092). ------------- PR Comment: https://git.openjdk.org/jfx/pull/1249#issuecomment-1778191190