Bug #66541 "Unsaved changes" prompt on hundreds of tabs
Submitted: 25 Aug 2012 23:01 Modified: 12 Dec 2012 8:35
Reporter: Jake Grice Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S1 (Critical)
Version:5.2.42 OS:Windows (Microsoft Windows 7 Ultimate Edition Service Pack 1 (build 7601), 64-bit)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[25 Aug 2012 23:01] Jake Grice
Description:
Every day at work, I open hundreds of SQL tabs for new queries, and every time I exit, it prompts me to save every single one, I have to just kill the task, because I'm not going to sit there and destroy my mouse spamming the "don't save" button. In prior versions, there was a "No to all" option. Bring it back.

----- Developer Notes -----

MySQL Workbench CE for Windows version 5.2.42  revision 9752
Configuration Directory: C:\Users\Jake\AppData\Roaming\MySQL\Workbench
Data Directory: C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE
Cairo Version: 1.8.8
OS: Microsoft Windows 7 Ultimate Edition Service Pack 1 (build 7601), 64-bit
CPU: 8x Intel(R) Core(TM) i7 CPU         950  @ 3.07GHz, 24.0 GiB RAM
Active video adapter (0): NVIDIA GeForce GTX 470
Installed video RAM: 1279 MB
Current video mode: 1920 x 1080 x 4294967296 colors
Used bit depth: 32
Driver version: 8.17.13.142
Installed display drivers: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
Current user language: English (United States)

How to repeat:
1. Open 100 SQL tabs and put something in each tab
2. Exit workbench
[25 Aug 2012 23:19] Jake Grice
Forgot to mention, there also used to be hotkeys for the buttons themselves, such as N for no, and holding N makes them all go instantly, so that could be an option too.

Thanks so much, Workbench is the best!
[26 Aug 2012 0:36] MySQL Verification Team
Thank you for the bug report.
[12 Dec 2012 8:35] Philip Olson
This bug report was merged with MySQL Bug #66541. The MySQL Workbench 5.2.45 changelog entry reads as:

A new "General", "SQL Editor" option was added. Enabling "Create new tabs
as Query tabs instead of File" (disabled by default) causes new SQL Editor
tabs to default as Query tabs instead of SQL File tabs. File tabs include
additional options, and prompt to be saved when the tab closed.

Also, this new option has been documented.