Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 90194 - [rulers] Color created for temporary annotations in overview ruler might get washed out
Summary: [rulers] Color created for temporary annotations in overview ruler might get ...
Status: RESOLVED DUPLICATE of bug 69053
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 93342 149854 150137 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-04 14:17 EDT by Nick Edgar CLA
Modified: 2007-06-25 06:06 EDT (History)
3 users (show)

See Also:


Attachments
Screens shot (99.69 KB, image/jpeg)
2005-04-05 10:44 EDT, Nick Edgar CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Edgar CLA 2005-04-04 14:17:40 EDT
3.1 M6

- selected the (General > Editors > Text Editors > Annotations) pref page
- changed the color for Occurrences to a light pink 
- when occurrences are highlighted, the light pink is used in the main text
area, but the default yellow colour is still used in the overview ruler

Expectation: use the same colour in both the main text area and the ruler.
Comment 1 Nick Edgar CLA 2005-04-04 14:18:32 EDT
Note: the reason I changed the colour was to get a better distinction between
occurrences and warnings in the overview ruler.
Might be good to pick a more distinct default colour here.
Comment 2 Dani Megert CLA 2005-04-05 05:52:18 EDT
This works fine for me (or I might use a wrong scenario). Might it be possible
that your code has warnings? Warnings have precedence over occurrences.
Comment 3 Nick Edgar CLA 2005-04-05 10:41:59 EDT
Playing around with it some more, it does show the colour in the ruler if it's a
highly saturated colour, but if not the colour gets lost.
Comment 4 Nick Edgar CLA 2005-04-05 10:44:25 EDT
Created attachment 19540 [details]
Screens shot

This shows how the colour in the ruler indicator gets washed out.  The light
pink has HSV values of 200/240/226.

In my scenario, I want the occurrences to be a light colour, but distinct from
the warning yellow.
Comment 5 Dani Megert CLA 2005-04-06 03:43:07 EDT
>This shows how the colour in the ruler indicator gets washed out.
In the overview ruler we increase the lightness if the annotation is created out
of the current editor content (instead of e.g. a marker which is based on the
file content).
Comment 6 Dani Megert CLA 2005-05-02 11:08:25 EDT
*** Bug 93342 has been marked as a duplicate of this bug. ***
Comment 7 Dani Megert CLA 2006-07-07 07:02:31 EDT
*** Bug 149854 has been marked as a duplicate of this bug. ***
Comment 8 Dani Megert CLA 2006-07-10 11:49:59 EDT
*** Bug 150137 has been marked as a duplicate of this bug. ***
Comment 9 Aaron Digulla CLA 2006-11-08 10:03:15 EST
I can't see much of an effect when I change the color for warnings.

I guess the color which I can select is modified somehow before it is used. You
can see this for yourself when you set the color to black. Only the rectangle
at the top of the overview bar is now black; the icons in the vertical ruler
are unaffected, the squiggles are grey, as are the warning boxes.

I suggest that you take the selected color literally for the squiggles and the
inside of the marks on the right. The outline of the marks should then be
computed to be a darker hue of the inner color.
Comment 10 Dani Megert CLA 2007-06-25 06:06:54 EDT

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