Bug #56525 "Select Objects to Forward Engineering" shows incorrectly
Submitted: 3 Sep 2010 5:47 Modified: 5 Oct 2010 2:34
Reporter: Yen-Wei Liu Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S2 (Serious)
Version:5.2.24-5.2.27 OS:Windows (SP3 Traditional Chinese version)
Assigned to: CPU Architecture:Any

[3 Sep 2010 5:47] Yen-Wei Liu
Description:
I think at least in 5.2.23, this diagram shows correctly. After 5.2.24, it became this way. I have waited for several versions and it is still here. And I don't see any related entries in Changelogs. So I make a bug report here.

How to repeat:
Select Forward Engineering and select "Drop objects before each create object" and "Omit schema Qualifier in Object Names" options only. Then the next dialog becomes kind of garbled.  Several objects are gone.

Please see the attached images for version comparison.
[3 Sep 2010 5:47] Yen-Wei Liu
The correct diagram as in 5.2.23.

Attachment: 5.2.23.PNG (image/png, text), 134.71 KiB.

[3 Sep 2010 5:48] Yen-Wei Liu
The weird result in 5.2.27.

Attachment: 5.2.27.png (image/png, text), 139.86 KiB.

[3 Sep 2010 5:49] Yen-Wei Liu
If you need my model file to reproduce please let me know.
[3 Sep 2010 6:10] Valeriy Kravchuk
Please, upload problematic .mwb file. I do not see this problem with my .mwb files on XP SP3 (English one though).
[3 Sep 2010 6:19] Yen-Wei Liu
Sorry. The correct version should be 5.2.22.  I think 5.2.23 was never released to the public.
[3 Sep 2010 6:57] Valeriy Kravchuk
I do not see the problem with your .mwb file also. Please, send the results of Help > System Info menu item.
[3 Sep 2010 9:19] Yen-Wei Liu
I have tried this model further more  with 5.2.27 on several different OSes:

Windows Server 2008 Standard SP2 (Traditional Chinese version) : Shows correctly
Windows 7 (Traditional Chinese version under VirtualBox) : Shows correctly
Another Windows XP (Traditional Chinese version under VirtualBox) : Though shows incorrectly, but more objects are shown.

Here is the system info :

----
MySQL Workbench CE for Windows version 5.2.27

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: 3.3.9836 Compatibility Profile Context

OS: Microsoft Windows XP Professional Service Pack 3 (build 2600)

CPU: 2x Intel(R) Pentium(R) 4 CPU 3.00GHz, 2.0 GiB RAM

Video adapter info:

Adapter type: ATI Radeon HD 3400 Series 

Chip Type: ATI Radeon Graphics Processor (0x95C5)

BIOS String: 113-AB37400-104

Video Memory: 524288 KB

MySQL Workbench CE for Windows version 5.2.27

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: 3.3.9836 Compatibility Profile Context

OS: Microsoft Windows XP Professional Service Pack 3 (build 2600)

CPU: 2x Intel(R) Pentium(R) 4 CPU 3.00GHz, 2.0 GiB RAM

Video adapter info:

Adapter type: ATI Radeon HD 3400 Series 

Chip Type: ATI Radeon Graphics Processor (0x95C5)

BIOS String: 113-AB37400-104

Video Memory: 524288 KB

---
Another XP virtual machine :

---
MySQL Workbench CE for Windows version 5.2.27

Data Directory: C:\MySQL Workbench 5.2.27 CE

Cairo Version: 1.8.8

Rendering Mode: OpenGL is not available on this system, so GDI is used for rendering.

OS: Microsoft Windows XP Professional Service Pack 3 (build 2600)

CPU: AMD Athlon(tm) II X2 240 Processor, 384 MiB RAM

Video adapter info:

Adapter type: VirtualBox Graphics Adapter

Chip Type: VBOX

BIOS String: Version 0xB0C2 or later

Video Memory: 65536 KB

MySQL Workbench CE for Windows version 5.2.27

Data Directory: C:\MySQL Workbench 5.2.27 CE

Cairo Version: 1.8.8

Rendering Mode: OpenGL is not available on this system, so GDI is used for rendering.

OS: Microsoft Windows XP Professional Service Pack 3 (build 2600)

CPU: AMD Athlon(tm) II X2 240 Processor, 384 MiB RAM

Video adapter info:

Adapter type: VirtualBox Graphics Adapter

Chip Type: VBOX

BIOS String: Version 0xB0C2 or later

Video Memory: 65536 KB
---

My wild guess is for some reason, WB fails to calculate the correct size of the windows on non-English versions of XP so objects are not fully shown. Maybe something changed between 5.2.22 and 5.2.4 contributed to this.
[3 Sep 2010 9:20] Yen-Wei Liu
The other partially-displayed objects on a different XP "machine"

Attachment: 5.2.27-1.PNG (image/png, text), 143.28 KiB.

[6 Sep 2010 13:39] MySQL Verification Team
I couldn't repeat on Linux too probably OS specific language version.
[5 Oct 2010 2:34] Yen-Wei Liu
For some unknown or miraculous reason, this problem is gone in 5.2.28. It works correctly now!!

I have checked out the version history, but saw no related changes. Maybe this is just a good side-effect of other bug fixes ? 

Anyway, I decide to close this bug , for whatever its reason is.