Bug #57715 Can't change color of table title in EER diagram
Submitted: 25 Oct 2010 16:03 Modified: 4 Dec 2010 16:25
Reporter: Bill Sutton Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S1 (Critical)
Version:5.2.29 OS:MacOS (Snow Leopard on MacBookPro)
Assigned to: CPU Architecture:Any

[25 Oct 2010 16:03] Bill Sutton
Description:
This bug is tangential to http://bugs.mysql.com/bug.php?id=57428.

Not only are the title displaying as black on a black background, I am unable to change the color of the background in the properties panel. It won't allow any input. So in effect the titles can't appear at all, since you can't even do the tedious workaround of changing the color of every table.

This appears to be related to Reverse Engineering. If I create a table from scratch, the backgrounds appear blue, and the color property can be set using the usual Mac color-picker.

Another forum user confirmed they were having the same problem in the forums.

Thanks.

How to repeat:
Create an EER diagram by reverse engineering an existing schema.

Suggested fix:
Make the default table background color for reverse-engineered EERs a lighter color than the title.

AND

Make sure the color-picker is being called correctly in the properties panel.
[27 Oct 2010 18:14] Tim Pistoor
Hi all,

Im Tim and using MySQLWorkBench for the first time. I also have the problem with table background color and title color. Both are black and i cant change the background color or title color in properties. I can change the whole list of properties only the colorpicker aint working. Could someone help me with this?

greetz,
Tim
[28 Oct 2010 15:06] Alfredo Kojima
Did you double click the color text/colored rectangle? It should show a color panel where you can pick the color.
[1 Nov 2010 4:00] Greg Knowles
I can confirm this bug.  Exact same scenario.  
I've tried every workaround I can think of, please fix this!!
[10 Nov 2010 11:15] Leon de Almeida
I have the exact same issue on a MacBook (Snow Leopard as well).

I have created a Python script to force the color change for the tables on an EER Diagram. Use it on the scripting shell for MySQL Workbench - this might be useful to people until a true fix is committed.

# MySQL Workbench Python script
# Forces change of color for all tables in an EER Diagram
# Written in MySQL Workbench 5.2.29

import grt
diagram = grt.root.wb.doc.physicalModels[0].diagrams[0]
for figure in diagram.figures:
    figure.color = "lightblue" #change the color here to whatever you use. string type
[16 Nov 2010 4:47] William Denniss
I can confirm this bug on Mac OS X Snow Leopard.

Tried with 5.2.29 and 5.2.25.

Thanks for the python script workaround, works a treat.  Another fix is apparently to delete and then drag the tables again from the "Catalog" (see: http://forums.mysql.com/read.php?152,391602,391602)
[16 Nov 2010 23:25] George Tarantilis
Same here. Mac OSX 10.6 - Black font on black background for table names.

Thanks for the python script...
[4 Dec 2010 12:32] Valeriy Kravchuk
I see that bug #57428 is closed since 5.2.30. So, please, check if this version solves the problem for you.
[4 Dec 2010 16:25] Bill Sutton
Version 5.2.30 fixed this bug. 

THANKS EVERYONE!
[20 Jan 2011 15:23] lionel publicorp
I Have v5.2.31 (rev 7115) and my titles are black on black, I can't change color in the tab properties.

I'm running Snow Leopard 10.6.6
[7 Oct 2011 14:53] Hamilton Lima
after importing the tables check the XML for the diagram 
and found that the color tags are all empty like this.

<value type="string" key="color"></value>

this should be the root cause of not rendering the title name
and not allowing to change the title name color.
[10 Oct 2011 20:01] Leon de Almeida
Issue has been fixed since 4 Dec 2010. Upgrade to the latest version and you'll get it working properly.