After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 671028 - Modal (java) Dialog steals focus across workspaces
Modal (java) Dialog steals focus across workspaces
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: general
3.3.x
Other Linux
: Normal major
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2012-02-29 05:08 UTC by Herbert Pötzl
Modified: 2021-07-05 14:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Simple Java Example (873 bytes, text/plain)
2012-02-29 05:10 UTC, Herbert Pötzl
Details

Description Herbert Pötzl 2012-02-29 05:08:50 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.
Comment 1 Herbert Pötzl 2012-02-29 05:10:52 UTC
Created attachment 208656 [details]
Simple Java Example

compile with 'javac DialogDemo.java'
run with 'java DialogDemo.class'
Comment 2 GNOME Infrastructure Team 2021-07-05 14:33:52 UTC
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.