Opened 9 years ago

Closed 8 years ago

#7291 closed bug (fixed)

Volume replicant's text doesn't change with workspace color

Reported by: MichaelPeppers Owned by: stippi
Priority: normal Milestone: R1
Component: User Interface Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

hrev40596, a minor annoyance; when I changed the background color of my first workspace to white, the text of the Volume desktop replicant stayed white, becoming completely invisible.

Its color, though, changed to black after a restart, to match the white background, but isn't changed dinamically with the change of workspace, and now the text is invisible on my second workspace, that is black.

The names of files and folders of the Desktop, instead, show what should be the right behavior.

Attachments (1)

Desktop.jpg (69.5 KB ) - added by MichaelPeppers 9 years ago.
Screenshot of the problem on a workspace with the default background color.

Download all attachments as: .zip

Change History (3)

by MichaelPeppers, 9 years ago

Attachment: Desktop.jpg added

Screenshot of the problem on a workspace with the default background color.

comment:1 by stippi, 9 years ago

To note for anyone wanting to work on this ticket: In BControlLook, there are methods to draw a label within a rectangle. Besides aligning the label in various ways, it also takes care of using a color that is visible against the background. A few controls use the new methods, I think BButton and maybe BTextControl, but most other controls don't. BSlider in particular does some fancy calculations of label placement of its own, but it doesn't consider the background color.

comment:2 by stpere, 8 years ago

Resolution: fixed
Status: newclosed

Should be fixed in hrev43773.

Note: See TracTickets for help on using tickets.