Bug #63787 SplitterDistance bug
Submitted: 18 Dec 2011 17:26 Modified: 18 Dec 2011 18:06
Reporter: Mike Packard Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S1 (Critical)
Version:5.2.36 CE Revision 8542 OS:Windows
Assigned to: CPU Architecture:Any

[18 Dec 2011 17:26] Mike Packard
Description:
Value of -1 is not valid for 'SplitterDistance'. 'SplitterDistance' must be greater than 0.
Parameter name: SplitterDistance

I can no longer open SQL Editor for any connection. This effectively means I can no longer use MySQL Workbench until this bug is fixed. 

It didn't occur until I went into the Preferences. But I don't recall what I changed. I did not change much, if anything. But now I'm getting this bug and it won't let me run the editor. 

Until this is fixed, I'll have to switch to using PHPMyadmin. I can no longer use MySQL Workbench. 

How to repeat:
Unsure how to repeat because I don't recall what I did in Preferences. 

I believe that all I did was click on "Show Metadata Schema". But I just set it back and the bug is still there. 

I don't think I moved anything in the editor window. But I may have accidentally. 

Suggested fix:
From the error description, you should be able to determine roughly where the problem lies. An error check for -1 would fix this issue in the source code. 

Thank you
[18 Dec 2011 17:34] Valeriy Kravchuk
This is a duplicate of Bug #63582.
[18 Dec 2011 18:06] Mike Packard
A workaround is to completely uninstall Workbench, and also delete the parameter folders (In Windows, under Documents and Settings, your user...), and reinstall. 

This will reset the parameters for Splitter Distance and allow access to the SQL Editor.