Bug #51257 New window layout: missing all tools to add tables?
Submitted: 17 Feb 2010 23:00 Modified: 18 Feb 2010 21:06
Reporter: Benjamin Hill Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S1 (Critical)
Version:5.2.16 OS:Windows (Win7)
Assigned to: CPU Architecture:Any

[17 Feb 2010 23:00] Benjamin Hill
Description:
I'm unable to add any elements (tables, keys, etc) to a brand new model.  It seems like the normal edit window isn't loading the usual tools?  Or is it only showing the navigator window?  Will attach screen shot.

I tried once using the "Install over old install and accept the automatic uninstall" option, then did a manual uninstall/reinstall.

How to repeat:
Create new model.  Try to add a table.

Suggested fix:
Bring back the tool bar.
[17 Feb 2010 23:01] Benjamin Hill
Screenshot of issue

Attachment: 5.2.16 OSS, Revision 5249.png (image/png, text), 98.52 KiB.

[18 Feb 2010 2:05] MySQL Verification Team
I couldn't repeat this issue on Windows Vista Home Premium X64. I upgraded from 5.2.15 to 5.2.16.

MySQL Workbench OSS for Windows version 5.2.16
Cairo Version: 1.8.8
Rendering Mode: OpenGL requested (create a diagram to confirm)
OpenGL Driver Version: 3.2.9232
OS: Microsoft Windows Vista Home Premium Edition Service Pack 2 (build 6002), 64-bit
CPU: 2x AMD Turion(tm) X2 Dual-Core Mobile RM-72, 3.8 GiB RAM
Video adapter info:
Adapter type: ATI Radeon HD 3200 Graphics 
Chip Type: ATI display adapter (0x9612)
BIOS String: BK-ATI VER010.094.001.005.031149
Video Memory: 262144 KB
[18 Feb 2010 4:39] Benjamin Hill
Can you attach a screenshot: clean install, "new diagram"?
[18 Feb 2010 7:28] Mike Lischke
Benjamin, that looks like the splitter distance is messed up somehow. What you see on the screen is supposed to be a rather small side bar now taking your full app window space. See if you can find the splitter at either side of the app window (more likely the left side, close to the left border) and drag that to the right. It then should stay at that position, also after restart.
[18 Feb 2010 15:19] Benjamin Hill
That did it, thank you!  Splitter was completely buried against the edge.  Strange that the new build defaulted to that for me but glad other people aren't running into it.
[18 Feb 2010 21:06] Benjamin Hill
Exception = System.InvalidOperationException
Message = SplitterDistance must be between Panel1MinSize and Width - Panel2MinSize.
FullText = System.InvalidOperationException: SplitterDistance must be between Panel1MinSize and Width - Panel2MinSize.
   at System.Windows.Forms.SplitContainer.set_SplitterDistance(Int32 value)
   at MySQL.GUI.Workbench.MainForm.mainDockPanel_ActiveDocumentChanged(Object sender, EventArgs e)
   at WeifenLuo.WinFormsUI.Docking.DockPanel.OnActiveDocumentChanged(EventArgs e)
   at WeifenLuo.WinFormsUI.Docking.DockPanel.FocusManagerImpl.RefreshActiveWindow()
   at WeifenLuo.WinFormsUI.Docking.DockPanel.FocusManagerImpl.ResumeFocusTracking()
   at WeifenLuo.WinFormsUI.Docking.DockPanel.ResumeLayout(Boolean performLayout, Boolean allWindows)
   at WeifenLuo.WinFormsUI.Docking.DockContentHandler.Close()
   at MySQL.GUI.Workbench.MainForm.MainForm_FormClosing(Object sender, FormClosingEventArgs e)
   at System.Windows.Forms.Form.OnFormClosing(FormClosingEventArgs e)
   at System.Windows.Forms.Form.WmClose(Message& m)
   at System.Windows.Forms.Form.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)