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 actually 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.
>> 
>> 
>> This also fixes [JDK-8316425](https://bugs.openjdk.org/browse/JDK-8316425)
>
> Thiago Milczarek Sayao has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Fix background

Updated the original description.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1249#issuecomment-1763391088

Reply via email to