Bug #51321 Diagram flickering in the EER Diagram
Submitted: 19 Feb 2010 12:17 Modified: 8 Jun 2011 13:51
Reporter: Leif Inge Sandberg Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:5.2.15 OSS Beta OS:Any
Assigned to: Johannes Taxacher CPU Architecture:Any

[19 Feb 2010 12:17] Leif Inge Sandberg
Description:
In some - not all - of my diagrams, when I move the mouse over the table header or over a link, the whole diagram flickers violently. I can sometimes see a glimpse of the MySQL Model pane during the flickering. This has been pretty annoying, as I now and then have to move the tables around to make space for other tables and more columns.

Today I found a workaround: From the EER diagram layout, select menu Model/Diagram Properties and Size, and increase the width by 1. At least it worked on my two problematic diagrams.

This bug might be related to Bug #44553 and/or Bug #44535.

How to repeat:
Make a model with several tables and put them on an EER diagram that has size 1x1. Lay the tables out so that they fill the available horizontal space. Maybe the number of tables is significant, and also the height, I don't know. I've got different degrees of flickering for different diagrams.

Suggested fix:
Do not update the screen to show the MySQL Model tab when the mouse passes a link or a table header, no matter how filled the diagram layout is.
[21 Feb 2010 18:54] Valeriy Kravchuk
Thank you for the problem report. Please, send the results from Help > System Info menu item.
[22 Feb 2010 7:38] Leif Inge Sandberg
MySQL Workbench OSS for Windows version 5.2.15
Cairo Version: 1.8.8
Rendering Mode: GDI requested (create a diagram to confirm)
OpenGL Driver Version: Not Detected
OS: Microsoft Windows Vista Business Edition Service Pack 2 (build 6002), 32-bit
CPU: 4x Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz, 3.3 GiB RAM
Video adapter info:
Adapter type: NVIDIA Quadro NVS 290
Chip Type: Quadro NVS 290
BIOS String: Version 60.86.57.0.15
Video Memory: 262144 KB
[22 Feb 2010 8:55] Leif Inge Sandberg
I guess it's the same thing that happens when you click the EER tabs; Workbench first shows the MySQL Model tab, then the tab you click. It should go directly to the clicked tab and not show the MySQL Model tab at all until you click it.

Note: It seems to be on and off, this MySQL Model thing; I believe I've seen it before, but I don't see it in 5.2.15 now, while it's always like that in my 5.2.16 installation.
[23 Feb 2010 20:06] Leif Inge Sandberg
When exporting the SQL CREATE script, just before the resulting script is shown on the "Review Generated Script" page, Workbench shows the MySQL Model tab-page, then goes back to the selected tab-page, then shows the resulting script. I believe this is the same mechanism that causes the flickering.

A follow-up to the previous post; I think the 5.2.15 also has this "show MySQL model tab-page before switching to the tab-page you selected" thing; it sometimes is too fast to see it.
[13 Mar 2010 17:48] Kelly Shipp
I'm experiencing the same thing. VERY frustrating to see the constant flickering of the window when dragging a table in the EER Diagram window.

Leif - thanks for the tips on how to temporarily solve this bug.
[3 May 2010 19:13] Beriah Dutcher
I have the same issue ...

I believe this is only happening when you zoom out far enough to see the edges of the page. If I zoom in close enough to the diagram where I cannot see a page edge, there is no flashing.

I also cannot see the edges of the page either no matter what zoom level, page layout, or size.

Here are my System Specs

Operating System
MS Windows 7 64-bit
CPU
Intel Mobile Core 2 Duo T7300  @ 2.00GHz
Merom 65nm Technology
RAM
3.0GB Dual-Channel DDR2 @ 332MHz  5-5-5-15
Motherboard
Dell Inc. (Microprocessor)
Graphics
DELL 2007WFP @ 1680x1050
DELL 2007WFP @ 1680x1050
128MB Quadro NVS 135M (Dell)
Hard Drives
78.15GB Hitachi Hitachi HTS541680J9SA00 ATA Device (IDE)
[23 Jun 2010 12:03] Susanne Ebrecht
Please try if you still have this problem by using actual version Workbench 5.2.24 RC.
[2 Jul 2010 12:59] Leif Inge Sandberg
Using Wb 5.2.24 RC the flickering seems to be gone when I move the mouse over the tables and links. However, when clicking through my diagram tabs, Workbench still insists on showing the Model page before showing the page I actually clicked. Is that a totally unrelated issue?
[10 Aug 2010 8:48] Susanne Ebrecht
Hello Leif, 

sorry for the delay.

I am not really able to follow your last comment.

> when clicking through my diagram tabs, Workbench still
> insists on showing the Model page before showing the page
> I actually clicked. Is that a totally unrelated issue?

Do you maybe have a screenshot for me that allows me to follow you?

Also we published Workbench 5.2.26 a few days ago. Would be nice, when you could test if this issue you describe above still exist in there.
[24 Aug 2010 14:08] Leif Inge Sandberg
Version 5.2.26 behaves the same; it shows the "MySQL Model" tab several times when it's not necessary. My model has around 50 tables and 7 diagrams. When opening the model, Wb first shows the MySQL Model tab, then my first diagram, then the MySQL Model tab again, then my second diagram, then the MySQL Model tab again and so on until it finally shows diagram number 7.

When I click on the tabs for diagram 1, 2, 3 etc, Wb first shows the MySQL Model tab, then switches to the diagram I clicked. I guess this is a reason for a lot of the flickering, and hope we can get rid of this "On Mouse Click show the MySQL Model tab first, then do the requested task" behaviour.
[6 Jun 2011 18:03] Armando Lopez Valencia
Hello.
The new WB version 5.2.34 is out (http://dev.mysql.com/downloads/workbench/5.2.html).
Can you please try with this new version and let us know the outcome?
Thanks.
[7 Jun 2011 11:35] Leif Inge Sandberg
No change from version 5.2.33. The flickering when hovering over links I don't see any more, but when clicking through my EER diagram tabs, Workbench still shows the Model page before showing the page I actually clicked. It even happens for a model containing only two diagrams; I view diagram 1, then I click the tab for diagram 2, and Workbench first shows the Model Overview page before showing diagram 2.
[8 Jun 2011 13:51] Armando Lopez Valencia
Thats good to know Leif.
Would you mind to open a separate defect for the remaining problem?
Thank you very much for your report.

Defect closed, fixed in previous version.