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 791061 - Modal dialogs may get "stuck" indefinitely
Modal dialogs may get "stuck" indefinitely
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: window-management
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2017-12-01 08:36 UTC by Jonas Ådahl
Modified: 2021-07-05 14:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
unset-transient-for.c (1.73 KB, text/x-csrc)
2017-12-01 08:36 UTC, Jonas Ådahl
Details

Description Jonas Ådahl 2017-12-01 08:36:16 UTC
Created attachment 364720 [details]
unset-transient-for.c

If the transient-for state of a modal dialog is unset before the dialog is destroyed, the actor of the dialog will never disappear, and the parent will stay dimmed indefinitely.

The cause seems to be that in _destroyWindow, the window.get_transient_for() returns null in the window.is_attached_dialog() true branch, causing the clean up path to malfunction.

See attachment for a simple reproducer. Reproduces on both Wayland and X11.
Comment 1 GNOME Infrastructure Team 2021-07-05 14:30:44 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.