Bug #55902 Workbench cause unexpected error when 'Place Siderbar on the right side' checked
Submitted: 11 Aug 2010 4:30 Modified: 1 Sep 2010 12:56
Reporter: Dragon Chuang Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2.26 OS:Windows
Assigned to: Alfredo Kojima CPU Architecture:Any

[11 Aug 2010 4:30] Dragon Chuang
Description:
If 'Place Siderbar on the Right Side' (in Preferences) was checked,
when user double-click 'Add Diagram' will cause Unexpected Error.

Error:
SplitterDistance value is invalid (-52).

How to repeat:
1. Check 'Place Siderbar on the Right Side' (in Preferences).
2. Double-Click 'Add Diagram' (in Model Overview) or press Ctrl+T.
[11 Aug 2010 10:16] Johannes Taxacher
What version of Windows are you using?
could you add the output of help->System info to the bug report?
thanks in advance
[11 Aug 2010 15:28] Dragon Chuang
I repeated this error on Windows 7 & XP. (Language: Traditional Chinese)

MySQL Workbench CE for Windows version 5.2.26
Data Directory: C:\Program Files\MySQL\MySQL Workbench 5.2 CE
Cairo Version: 1.8.8
Rendering Mode: OpenGL is available on this system, so OpenGL is used for rendering.
OpenGL Driver Version: 2.1.8544 Release
OS: Microsoft Windows 7 Ultimate Edition (build 7600), 32-bit
CPU: 2x AMD Turion(tm) 64 X2 Mobile Technology TL-50, 3.0 GiB RAM
Video adapter info:
Adapter type: ATI MOBILITY RADEON X1300
Chip Type: ATI Radeon Graphics Processor (0x7149)
BIOS String: BK-ATI VER009.012.001.013.024877
Video Memory: 131072 KB

and

MySQL Workbench CE for Windows version 5.2.26
Data Directory: C:\Program Files\MySQL\MySQL Workbench 5.2 CE
Cairo Version: 1.8.8
Rendering Mode: OpenGL is available on this system, so OpenGL is used for rendering.
OpenGL Driver Version: 2.1 Mesa 7.7.1-DEVEL
OS: Microsoft Windows XP Professional Service Pack 3 (build 2600)
CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-50, 512 MiB RAM
Video adapter info:
Adapter type: VMware SVGA II
Chip Type: VMware SVGA II
BIOS String: VMware SVGA II
Video Memory: 131072 KB
[12 Aug 2010 10:35] Susanne Ebrecht
What is your screen size?
[13 Aug 2010 5:55] Dragon Chuang
Windows 7 : 1280x800
Windows XP : 800x600
[13 Aug 2010 15:16] MySQL Verification Team
error box

Attachment: bug55902.png (image/png, text), 62.21 KiB.

[13 Aug 2010 15:17] MySQL Verification Team
Verified on Vista Home Premium 64-bit (see prior picture attached). I couldn't repeat on Linux Fedora 13 X86_64.
[13 Aug 2010 21:46] Alfredo Kojima
fixed
[25 Aug 2010 17:59] Johannes Taxacher
patch confirmed in repository
[1 Sep 2010 12:57] Tony Bedford
An entry has been added to the 5.2.27 changelog:

If the sidebar was placed on the right hand side, using the option in Workbench Preferences, then when Add Diagram was double-clicked then the following Unexpected Error was generated:

SplitterDistance value is invalid (-52)