Bug #60708 Toggle Grid in Workbench 5.2.33 does not work in Ubuntu 10.04
Submitted: 31 Mar 2011 15:14 Modified: 1 Apr 2011 20:39
Reporter: Sylvia Si Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:MySQL Workbench 5.2.33 OS:Linux (Ubuntu 10.04)
Assigned to: CPU Architecture:Any

[31 Mar 2011 15:14] Sylvia Si
Description:
Toggle Grid in Workbench 5.2.33 does not work in Ubuntu 10.04

When an EER diagram canvas is selected, No grid is displayed on canvas.

click "toggle grid" icon repeatedly does not enable/disable grid. 
Same with the View->Toggle Grid, does not enable/disable grid. No grid whatsoever.

"Align Objects to Grid" does not work either, because there is no grid to align to.

How to repeat:
In Ubuntu 10.04, open an EER diagram canvas, No grid is displayed on canvas.

click "toggle grid" icon does not make a difference. 

Suggested fix:
Make the "Toggle Grid" icon and command work for ubuntu 10.04.
Make the ""Align Objects to Grid"" icon and command work for ubuntu 10.04.
[31 Mar 2011 15:27] MySQL Verification Team
I couldn't repeat on Linux Mint 10 KDE X86_64.
[31 Mar 2011 15:59] Sylvia Si
MySQL Workbench was installed through Ubuntu Synaptic Manager.
Installed version: 5.2.33-1ubu1004

Miguel Solorzano, is there anyway that you can try it on a Ubuntu machine? All other machines I have are running Windows. I do have VirtualBox Ubuntu in one of my Windows machines, which is running 10.04 as well. I can give it a try to see if it will repeat in Ubuntu VirtualBox.
[1 Apr 2011 7:02] Valeriy Kravchuk
I tried on Ubuntu 10.04 VM, and toggle grid works for me. Please, send the output of Help > System Info.
[1 Apr 2011 12:17] Sylvia Si
Workbench Help->System Info:

MySQL Workbench CE for Linux/Unix version 5.2.33
Configuration Directory: /home/sylvia/.mysql/workbench
Data Directory: /usr/share/mysql-workbench
Cairo Version: 1.8.10
Rendering Mode: OpenGL is not available on this system, so Native is used for rendering.
OS: Linux 2.6.32-30-generic
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz 2394.413 MHz, 2.0 GB RAM
[1 Apr 2011 20:39] Sylvia Si
As promised, I freshly installed Workbench 5.2.33 to my Ubuntu 10.04 VirtualBox with Windows XP SP3 host.

Could not repeat the "missing grid" problem on Ubuntu 10.04 VM!

So it is a bug related to the computer running Ubuntu 10.04 itself. After more testing, it appeared to be the grid does exit but invisible. Switched 3 monitors to see if it is the monitor setting. No, still no grid. So it narrowed down to be a Ubuntu 10.04 bug related to the video card/ display.

After much search in Ubuntu bugs, the BUG is located. BUG #548709 - Ubuntu Lucid Lynx radeon driver has a bug, which causes gamma/contrast/brightness settings to be messed up. 

In my case, the grid becomes invisible!

For anyone who is still with me and happened to have the same problem, here is the link to the bug:
https://bugs.launchpad.net/ubuntu/lucid/+source/linux/+bug/548709

My Solution: It is simple. Since the bug affects VGA analog display, so I just asked for a DVI from our hardware guy. And ...

PROBLEM FIXED! :)