GNOME Bugzilla – Bug 671028
Modal (java) Dialog steals focus across workspaces
Last modified: 2021-07-05 14:33:52 UTC
when a (java) application on a different workspace opens a modal dialog, the focus is 'stolen' and all input goes to the dialog, despite the fact that the current workspace is still shown and the dialog is hidden. Steps to Reproduce: 1. start (java) application which opens a modal dialog after some time 2. switch workspace 3. wait for dialog to open and focus to be 'stolen' IMHO it's already dubious that an unfocused application can 'steal' the focus with a modal dialog, but it's completely counter intuitive that it will do this across workspaces (i.e. where you do not even see the app/dialog) attached a small java example which opens a window, waits 10 seconds, then raises a modal dialog.
Created attachment 208656 [details] Simple Java Example compile with 'javac DialogDemo.java' run with 'java DialogDemo.class'
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/ Thank you for your understanding and your help.