Evolution Calendar sets wrong foreground colour for calendar items
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evolution |
Fix Released
|
Medium
|
|||
evolution (Ubuntu) |
Fix Released
|
Low
|
Chow Loong Jin |
Bug Description
Binary package hint: evolution
When using certain themes, such as dark themes, where the selected text
foreground colour is lighter than the normal text foreground colour, Evolution
Calendar sets a dark foreground colour for calendar items which have a dark
background, and a light foreground colour for calendar items which have a light
background. An example of a theme where this happens is Slickness-Black, foudn
here: http://
Also, when certain themes have the same foreground colour for both selected and
normal text, Evolution sets the same colour for both dark-background calendar
items and light-background calendar items. An example of one such theme is the
Human theme used by Ubuntu.
Based on this observation, it would seem that Evolution's foreground colour
logic is based on the assumption that the normal text foreground colour is
dark, whereas the selected text foreground colour is light.
TEST CASE:
1. Use a theme that fits either of the above criteria.
2. Pick an existing calendar, and change the background colour of the said calendar, component "Value" to 100. Anything above 70 will do.
3. Go to the next month/week/day, and then back (to make the foreground colour refresh).
4. Observe that, in the case of a dark theme, the foreground will now be a light colour, and that the text is now pretty unreadable.
5. Repeat steps 2 to 3 with value 10. Observe that the foreground will now be a dark colour eventhough the background is dark, so the text is now pretty unreadable as well.
6. Repeat steps 1-5 with the Human theme, and notice that the foreground colour stays the same throughout.
Related branches
Changed in evolution: | |
assignee: | nobody → hyperair |
status: | New → In Progress |
Changed in evolution: | |
status: | Unknown → Fix Released |
Changed in evolution: | |
importance: | Unknown → Medium |
thanks for the bug and your work on it, the patch was committed upstream, marking this as fix committed, thanks.