On Wed, 7 May 2025 14:00:28 GMT, Lukasz Kostyra <lkost...@openjdk.org> wrote:

> I think the GTK changes are fine, however the tests need some addressing.
> 
> On Linux (Ubuntu 24.04.2 VM) I see consistently failing two tests:
> 
> ```
>     StageOwnershipTest. testClosingAppModalShouldFocusParent(StageStyle) [1] 
> DECORATED
>     StageOwnershipTest. testClosingAppModalShouldFocusParent(StageStyle) [2] 
> UNDECORATED
> ```
> 
> Not sure for the reason for these, but it is a similar failure to Windows 
> ones listed below - line 436 `assertTrue(stage1.isFocused())` fails.
> 

This is because the focus stealing prevention mechanism on gnome/mutter. It's a 
sensitive topic in the gnome community, with lovers and haters :)

I still have to fix it - it's on my list.

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

PR Comment: https://git.openjdk.org/jfx/pull/1789#issuecomment-2859884221

Reply via email to