Bug #67862 Closed a query without saving it, minimized the application the bug report poppe
Submitted: 10 Dec 2012 14:24 Modified: 10 Dec 2012 15:30
Reporter: Dan McCormick Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2.44 OS:Windows (Microsoft Windows XP Professional Service Pack 3 (build 2600))
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[10 Dec 2012 14:24] Dan McCormick
Description:
Closed a query without saving it, minimized the application the bug report popped up.

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

MySQL Workbench CE for Windows version 5.2.44  revision 9933
Configuration Directory: C:\Documents and Settings\DanM\Application Data\MySQL\Workbench
Data Directory: C:\Program Files\MySQL\MySQL Workbench CE 5.2.44
Cairo Version: 1.8.8
OS: Microsoft Windows XP Professional Service Pack 3 (build 2600)
CPU: 4x Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz, 3.3 GiB RAM
Active video adapter (0): NVIDIA Quadro NVS 290
Installed video RAM: 256 MB
Current video mode: 1680 x 1050 x 4294967296 colors
Used bit depth: 32
Driver version: 6.14.11.6926
Installed display drivers: nv4_disp.dll
Current user language: English (United States)

Exception = System.Collections.Generic.KeyNotFoundException
Message = The given key was not present in the dictionary.
FullText = System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at MySQL.GUI.Workbench.SqlIdeForm.TabIndexFromEditor(SqlEditorWrapper editor)
   at MySQL.GUI.Workbench.SqlIdeForm.AfterExecSql()
   at MySQL.Grt.RunWrappedDelegate0<int\,int\,MySQL::Grt::DelegateSlot0<int\,int>::ManagedDelegate>.native_callback()
   at boost.detail.function.function_invoker0<int (__cdecl*)(void),int>.invoke(function_buffer* function_ptr)
   at wb.WBContext.flush_idle_tasks(WBContext* )
   at MySQL.Workbench.WbContext.flush_idle_tasks()
   at MySQL.GUI.Workbench.Program.timer_Tick(Object sender, EventArgs e)

How to repeat:
Damned if I know.
[10 Dec 2012 15:30] MySQL Verification Team
I can't repeat on Windows 7 and XP Home Edition.