Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#927 closed defect (fixed)

label model color not used

Reported by: Eric Pettersen Owned by: Tom Goddard
Priority: blocker Milestone: 0.5
Component: Graphics Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

In the model panel, the label model color isn't initialized to anything useful, and if changed it doesn't change the color of the child drawings

Change History (3)

comment:1 by Tom Goddard, 8 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

If a new label is added after changing the parent model label, the new label still gets the default color (white or black) depending no the background color. Seems like maybe it should get the parent label model color if it has been set, but the parent model can't have color "None" to get the auto-color mode based on background and that poses a problem. Also it would be a bit convoluted that the label color when using the label command can't be predicted if you don't specify the color option since the label model parent might have its color set. So I'm ignoring this problem for now.

comment:2 by Tom Goddard, 8 years ago

Let's try that last comment again with fewer typos:

If a new label is added after changing the parent model color, the new label still gets the default color (white or black) depending on the background color. Seems like maybe it should get the parent label model color if it has been set, but the parent model can't have color "None" to get the auto-color mode based on background and that poses a problem. Also it would be a bit convoluted that the label color when using the label command can't be predicted if you don't specify the color option since the label model parent might have its color set. So I'm ignoring this problem for now.

comment:3 by Eric Pettersen, 8 years ago

Milestone: Beta Release0.5

Milestone renamed

Note: See TracTickets for help on using tickets.