Bug #74450 Windows resizing gave an error even it wasn't me who resized the window
Submitted: 20 Oct 2014 9:54 Modified: 26 Sep 2015 23:54
Reporter: Babak Bandpey Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:6.2.3.12312 OS:Windows (7 - 32 bit - POS Ready)
Assigned to: CPU Architecture:Any

[20 Oct 2014 9:54] Babak Bandpey
Description:
SplitterDistance must be between Panel1MinSize and Width - Panel2MinSize

Message from Log file:

11:34:36 [ERR][      Workbench]: Console redirection failed.
11:34:36 [INF][      WBContext]: Parsing application arguments
.
.
.
.
.
.
11:34:50 [ERR][      Workbench]: SplitterDistance must be between Panel1MinSize and Width - Panel2MinSize.
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.ModelOverviewForm.LoadFormState()
   at MySQL.GUI.Workbench.ModelOverviewForm.ModelOverviewForm_Shown(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnShown(EventArgs e)
   at System.Windows.Forms.Form.CallShownEvent()
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
11:34:52 [DB2][ Canvas backend]: Updating OpenGL canvas view size (131 x 481 pixels)
11:34:52 [DB2][ Canvas backend]: Updating OpenGL canvas view size (131 x 456 pixels)
11:34:52 [DB2][ Canvas backend]: Updating OpenGL canvas view size (131 x 432 pixels)
11:34:52 [DB2][ Canvas backend]: Updating OpenGL canvas view size (131 x 430 pixels)
11:34:52 [DB2][ Canvas backend]: Updating OpenGL canvas view size (278 x 891 pixels)
11:34:52 [DB2][ Canvas backend]: Updating OpenGL canvas view size (259 x 891 pixels)
11:34:52 [DB2][ Canvas backend]: Updating OpenGL canvas view size (750 x 891 pixels)
11:34:52 [DB2][ Canvas backend]: Updating GDI canvas view size (196 x 137 pixels)
11:34:52 [DB2][ Canvas backend]: Updating GDI canvas view size (196 x 137 pixels)
11:34:52 [DB2][ Canvas backend]: Updating GDI canvas view size (266 x 155 pixels)
11:48:38 [DB2][ mforms managed]: Returning main form
11:48:56 [DB2][ mforms managed]: Returning main form
11:49:23 [DB2][ mforms managed]: Returning main form
11:50:22 [DB1][ mforms managed]: Opening the URL: C:\Users\bruger\AppData\Roaming\MySQL\Workbench\log\wb.log

How to repeat:
What happened in my case was that the Workbench started in the same size as had adjusted it in previous session and it failed at once when it started

Suggested fix:
Maybe open it always in Maximized size.
[20 Oct 2014 9:56] Babak Bandpey
View of the size and the Bug screen

Attachment: 2014-10-20 11_46_40-MySQL Workbench.png (image/png, text), 133.46 KiB.

[20 Oct 2014 11:04] MySQL Verification Team
Thank you for the bug report. I couldn't repeat, do you have more information about how you resized the window, a preference item you changed and are you able to provide the model project file (private)?. Thanks.
[20 Oct 2014 15:00] Babak Bandpey
Hi, yes

I have to tell you that these errors I experience happen mostly and only on windows 7 32 bit version. I'm sure that if you don't have that you cannot repeat these errors. 

The case was that I move the window by mouse and moved the mouse cursor to the upper right or left corner of the screen, and by this the Windows will shrink the window to half the size of the screen and place it nicely on the left side or the right side.

I turned off the machine without closing the application. Next time I turned the machine on and started the Workbench and the resize error happened for the very first time.

I'm not sure that I can replicate this error again, but it happened.

Have a nice day and good luck with everything :)
[20 Oct 2014 15:02] Babak Bandpey
By the way I use a 21:9 monitor.
[26 Aug 2015 23:54] MySQL Verification Team
Please try version 6.3.4. Thanks.
[27 Sep 2015 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".