Bug #43557 black boxes appear in the EER Diagram when I hover over certain relationships
Submitted: 11 Mar 2009 9:54 Modified: 11 Aug 2009 9:50
Reporter: Philip Burgess Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S5 (Performance)
Version:5.0.30 OS:Windows (XP SP3)
Assigned to: CPU Architecture:Any
Tags: CHECKED

[11 Mar 2009 9:54] Philip Burgess
Description:
When I upgraded from 5.0.26 to 5.0.30 I started noticing that black boxes would occasionally appear in the Diagram view. Eventually I was able to track it down that when I would hover over or cross certain relationship lines a certain black box would appear. Different relationship lines generate different black boxes, however the majority of relationship lines don't generate any black boxes. The black box is behind table elements, so you can still see the table names, however it covers any relationship lines (except a relationship line that is highlighted, red, or selected, green). Hovering over or crossing different relationship lines will restore the proper background. I reverted back to 5.0.26 and this problem went away. Reinstalled 5.0.30, and the problem came back again. The boxes remain if I scroll the window, however they disappear if the screen is redrawn, ie. if I resize or minimize and restore the window or toggle away and come back. 

I'm not sure whether this should be considered a separate issue, but there is something similar when I have WB open and then have another program open in a window above it. When I toggle back to WB the area behind where the other program was displayed has a black background (again the table names are still displayed as well as any highlighted or selected relationship lines). I haven't yet tested this with 5.0.26. 

Interestingly, this only affects the first page of the diagram (my main diagram is two pages wide). I have yet to see a black box appear on the second page- a box will always end at the vertical line indicating the page break. Also a black box does not appear in the first 140 pixels (approximately) on the left side of the first page.

How to repeat:
It is easily repeatable on my computer. I know exactly which relationship lines cause which boxes, and which relationship lines restore the proper background. I don't have another computer with WB installed to test it on a different computer. It seems to be such a bizarre occurrence. I would need to take quite a bit of time to sanitize the project file if I was going to send it and I'm unsure whether the behavior would disappear in the process. Is it perhaps related to the size of the project (currently 74 tables) or can the project file somehow have been corrupted to cause this?
[11 Mar 2009 11:49] MySQL Verification Team
Thank you for the bug report. Could you please provide a model project file which presents the behavior reported at your side?. Thanks in advance.
[16 Mar 2009 14:15] Philip Burgess
I've been busy with my project and haven't had much time to try and play around with things to reduce the project to the minimal that is necessary to cause the problems, so I'm just sending it as is. If you look at the EER Overall diagram and hover over the relationship line between tblOrganization and tblLocation (about half-way down) there is a black box that appears. Or if you hover over the relationship line between tblResourceTitle and tblLanguageName there is another black box that appears. The black boxes no longer appear limited to the first page.

I hope it helps,

Philip
[16 Mar 2009 15:01] Susanne Ebrecht
Verified as described by given example in overview eer.
[11 Aug 2009 9:50] Johannes Taxacher
this issue is not showing up for version 5.1 due to numerous changes in the canvas.
please update to 5.1.16