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 124032 - Closing the Assistive Technology Preferences window by clicking in close box brings up the Logout dialog
Closing the Assistive Technology Preferences window by clicking in close box ...
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: [obsolete] Assistive Technology Preferences
2.4.x
Other Linux
: High minor
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-10-07 17:19 UTC by korn
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (986 bytes, patch)
2003-11-27 12:24 UTC, Muktha
none Details | Review

Description korn 2003-10-07 17:19:07 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?"
Comment 1 James Cape 2003-10-07 21:08:16 UTC
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.
Comment 2 bill.haneman 2003-10-08 11:34:40 UTC
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!
Comment 3 Mattias Dahlberg 2003-10-12 14:51:07 UTC
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.
Comment 4 Muktha 2003-11-27 12:24:07 UTC
Created attachment 21861 [details] [review]
Proposed patch
Comment 5 Muktha 2003-11-27 12:26:00 UTC
The above patch makes the behaviour of the window manager close button
similar to the close button at the botton.
Comment 6 Andrew Sobala 2003-11-27 14:51:29 UTC
Thanks, please remember to add the PATCH keyword to a bug if you
attach a patch.
Comment 7 Jody Goldberg 2004-02-16 17:24:32 UTC
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.