Bug #60239 Model Diagram in Windows 7 doesn't draw
Submitted: 24 Feb 2011 17:45 Modified: 24 Feb 2011 19:31
Reporter: Gerasimos Deftereos Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S1 (Critical)
Version:5.2.31 CE OS:Windows (windows 7 ultimate running on AMD CPU)
Assigned to: CPU Architecture:Any
Tags: Model Diagram

[24 Feb 2011 17:45] Gerasimos Deftereos
Description:
After creating/opening a model the diagram panel does not show any of the objects and it is fill all with a gray color. If you focus on another window and then come back to the model diagram then the diagram panel does not paint itself and it's area displays the previous window. In general it seems that the diagram panel does not paint itself. 
Meanwhile in the Bird's Eye panel you can see the several objects belonging to the diagram.
Installing the MySQLWorkbench (from the same installation file) on another PC running same version of windows but with an Intel CPU the model diagram panel paints the diagram with no problem.

How to repeat:
Install the MySQLWorkbench 5.2.31 CE on a windows 7 ultimate with an AMD CPU and try to open a model
[24 Feb 2011 17:58] Valeriy Kravchuk
Please, send the output of Help > System Info menu item.
[24 Feb 2011 18:50] Gerasimos Deftereos
After comparing the output of the Help > System Info menu on the two PC's (the intel pc and the amd pc) I realized that the pc with the AMD cpu had an older OpenGL driver. I performed an update of my nvidia graphics card driver (which is using a newer OpenGL driver) and the problem was solved!
[24 Feb 2011 18:53] Gerasimos Deftereos
I'm sorry but I didn't think to keep the output of the Help > System Info menu prior to perform the update on the graphics card adapter driver.
The new output is

Help > System Info menu 
MySQL Workbench CE for Windows version 5.2.31

Configuration Directory: C:\Users\makis\AppData\Roaming\MySQL\Workbench

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.0

OS: Microsoft Windows 7 Ultimate Edition (build 7600), 32-bit

CPU: 4x AMD Athlon(tm) II X4 635 Processor, 3.3 GiB RAM

Active video adapter: NVIDIA GeForce 9400 GT

Installed video RAM: 512 MB

Current video mode: 1920 x 1080 x 4294967296 colors

Used bit depth: 32

Driver version: 8.17.12.6658

Installed display drivers: nvd3dum.dll,nvwgf2um.dll,nvwgf2um.dll

Current user language: English (United States)
[24 Feb 2011 19:12] Valeriy Kravchuk
OK, so this problem was a result of outdated OpenGL driver, not a bug in Workbench code.
[24 Feb 2011 19:31] Gerasimos Deftereos
It would be nice though to check if the OpenGL driver is outdated and present an appropriate message. In such way users would avoid spending a lot of time trying to figure out what is wrong.