Bug 51446 - Control center does not properly clean up.
Control center does not properly clean up.
Product: Red Hat Public Beta
Classification: Retired
Component: control-center (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jonathan Blandford
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-08-10 11:44 EDT by Owen Taylor
Modified: 2013-04-02 00:15 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-08-10 11:48:34 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Owen Taylor 2001-08-10 11:44:34 EDT
In the "independent window' mode of operation of the control
center. (What you get if you launch capplets from the
menus or from "Start here"), we have 

 [ Apply ]  [ Close ]

Selecting close, or the window manager close decoration just
kills the capplet without properly cleaning up. The
capplet API only allows cleanups as OK - apply and close,
or cancel - revert back to when the dialog was 
opened and close.

Not cleaning up causes various bugs in various capplets. Many
capplets don't sync their final state until [ OK ] or [ Cancel ].

It's possible that it can be fixed up capplet by capplet, though
this would be a hard-to-catch API change, but if not, all
we can support is:

 [ Apply ]  [ OK ]

Where OK applies and closes. 

 [ OK  ] [ Cancel ]

Where Cancel Reverts back to the initial state,
not to the last Apply.

(A hack, would be to make Apply 'OK and restart capplet',
but I think that would look really horribly awful.

And the window mananger close decoration has to be either
OK or Cancel.

Both the theme selector and window manager capplets display
the wrong choice when they are reopened after switching
theme / or window manager because they never save their
final state.
Comment 1 Jonathan Blandford 2001-08-10 18:11:37 EDT
Changed to [ Apply] [  OK  ] [Cancel]

Note You need to log in before you can comment on or make changes to this bug.