Bug #62192 SQL Editor - Save snapshot of open editors on close
Submitted: 17 Aug 2011 13:41 Modified: 16 Nov 2011 4:44
Reporter: Brandon Gallagher Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.34 CE OS:Windows (7)
Assigned to: CPU Architecture:Any

[17 Aug 2011 13:41] Brandon Gallagher
Description:
In Preferences, I have told it to auto-save my editor windows on close (or crash) so they will show up next time I open this connection.  I have the autosave period set to 10 sec (but I've tried some other intervals too).

When I reopen the connection, it's unpredicatable what windows will have been saved.  It usually seems like it saves more than less.  

How to repeat:
If I have 10 tabs open, then close all but two, then log out (after giving it plenty of time to autosave), when I reopen the connection, I won't have the two I left open.  I may have all 10, or fewer, or sometimes even more.
[17 Aug 2011 17:24] MySQL Verification Team
Could you please provide the output of Help->System Info. I couldn't repeat on Vista 64-bit.
[17 Aug 2011 18:05] Brandon Gallagher
MySQL Workbench CE for Windows version 5.2.34

Configuration Directory: C:\Users\Brandon Gallagher\AppData\Roaming\MySQL\Workbench

Data Directory: C:\Program Files (x86)\MySQL\MySQL Workbench CE 5.2.34

Cairo Version: 1.8.8

Rendering Mode: OpenGL is available on this system, so OpenGL is used for rendering.

OpenGL Driver Version: 3.0.0 - Build 8.15.10.2321

OS: Microsoft Windows 7  Service Pack 1 (build 7601), 64-bit

CPU: 4x Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 7.9 GiB RAM

Active video adapter: NVIDIA NVS 4200M 

Installed video RAM: 1024 MB

Current video mode: 1600 x 900 x 4294967296 colors

Used bit depth: 32

Driver version: 8.17.12.6802

Installed display drivers: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um

Current user language: English (United States)
[23 Aug 2011 14:03] Armando Lopez Valencia
Reproduced as commented by the reported.
Thanks a lot for your report Brandon!
[23 Aug 2011 14:04] Armando Lopez Valencia
Evidence

Attachment: ManyTabs.JPG (image/jpeg, text), 101.91 KiB.

[16 Nov 2011 4:44] Philip Olson
Fixed as of 5.2.36:

+        The <literal>Auto-save</literal> feature would behave with
+        unpredictable results, by opening up an incorrect number of
+        windows when &workbench; was next loaded.