Bug 460623 - context coloring makes items unreadable on a dark background
Summary: context coloring makes items unreadable on a dark background
Status: RESOLVED DUPLICATE of bug 321336
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-23 13:04 EST by Fabio Zadrozny CLA
Modified: 2015-07-06 13:51 EDT (History)
1 user (show)

See Also:


Attachments
Image with problem on dark background (15.98 KB, image/png)
2015-02-23 13:04 EST, Fabio Zadrozny CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Zadrozny CLA 2015-02-23 13:04:03 EST
Created attachment 251032 [details]
Image with problem on dark background

Right now it's not really possible to use Mylyn on dark backgrounds, as items in the tree end up being unreadable.

I'm attaching a picture where this happens... you can see that the folders have names with a very dark text when it should be brighter and there are names which become virtually unreadable because the color being used matches the background color.

So, this request is to either make the colors used in the tree configurable (or the color range at least) or provide a better heuristic for discovering colors so that the text is always readable no matter which theme is being used.
Comment 1 Sam Davis CLA 2015-02-23 13:41:57 EST
Thanks for reporting this. This related to bug 438817. The suggested workaround is to not use a dark theme.
Comment 2 Fabio Zadrozny CLA 2015-02-23 14:26:03 EST
Well, I don't really consider that a workaround (if I have to choose I'll stay with the dark theme and drop Mylyn)...
Comment 3 Sam Davis CLA 2015-02-24 13:03:18 EST
Fair enough. Another workaround is to disable the task context decorator in Window > Preferences > Label Decorations.
Comment 4 Fabio Zadrozny CLA 2015-02-24 13:24:23 EST
That does indeed seem much better. Thanks :)

p.s.: It'd still be nice to configure those colors...
Comment 5 Lars Vogel CLA 2015-05-06 06:28:50 EDT
(In reply to Sam Davis from comment #3)
> Fair enough. Another workaround is to disable the task context decorator in
> Window > Preferences > Label Decorations.

You can contribute preference settings via Mylyn to the dark theme to do this automatically. If you are interested in doing this, let me know, I can explain you how to do it.
Comment 6 Sam Davis CLA 2015-07-06 13:51:47 EDT
Thanks Lars. Would that be something we'd need to do separate for each theme that has this problem? Would it be better to have the decorator discover the background colour from the theme and choose a colour based on that?

*** This bug has been marked as a duplicate of bug 321336 ***