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 645492 - gedit doesn't hide close confirmation dialog if logout is canceled.
gedit doesn't hide close confirmation dialog if logout is canceled.
Status: RESOLVED OBSOLETE
Product: gedit
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2011-03-22 04:00 UTC by Ray Strode [halfline]
Modified: 2016-11-26 17:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ray Strode [halfline] 2011-03-22 04:00:30 UTC
+++ This bug was initially created as a clone of Bug #645485 +++

If gedit has its close confirmation dialog up because of a looming logout, but then that logout is canceled, gedit doesn't get rid of the dialog.

It should listen for the quit_canceled signal (in addition to the quit signal it already listens for) on its sm client object and kill the dialog.
Comment 1 Adam Williamson 2011-03-22 04:49:48 UTC
one more issue: now I know you can click the app names, if you *do* click on gedit, then click gedit's 'cancel logout' button, it doesn't actually cancel the GNOME logout / shutdown process; the gedit dialog goes away, and the GNOME shut down dialog comes back.
Comment 2 Ray Strode [halfline] 2011-03-22 04:58:15 UTC
Adam, that's being tracked by bug 645485
Comment 3 Ray Strode [halfline] 2011-03-22 05:00:10 UTC
so it looks like it's not sufficient to listen for quit_canceled unfortunately.

eggsmclient explicitly delays delivering the signal:


         if (xsmp->state == XSMP_STATE_INTERACT)                            
           {                                                                
             /* The application is currently interacting, so we can't       
              * tell it about the cancellation yet; we will wait until      
              * after it calls egg_sm_client_will_quit().                   
              */                                                            
             xsmp->state = XSMP_STATE_SHUTDOWN_CANCELLED;                   
           }
Comment 4 Kevin Hagner 2016-11-26 17:46:43 UTC
Thanks for taking the time to report this.
However, you are using a version that is too old and not supported anymore by GNOME developers. GNOME developers are no longer working on that version, so unfortunately there will not be any bug fixes by GNOME developers for the version that you use. Since GNOME 3, no closing confirmation occurred from Gedit when looming logout.

By upgrading to a newer version of GNOME you could receive bug fixes and new functionality. You may need to upgrade your Linux distribution to obtain a newer version of GNOME.

Please feel free to reopen this bug report if the problem still occurs with a recent version of GNOME, or feel free to report this bug in the bug tracking system of your Linux distribution if your distribution still supports the version that you are using.