Bug #66012 I cannot switch between tables to edit them once they are created.
Submitted: 25 Jul 2012 18:35 Modified: 26 Jul 2012 14:58
Reporter: Shawn Arbour Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S1 (Critical)
Version:5.2.41 OS:Windows (Microsoft Windows 7 Service Pack 1 (build 7601), 64-bit)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[25 Jul 2012 18:35] Shawn Arbour
Description:
When I open workbench I can click on each table and the columns appear down below where I can edit them.  However once 	I have clicked on a table once I cannot open it again, it gets stuck on hte last table opened.  

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

MySQL Workbench CE for Windows version 5.2.41  revision 9727.  I am running windows 7 pro 64 bit.
Configuration Directory: C:\Users\arbour.AVX_BIDNT\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  Service Pack 1 (build 7601), 64-bit
CPU: 4x Intel(R) Core(TM)2 Quad CPU    Q8200  @ 2.33GHz, 8.0 GiB RAM
Active video adapter (0): ATI Radeon HD 4300/4500 Series       
Installed video RAM: 512 MB
Current video mode: 1920 x 1080 x 4294967296 colors
Used bit depth: 32
Driver version: 8.911.0.0
Installed display drivers: aticfx64.dll,aticfx64.dll,aticfx32,aticfx32,atiumd64.dll,atidxx64.dll,atiumdag,atidxx32,atiumdva,atiumd6a.cap,atitmm64.dll
Current user language: English (United States)

Exception = System.InvalidCastException
Message = Unable to cast object of type 'MySQL.Forms.MenuItemImpl' to type 'MySQL.GUI.Workbench.Plugins.DockablePlugin'.
FullText = System.InvalidCastException: Unable to cast object of type 'MySQL.Forms.MenuItemImpl' to type 'MySQL.GUI.Workbench.Plugins.DockablePlugin'.
   at MySQL.GUI.Workbench.Plugins.DockablePlugin.GetFromFixedPtr(IntPtr ptr)
   at MySQL.GUI.Workbench.MainForm.ShowPlugin(IntPtr ptr)
   at MySQL.Forms.AppImpl.show_editor_wrapper(UInt32 native_handle)
   at boost.detail.function.void_function_invoker1<void (__cdecl*)(unsigned int),void,unsigned int>.invoke(function_buffer* function_ptr, UInt32 a0)
   at wb.ModelDiagramForm.handle_mouse_double_click(ModelDiagramForm* , MouseButton , Int32 , Int32 , EventState )
   at MySQL.Workbench.ModelDiagramFormWrapper.OnMouseDoubleClick(MouseEventArgs e, Int32 X, Int32 Y, Keys keystate, MouseButtons buttons)
   at MySQL.GUI.Workbench.ModelDiagramForm.CanvasPanel_MouseDoubleClick(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseDoubleClick(MouseEventArgs e)
   at MySQL.Utilities.WindowsCanvasViewerPanel.OnMouseDoubleClick(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How to repeat:
When I open workbench I can click on each table and the columns appear down below where I can edit them.  However once 	I have clicked on a table once I cannot open it again, it gets stuck on hte last table opened.
[25 Jul 2012 18:38] Shawn Arbour
printscreen of error and working screen

Attachment: wberror.docx (application/vnd.openxmlformats-officedocument.wordprocessingml.document, text), 264.31 KiB.

[26 Jul 2012 3:31] Valeriy Kravchuk
Thank you for the bug report. Verified on Windows XP also. No problems like this on Mac OS X though. So, this is a platform-specific bug.
[26 Jul 2012 14:59] Alfredo Kojima
duplicate of bug #66013