Bug #58202 add option to "Don't alert of unsaved changes again"
Submitted: 15 Nov 2010 12:54 Modified: 12 Jan 2012 20:23
Reporter: Roberto Bouzout Email Updates:
Status: Closed Impact on me:
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version: OS:Linux
Assigned to: Alfredo Kojima CPU Architecture:Any

[15 Nov 2010 12:54] Roberto Bouzout
When closing a tab with some unsaved query, the editor prompts:

Close SQL Editor
SQL script  has unsaved changes.
Would you like to Save these changes or Cancel closing?

When closing WorkBench, the editor prompts:

The following files/... have unsaved changes...

How to repeat:
* How to repeat: 

Suggested fix:
I'm carefull to save my scripts or queries.
The message is very annonyng because most of the time the generated queries are temporal.

I understand that for some people maybe this is useful. Because of this I want:

- An option on preferences to "Disable warning of unsaved queries" 


- "Don't ask again" checkbox when exiting or similar.

[15 Nov 2010 14:20] Valeriy Kravchuk
Thank you for the feature request.
[19 Nov 2010 4:24] Alfredo Kojima
Behaviour of script tabs has been changed so that there are 2 kinds of script editors:
- scratch area
- normal sql editor

Scratch area tabs are intended for temporary scripts and are never prompted for saving. If you do save such a tab, it is turned to a normal sql editor. 

Both types of editors can be created from File menu.