Bug #18970 2013-04-14 13:17

orkhayiq

The perspective 'x' has changed? No & Don't annoy my again

1.) Edit a perspective layout and switch to another

2.) Perspective changed, save? No + "Don't annoy me again!" checked

3.) Edit a perspective layout and switch to another

4.) No prompt is shown, switch back to the previous perspective

5.) Layout changes were saved

When a perspective is altered the perspective-has-changed message box appears asking to save layout changes. If you tick the "Don't annoy me again!" and select 'No' I expect Code::Blocks' logic to be to respond to this suppressed message with a 'No' every time but instead it seems to be responding with 'Yes' as changes to layouts are always saved.

Currently the workarounds are to not tick the checkbox and manually click 'No' every time to preserve your perspective from changes or to create a backup perspective for each of your custom perspectives or to restore from a backed up default.conf file.

Category
Application::WrongBehaviour
Group
Platform:Windows
Status
Closed
Close date
2013-07-01 22:02
Assigned to
alpha0010
alpha0010 2013-07-01 22:02

Partially fixed in trunk. The response of 'No' will be saved when the dialogue does not have the 'Cancel' option (this occurs when closing Code::Blocks).

If you can think of a better solution, please upload a patch, or discuss it in the forums.