GNOME Bugzilla – Bug 124032
Closing the Assistive Technology Preferences window by clicking in close box brings up the Logout dialog
Last modified: 2004-12-22 21:47:04 UTC
1. Open the Assistive Technology Preferences control panel 2. Use the mouse to click in the close box of your window manager for the Assistive Technology Preferences window 3. Observe that you now are prompted with a dialog "Are you sure you want to log out?"
This is a genuine bug, as the logout dialog is presented all the time. Offhand, I'd say the best solution is: If prefs in the dialog != prefs in the session, prompt using custom "Log out so changes can take effect" dialog. Doing the check shouldn't be that difficult, the custom logout dialog either means extending gnome-session or copy/pasting the code which does the shading stuff. Of the two, extending gnome-session seems to be the better option, IMHO, so other apps (package managers, for example) can take advantage of it.
James: I don't quite understand your suggestion. The appearance of the logout dialog is fine provided the user has really changed settings; the bug IMO is that the logout dialog appears whether the user has changed them or not!
Why not simply make the close widget (in the top-right corner) behave like the button which says "Close" down to the right? I was very confused when I simply checked the applet out and suddenly got the logout dialog when I closed the window. I hadn't changed anything.
Created attachment 21861 [details] [review] Proposed patch
The above patch makes the behaviour of the window manager close button similar to the close button at the botton.
Thanks, please remember to add the PATCH keyword to a bug if you attach a patch.
Patch applied. Its a reasonable solution to making the kludge work as expected. Extending gnome-session would be prefereable to requiring a logout, but at least this is less broken.