Bug 466511 - [Graphics] Replace view dropdown menu custom drawing with png icons
Summary: [Graphics] Replace view dropdown menu custom drawing with png icons
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.12 M3   Edit
Assignee: Matthias Becker CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 430166 (view as bug list)
Depends on: 495033
Blocks: 430166 501491
  Show dependency tree
 
Reported: 2015-05-06 01:41 EDT by Lars Vogel CLA
Modified: 2019-04-24 08:55 EDT (History)
13 users (show)

See Also:


Attachments
Screenshot of icon on Windows 10 (100.20 KB, image/png)
2018-03-27 10:17 EDT, Lars Vogel CLA
no flags Details
old (top) and new png version (bottom) in comparison (8.32 KB, image/png)
2018-03-28 03:46 EDT, Matthias Becker CLA
no flags Details
with fill and with transparency in light and dark theme (15.90 KB, image/png)
2018-03-28 07:32 EDT, Matthias Becker CLA
no flags Details
Old (top) and New (bottom) on low-res monitor (2.65 KB, image/png)
2018-03-28 10:44 EDT, Matthias Becker CLA
no flags Details
Now with white border (5.51 KB, image/png)
2018-04-04 06:27 EDT, Matthias Becker CLA
no flags Details
Screenshot of change 120279/6 on Windows 7 (2.41 KB, image/png)
2018-04-04 11:58 EDT, Dani Megert CLA
no flags Details
Screenshot showing old and new view menu (14.58 KB, image/png)
2018-08-23 08:36 EDT, Matthias Becker CLA
no flags Details
old (upper) and new (lower) (8.79 KB, image/png)
2018-08-24 01:54 EDT, Matthias Becker CLA
no flags Details
grey icons in light theme high res display (640.40 KB, image/png)
2019-04-11 04:14 EDT, Matthias Becker CLA
no flags Details
grey icons in dark theme high res display (681.13 KB, image/png)
2019-04-11 04:15 EDT, Matthias Becker CLA
no flags Details
grey icons in light theme normal res display (208.15 KB, image/png)
2019-04-11 04:15 EDT, Matthias Becker CLA
no flags Details
grey icons in dark theme normal res display (221.87 KB, image/png)
2019-04-11 04:16 EDT, Matthias Becker CLA
no flags Details
Screenshot - old dark view menu under Ubuntu (55.30 KB, image/png)
2019-04-11 11:54 EDT, Lars Vogel CLA
no flags Details
Screenshot - new dark view menu under Ubuntu (46.51 KB, image/png)
2019-04-11 11:54 EDT, Lars Vogel CLA
no flags Details
Windows 7 Light (2.26 KB, image/png)
2019-04-12 08:48 EDT, Dani Megert CLA
no flags Details
Windows 7 Dark (2.47 KB, image/png)
2019-04-12 08:51 EDT, Dani Megert CLA
no flags Details
Windows 7 Dark - old vs. new (3.72 KB, image/png)
2019-04-12 09:18 EDT, Dani Megert CLA
no flags Details
Light theme with Windows colors under Ubuntu (5.86 KB, image/png)
2019-04-16 03:37 EDT, Lars Vogel CLA
no flags Details
Dark theme with Windows colors under Ubuntu (6.49 KB, image/png)
2019-04-16 03:37 EDT, Lars Vogel CLA
no flags Details
Windows 7 Light On Windows 7 (2.38 KB, image/png)
2019-04-22 10:42 EDT, Dani Megert CLA
no flags Details
Windows 7 Dark (1.34 KB, image/png)
2019-04-22 10:56 EDT, Dani Megert CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2015-05-06 01:41:47 EDT
I suggest to replace the Minimize, Maximize and View Menu custom drawings with png icons. This should also help with the work of supporting high resolution displays, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=382972#c51
Comment 1 Patrik Suzzi CLA 2015-05-16 10:43:16 EDT
Png icons for Minimize, Maximize and View Menu are available in eclipse.platform.ui\bundles\org.eclipse.ui\icons\full\dlcl16

Could someone suggest a pattern to find custom drawings ?
Comment 2 Robert Roth CLA 2016-04-20 17:39:19 EDT
(In reply to Patrik Suzzi from comment #1)
> Png icons for Minimize, Maximize and View Menu are available in
> eclipse.platform.ui\bundles\org.eclipse.ui\icons\full\dlcl16
> 
> Could someone suggest a pattern to find custom drawings ?

I have found some custom drawing for part buttons in org.eclipse.platform.swt, CTabFolderRenderer class, drawMinimize, drawMaximize, drawChevron (I think this is the view menu).
Comment 3 Matthias Becker CLA 2016-09-09 08:56:18 EDT
What is meant with "custom drawings"?
Comment 4 Patrik Suzzi CLA 2016-09-09 09:36:30 EDT
(In reply to Matthias Becker from comment #3)
> What is meant with "custom drawings"?

Custom drawings are images drawn directly using the graphics object.
i.e. http://www.vogella.com/tutorials/SWTCustomWidget/article.html
Comment 5 Lars Vogel CLA 2016-09-13 09:41:52 EDT
(In reply to Matthias Becker from comment #3)
> What is meant with "custom drawings"?

The view menu is created in StackRenderer#getViewMenuImage. 

@Matthias, could you create a svg and png version of the view menu and replace the custom drawing in getViewMenuImage with the new png file?
Comment 6 Lars Vogel CLA 2016-09-13 09:42:49 EDT
*** Bug 430166 has been marked as a duplicate of this bug. ***
Comment 7 Lars Vogel CLA 2016-09-13 09:44:18 EDT
See Bug 495033 for minimize and maximize icons in CTabFolderRenderer in SWT.
Comment 8 Matthias Becker CLA 2016-09-15 08:19:57 EDT
What is the difference of this bug and bug 495033?
Comment 9 Lars Vogel CLA 2016-09-15 09:01:50 EDT
(In reply to Matthias Becker from comment #8)
> What is the difference of this bug and bug 495033?

Different repos. StackRenderer is part of Platform UI and CTabFolder is part of SWT. I prefer to have different bugs if work spreads over repos.
Comment 10 Thomas Schindl CLA 2016-09-15 09:28:31 EDT
If you replace those drawings with images. How can one change the color of those icons? Do you expose a css-property?
Comment 11 Patrik Suzzi CLA 2016-09-15 11:17:20 EDT
I can think of two options: 
1. We put images with a transparent BG, that look good for common Themes. 
2. We expose a new CSS-property for a customizable image.
Comment 12 Lars Vogel CLA 2016-09-15 11:25:48 EDT
(In reply to Thomas Schindl from comment #10)
> If you replace those drawings with images. How can one change the color of
> those icons? Do you expose a css-property?

Our default CSS engine currently does not allow to (In reply to Patrik Suzzi from comment #11)
> I can think of two options: 
> 1. We put images with a transparent BG, that look good for common Themes.

+1 

> 2. We expose a new CSS-property for a customizable image.

Replacing png icons via CSS is a big development item. IIRC Brian wrote a few years ago an alternative CSS engine.
Comment 13 Matthias Becker CLA 2016-09-16 02:23:13 EDT
> Replacing png icons via CSS is a big development item. IIRC Brian wrote a
> few years ago an alternative CSS engine.

But maybe this is not such a bad idea. Sometimes it is really hard to design an icon that looks good on light as well as on dark background. Such icons could be replaced when switching the theme. 

Just my 2 cents.
Comment 14 Lars Vogel CLA 2016-09-16 02:32:19 EDT
(In reply to Matthias Becker from comment #13)
 
> Such icons could be replaced when switching the theme. 

Completely agree, but that is a difference issue than the one in this bug. Can you check for existing bugs or open a new one and link it here?
Comment 15 Lars Vogel CLA 2016-10-31 12:12:38 EDT
Mass move to M4.
Comment 16 Thomas Schindl CLA 2016-11-30 03:23:55 EST
[...]

> > 2. We expose a new CSS-property for a customizable image.
> 
> Replacing png icons via CSS is a big development item. IIRC Brian wrote a
> few years ago an alternative CSS engine.

Not sure why that should be hard all i ask for is to have

ViewMenuClass {
  public void setImageUrl() { ... }
}

and then in css i do

.view-class {
   image-url: url(path/to/my/image);
}

I don't think we need a new CSS-Engine to make that work, right?
Comment 17 Lars Vogel CLA 2017-01-23 11:43:42 EST
Mass move. Please move to a concrete milestone if you plan to work on this item.
Comment 18 Lars Vogel CLA 2018-03-27 10:17:22 EDT
Created attachment 273318 [details]
Screenshot of icon on Windows 10

Btw, the existing icon is not centered. Not sure if that is intentionally but I find it super annoying. As you see in the screenshot there is more empty space to the left compare to the right.
Comment 19 Eclipse Genie CLA 2018-03-27 11:27:31 EDT
New Gerrit change created: https://git.eclipse.org/r/120279
Comment 20 Eclipse Genie CLA 2018-03-28 03:43:41 EDT
New Gerrit change created: https://git.eclipse.org/r/120329
Comment 21 Matthias Becker CLA 2018-03-28 03:46:03 EDT
Created attachment 273339 [details]
old (top) and new png version (bottom) in comparison

This shows how the view menu now looks like.
Old (directly drawn on gc) on top and new (high res png rendered out of svg) on the bottom.
You also see that I have centered the triangle.
Comment 22 Matthias Becker CLA 2018-03-28 03:50:51 EDT
(In reply to Matthias Becker from comment #21)
> Created attachment 273339 [details]
> old (top) and new png version (bottom) in comparison
> 
> This shows how the view menu now looks like.
> Old (directly drawn on gc) on top and new (high res png rendered out of svg)
> on the bottom.
> You also see that I have centered the triangle.

I see one issue with this approach.
In https://git.eclipse.org/r/#/c/120279/4/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java

you see that the stroke and fill color is system dependent. You also see this in the screenshots - on Windows 10 the lines are grey and on macOS they are black. We cannot do this with a PNG. The centering should also be feasible in the old version.
Couldn't we accomplish high resolution drawing on the GC so that this also is crisp?
Comment 23 Thomas Schindl CLA 2018-03-28 04:06:24 EDT
Yes you need a twice as big image, so in theory if you multiply everything with the DPIUtil-value you should get a crisp image on HiDPI ;-)
Comment 24 Lars Vogel CLA 2018-03-28 04:10:22 EDT
(In reply to Matthias Becker from comment #22) 
> you see that the stroke and fill color is system dependent. You also see
> this in the screenshots - on Windows 10 the lines are grey and on macOS they
> are black. We cannot do this with a PNG. The centering should also be
> feasible in the old version.

I can test the new image on Windows and Linux. All other images are also not system dependent, so if the new image look good on all platforms we should be good. Using png file will also make it simpler to have a good experience on dark and the light theme.
Comment 25 Matthias Becker CLA 2018-03-28 04:16:24 EDT
(In reply to Thomas Schindl from comment #23)
> Yes you need a twice as big image, so in theory if you multiply everything
> with the DPIUtil-value you should get a crisp image on HiDPI ;-)

How do you detect when to do this multiplication?
Comment 26 Thomas Schindl CLA 2018-03-28 04:20:19 EDT
there's an internal swt-class named DPIUtil but i would go with icons as lars said the they all map together
Comment 27 Matthias Becker CLA 2018-03-28 07:32:19 EDT
Created attachment 273344 [details]
with fill and with transparency in light and dark theme

I just played around with the stroke and fill colors.
I have the feeling that the grey stroke is too light (contrast with background is bad in both themes). I also think that the transparent fill is not a good idea.

What do you think?
Comment 28 Dani Megert CLA 2018-03-28 09:12:56 EDT
(In reply to Matthias Becker from comment #27)
> Created attachment 273344 [details]
> with fill and with transparency in light and dark theme
> 
> I just played around with the stroke and fill colors.
> I have the feeling that the grey stroke is too light (contrast with
> background is bad in both themes). I also think that the transparent fill is
> not a good idea.
> 
> What do you think?

It looks bad.

First, the min/max icons are too "strong" and the view menu uses different colors. So, please do what this bug is about: replace the custom drawing with icons and not invent new icons ;-). That would be a different bug/topic.
Comment 29 Matthias Becker CLA 2018-03-28 09:33:26 EDT
(In reply to Dani Megert from comment #28)
> First, the min/max icons are too "strong" and the view menu uses different
> colors. 
Yes. It is not my intension to keep it like that. I just wanted to show the difference on one icon.
>So, please do what this bug is about: replace the custom drawing
> with icons and not invent new icons ;-). That would be a different bug/topic.
The only reason for playing around with the colors is that on windows the lines seem to be gray and on mac they are black (see Lars' screenshot). So they will change anyway.
Comment 30 Matthias Becker CLA 2018-03-28 09:58:53 EDT
(In reply to Matthias Becker from comment #29)
> Yes. It is not my intension to keep it like that. I just wanted to show the
> difference on one icon.
The other icons are drawn in CTabFolderRenderer which is SWT.
Comment 31 Lars Vogel CLA 2018-03-28 10:18:38 EDT
(In reply to Dani Megert from comment #28)
> First, the min/max icons are too "strong" 

AFAICS these are the existing custom drawn icons. Bug 495033 is for their replacement. I agree that the existing icons are too "strong". @Matthias, I might be that the MinMaxAddon draws them, I need to check but I think a little while I found it their. Lets look at there placement together with this one.
Comment 32 Dani Megert CLA 2018-03-28 10:28:59 EDT
(In reply to Lars Vogel from comment #31)
> (In reply to Dani Megert from comment #28)
> > First, the min/max icons are too "strong" 
> 
> AFAICS these are the existing custom drawn icons. Bug 495033 is for their
> replacement. I agree that the existing icons are too "strong". @Matthias, I
> might be that the MinMaxAddon draws them, I need to check but I think a
> little while I found it their. Lets look at there placement together with
> this one.

Note that the view menu icon looks blurry (just an additional comment).
Comment 33 Matthias Becker CLA 2018-03-28 10:35:49 EDT
(In reply to Lars Vogel from comment #31)
> (In reply to Dani Megert from comment #28)
> > First, the min/max icons are too "strong" 
> 
> AFAICS these are the existing custom drawn icons. Bug 495033 is for their
> replacement. 
I just uploaded SVGs and PNGs for these icons to Gerrit in Bug 495033.
So do we continue with black lines and white fill?
Comment 34 Matthias Becker CLA 2018-03-28 10:44:21 EDT
Created attachment 273346 [details]
Old (top) and New (bottom) on low-res monitor

(In reply to Dani Megert from comment #32)
> Note that the view menu icon looks blurry (just an additional comment).

The new PNG version of it? I don't see this here on my Retina Display. And I also don't see that on my external low-res monitor (see Attachment)
Comment 35 Dani Megert CLA 2018-03-28 11:16:47 EDT
(In reply to Matthias Becker from comment #34)
> Created attachment 273346 [details]
> Old (top) and New (bottom) on low-res monitor
> 
> (In reply to Dani Megert from comment #32)
> > Note that the view menu icon looks blurry (just an additional comment).
> 
> The new PNG version of it? I don't see this here on my Retina Display. And I
> also don't see that on my external low-res monitor (see Attachment)

My comment is based on the screenshot.
Comment 36 Lars Vogel CLA 2018-03-29 06:55:41 EDT
I think the new icon does not look good on the dark theme. AFAICS the old one had some light borders https://ibb.co/kWkAZn Did you try with these borders? Also I think some transparency similar to the new + and - buttons would help the icon in the dark theme.

I really like that it is now centered. :-)
Comment 37 Matthias Becker CLA 2018-04-04 06:27:33 EDT
Created attachment 273416 [details]
Now with white border

(In reply to Lars Vogel from comment #36)
> I think the new icon does not look good on the dark theme. AFAICS the old
> one had some light borders https://ibb.co/kWkAZn Did you try with these
> borders? Also I think some transparency similar to the new + and - buttons
> would help the icon in the dark theme.
> 
> I really like that it is now centered. :-)

Try again with the new patchset.
Comment 38 Dani Megert CLA 2018-04-04 10:01:09 EDT
(In reply to Matthias Becker from comment #37)
> Created attachment 273416 [details]
> Now with white border
> 
> (In reply to Lars Vogel from comment #36)
> > I think the new icon does not look good on the dark theme. AFAICS the old
> > one had some light borders https://ibb.co/kWkAZn Did you try with these
> > borders? Also I think some transparency similar to the new + and - buttons
> > would help the icon in the dark theme.
> > 
> > I really like that it is now centered. :-)
> 
> Try again with the new patchset.

Please read comment 28 again. The three icons must use the same color/style. On Windows 7 with light theme it is darker than min/max. Let me know if you need a screenshot.
Comment 39 Matthias Becker CLA 2018-04-04 10:40:39 EDT
(In reply to Dani Megert from comment #38)
> Please read comment 28 again. The three icons must use the same color/style.
> On Windows 7 with light theme it is darker than min/max. 
Yeah. If we agree that the new view menu icon is ok I can also replace the other once.

> Let me know if you need a screenshot.
Yeah.
Comment 40 Dani Megert CLA 2018-04-04 11:55:04 EDT
(In reply to Matthias Becker from comment #39)
> (In reply to Dani Megert from comment #38)
> > Please read comment 28 again. The three icons must use the same color/style.
> > On Windows 7 with light theme it is darker than min/max. 
> Yeah. If we agree that the new view menu icon is ok I can also replace the
> other once.

No, I can't agree to a single icon change. Again, this bug is about replacing the custom draw with an icon that looks exactly the same. Which is currently not the case. If the goal is to change all three icons then the summary needs to be changed and the change needs to contain all three icons, so that one can decide whether it looks good.


> > Let me know if you need a screenshot.
> Yeah.

Coming...
Comment 41 Dani Megert CLA 2018-04-04 11:58:58 EDT
Created attachment 273429 [details]
Screenshot of change 120279/6 on Windows 7
Comment 42 Matthias Becker CLA 2018-04-05 03:12:17 EDT
(In reply to Dani Megert from comment #40)
> No, I can't agree to a single icon change. Again, this bug is about
> replacing the custom draw with an icon that looks exactly the same. Which is
> currently not the case.

This is not possible. As the custom drawing uses different colors on different OSes.
So it will change on some OSes. We can decide on which OSes this happens. 
We already talked about that topic.
Comment 43 Dani Megert CLA 2018-04-05 05:31:51 EDT
(In reply to Matthias Becker from comment #42)
> (In reply to Dani Megert from comment #40)
> > No, I can't agree to a single icon change. Again, this bug is about
> > replacing the custom draw with an icon that looks exactly the same. Which is
> > currently not the case.
> 
> This is not possible. As the custom drawing uses different colors on
> different OSes.
> So it will change on some OSes. We can decide on which OSes this happens. 
> We already talked about that topic.

So, maybe go with comment 22 is the best solution.
Comment 44 Lars Vogel CLA 2018-04-18 02:21:49 EDT
(In reply to Dani Megert from comment #43)
> So, maybe go with comment 22 is the best solution.

I think it is better to use one consistent color for all OS. This is also the case for all other icons. Alternative we can have a simple OS based switch which selects the "correct" images but IMHO this is overkill a specific icon.
Comment 45 Lars Vogel CLA 2018-04-18 02:24:09 EDT
(In reply to Lars Vogel from comment #44)
> (In reply to Dani Megert from comment #43)
> > So, maybe go with comment 22 is the best solution.
> 
> I think it is better to use one consistent color for all OS. This is also
> the case for all other icons. Alternative we can have a simple OS based
> switch which selects the "correct" images but IMHO this is overkill a
> specific icon.

I'm now looking at the Linux and Windows icons and under Linux the view icon looks ugly to me, as it is using too strong colors. The Windows version looks way better, I suggest to use this one.
Comment 46 Lars Vogel CLA 2018-05-03 03:52:51 EDT
Matthias, can you update the patch so that we use the color of Windows? This would make the view drop-down icon nicer on Mac and Linux and would keep the nice Window one.
Comment 47 Matthias Becker CLA 2018-05-04 04:00:02 EDT
(In reply to Lars Vogel from comment #46)
> Matthias, can you update the patch so that we use the color of Windows? This
> would make the view drop-down icon nicer on Mac and Linux and would keep the
> nice Window one.

I can do. But what is the RGB value of SWT.COLOR_WIDGET_DARK_SHADOW on windows?
Comment 48 Lars Vogel CLA 2018-05-15 02:22:20 EDT
(In reply to Matthias Becker from comment #47)
> (In reply to Lars Vogel from comment #46)
> > Matthias, can you update the patch so that we use the color of Windows? This
> > would make the view drop-down icon nicer on Mac and Linux and would keep the
> > nice Window one.
> 
> I can do. But what is the RGB value of SWT.COLOR_WIDGET_DARK_SHADOW on
> windows?

Nikita, could you tell us the color code?
Comment 49 Nikita Nemkin CLA 2018-05-15 02:44:15 EDT
(In reply to Lars Vogel from comment #48)
> (In reply to Matthias Becker from comment #47)
> > (In reply to Lars Vogel from comment #46)
> > I can do. But what is the RGB value of SWT.COLOR_WIDGET_DARK_SHADOW on
> > windows?
> 
> Nikita, could you tell us the color code?

It's (105,105,105) or #696969 on Win7 and Win10.

SWT ControlExample has Colors tab with a list of system colors and their values.
Comment 50 Matthias Becker CLA 2018-05-15 08:41:01 EDT
I updated my gerrit to the images repo with the new color.
The gerrit for the platform.ui repo also was updated.

I also created SVGs and PNGs for the view-stack's min / max / restore icons.
For this I crated also a gerrit for the images repo. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=495033 for that.
Comment 51 Lars Vogel CLA 2018-05-18 05:51:16 EDT
Lets move this to early 4.9
Comment 52 Eclipse Genie CLA 2018-08-23 08:19:19 EDT
New Gerrit change created: https://git.eclipse.org/r/127928
Comment 53 Matthias Becker CLA 2018-08-23 08:24:54 EDT
(In reply to Eclipse Genie from comment #52)
> New Gerrit change created: https://git.eclipse.org/r/127928

This implements a completely other approach. Instead of replacing the custom drawn view icon with an PNG I made the custom drawing dpi-aware.
This as the advantage, that the OS-dependenct colors used for the stroke can stay as it  is.

Furthermore I "moved" the triangle into the middle of the 16x16 icon (the old one was miss-aligned to the right).
Comment 54 Matthias Becker CLA 2018-08-23 08:36:24 EDT
Created attachment 275505 [details]
Screenshot showing old and new view menu
Comment 55 Matthias Becker CLA 2018-08-23 08:37:31 EDT
Comment on attachment 275505 [details]
Screenshot showing old and new view menu

the blue line in the screenshot are there to visualize the changed alignment.
Comment 56 Dani Megert CLA 2018-08-23 12:40:32 EDT
(In reply to Matthias Becker from comment #55)
> Comment on attachment 275505 [details]
> Screenshot showing old and new view menu
> 
> the blue line in the screenshot are there to visualize the changed alignment.

Which one is the new one? The upper one looks blurred?And why look the arrows differently?
Comment 57 Matthias Becker CLA 2018-08-23 13:31:12 EDT
(In reply to Dani Megert from comment #56)
> (In reply to Matthias Becker from comment #55)
> > Comment on attachment 275505 [details]
> > Screenshot showing old and new view menu
> > 
> > the blue line in the screenshot are there to visualize the changed alignment.
> 
> Which one is the new one? The upper one looks blurred?And why look the
> arrows differently?

the upper one is old, the lower one is new. What difference do you mean besides the blurriness?
Comment 58 Dani Megert CLA 2018-08-23 13:33:48 EDT
(In reply to Matthias Becker from comment #57)
> the upper one is old, the lower one is new. What difference do you mean
> besides the blurriness?

The arrow icons look different.
Comment 59 Matthias Becker CLA 2018-08-23 13:47:04 EDT
(In reply to Dani Megert from comment #58)
> (In reply to Matthias Becker from comment #57)
> > the upper one is old, the lower one is new. What difference do you mean
> > besides the blurriness?
> 
> The arrow icons look different.

different == better? ;-)
Comment 60 Dani Megert CLA 2018-08-23 13:58:24 EDT
(In reply to Matthias Becker from comment #59)
> (In reply to Dani Megert from comment #58)
> > (In reply to Matthias Becker from comment #57)
> > > the upper one is old, the lower one is new. What difference do you mean
> > > besides the blurriness?
> > 
> > The arrow icons look different.
> 
> different == better? ;-)

No, it just has nothing to do here.
Comment 61 Matthias Becker CLA 2018-08-24 01:53:56 EDT
(In reply to Dani Megert from comment #58)
> (In reply to Matthias Becker from comment #57)
> > the upper one is old, the lower one is new. What difference do you mean
> > besides the blurriness?
> 
> The arrow icons look different.

You mean the "link with editor icon"? I did not change them with my change. The before screenshot was made with an older release of eclipse. I will attach a new before/after comparison.
Comment 62 Matthias Becker CLA 2018-08-24 01:54:39 EDT
Created attachment 275513 [details]
old (upper) and new (lower)
Comment 63 Matthias Becker CLA 2018-08-24 06:27:03 EDT
can someone pls. test on linux and windows?
Can we get that in RC1?
Comment 64 Dani Megert CLA 2018-08-24 12:11:28 EDT
(In reply to Matthias Becker from comment #63)
> can someone pls. test on linux and windows?

I can't see much difference on Windows, but I don't have an HDPI monitor.


> Can we get that in RC1?

It's a bit too late to change such a prominent icon. I suggest to do it early 4.10.
Comment 65 Eclipse Genie CLA 2019-04-11 04:06:24 EDT
New Gerrit change created: https://git.eclipse.org/r/140410
Comment 66 Matthias Becker CLA 2019-04-11 04:13:13 EDT
I just uploaded a version where the view dropdown icon is now drawn as a PNG in grey on all platforms (macOS did use black before). Now the color is (105,105,105) as it was used on windows.
I also adapted the custom drawn min max icons to use the same color. As these icons only use horizontal  and vertical lines they don't get pixelated when scaled up. So I think we can keep this custom drawing here.

I will upload how this now looks on macOS in light and dark and on high-res and normal-res screens.

What do you think?
Comment 67 Matthias Becker CLA 2019-04-11 04:14:53 EDT
Created attachment 278224 [details]
grey icons in light theme high res display
Comment 68 Matthias Becker CLA 2019-04-11 04:15:23 EDT
Created attachment 278225 [details]
grey icons in dark theme high res display
Comment 69 Matthias Becker CLA 2019-04-11 04:15:48 EDT
Created attachment 278226 [details]
grey icons in light theme normal res display
Comment 70 Matthias Becker CLA 2019-04-11 04:16:07 EDT
Created attachment 278227 [details]
grey icons in dark theme normal res display
Comment 71 Lars Vogel CLA 2019-04-11 04:32:00 EDT
Looks beautiful to me. Thanks, Matthias. Once we have Gerrits for Min/Max we can release this one, if it also looks great on Linux. I test this later today.
Comment 72 Matthias Becker CLA 2019-04-11 04:37:20 EDT
(In reply to Lars Vogel from comment #71)
> Looks beautiful to me. 
I don't like the grey in the dark theme. There the icons are hard to see.
To fix this I think the grey must be lighter to be better readable on dark background.

>Thanks, Matthias. Once we have Gerrits for Min/Max we
> can release this one, if it also looks great on Linux. I test this later
> today.
We already have. See: https://git.eclipse.org/r/#/c/140410/
Comment 73 Alexander Kurtakov CLA 2019-04-11 05:30:46 EDT
Eric, please test this one with the various themes you have. I have big concerns about hardcoding colors.
Comment 74 Lars Vogel CLA 2019-04-11 06:03:35 EDT
(In reply to Alexander Kurtakov from comment #73)
> Eric, please test this one with the various themes you have. I have big
> concerns about hardcoding colors.

FYI all other icons use fixed colors
Comment 75 Matthias Becker CLA 2019-04-11 06:28:21 EDT
(In reply to Alexander Kurtakov from comment #73)
> Eric, please test this one with the various themes you have. I have big
> concerns about hardcoding colors.

pls. see my comments in gerrit
Comment 76 Lars Vogel CLA 2019-04-11 11:54:38 EDT
Created attachment 278239 [details]
Screenshot - old dark view menu under Ubuntu
Comment 77 Lars Vogel CLA 2019-04-11 11:54:57 EDT
Created attachment 278240 [details]
Screenshot - new dark view menu under Ubuntu
Comment 78 Lars Vogel CLA 2019-04-11 11:55:48 EDT
With the change the view menu looks really good in the dark theme under Ubuntu and more or less the same in the light theme.
Comment 79 Dani Megert CLA 2019-04-12 08:48:27 EDT
Created attachment 278258 [details]
Windows 7 Light

On Windows 7 with (default) light theme it does not look good. It is too bright and can give the impression that it is disabled. Also, the border should be a bit sharper. I think it's pretty close but needs some final tweaking.
Comment 80 Dani Megert CLA 2019-04-12 08:51:29 EDT
Created attachment 278259 [details]
Windows 7 Dark

On Windows 7 with Dark theme it looks a bit blurry if you compare it to the Min/Max icons.
Comment 81 Matthias Becker CLA 2019-04-12 09:03:31 EDT
(In reply to Dani Megert from comment #80)
> Created attachment 278259 [details]
> Windows 7 Dark
> 
> On Windows 7 with Dark theme it looks a bit blurry if you compare it to the
> Min/Max icons.

This is due to the fact that the min max only have horizontal and vertical lines but the view drop down has diagonal lines. We won't get that better. Pls. compare with the current state. The view drop down should no should look better then it was before.
Comment 82 Dani Megert CLA 2019-04-12 09:15:30 EDT
(In reply to Matthias Becker from comment #81)
> The view drop down should no should look better then it was before.
I presume you mean "should look better".
Comment 83 Dani Megert CLA 2019-04-12 09:18:56 EDT
Created attachment 278260 [details]
Windows 7 Dark - old vs. new

It's a mixed feeling when I compare old (above) vs. new (below). For me the old one looks sharper, which I prefer, but the new one appears a bit bigger, which looks better to me.
Comment 85 Eclipse Genie CLA 2019-04-15 09:37:12 EDT
New Gerrit change created: https://git.eclipse.org/r/140601
Comment 87 Eclipse Genie CLA 2019-04-15 11:00:05 EDT
New Gerrit change created: https://git.eclipse.org/r/140607
Comment 88 Matthias Becker CLA 2019-04-15 11:02:24 EDT
(In reply to Eclipse Genie from comment #87)
> New Gerrit change created: https://git.eclipse.org/r/140607

@Everbody: Can you pls. test this change together with https://git.eclipse.org/r/#/c/120279/ again. I now use the original colors as it was on windows (105,105,105)
Comment 89 Lars Vogel CLA 2019-04-16 03:37:35 EDT
Created attachment 278291 [details]
Light theme with Windows colors under Ubuntu
Comment 90 Lars Vogel CLA 2019-04-16 03:37:57 EDT
Created attachment 278292 [details]
Dark theme with Windows colors under Ubuntu
Comment 91 Lars Vogel CLA 2019-04-16 03:38:18 EDT
(In reply to Matthias Becker from comment #88)
> (In reply to Eclipse Genie from comment #87)
> > New Gerrit change created: https://git.eclipse.org/r/140607
> 
> @Everbody: Can you pls. test this change together with
> https://git.eclipse.org/r/#/c/120279/ again. I now use the original colors
> as it was on windows (105,105,105)

Looks fine to me under Ubuntu, see attached screenshots.
Comment 92 Dani Megert CLA 2019-04-19 05:16:15 EDT
(In reply to Matthias Becker from comment #88)
> (In reply to Eclipse Genie from comment #87)
> > New Gerrit change created: https://git.eclipse.org/r/140607
> 
> @Everbody: Can you pls. test this change together with
> https://git.eclipse.org/r/#/c/120279/ again. I now use the original colors
> as it was on windows (105,105,105)
I will test it on Monday.
Comment 93 Dani Megert CLA 2019-04-22 10:42:23 EDT
Created attachment 278356 [details]
Windows 7 Light  On Windows 7

Top is current, bottom is new version.

On Windows 7 with (default) light theme it does not look good. Now it is exactly the opposite as in comment 79: Min/Max are now too bright. The new icon plus the current version of Min/Max would probably hit it. Why did you change Min/Max?
Comment 94 Dani Megert CLA 2019-04-22 10:56:33 EDT
Created attachment 278357 [details]
Windows 7 Dark

Top is current, bottom is new version.

The new image is now better/sharper compared to comment 80. However, I see the same issue as in the light theme: Min/Max are now too bright. The new icon plus the current version of Min/Max would probably hit it.
Comment 95 Matthias Becker CLA 2019-04-23 05:17:35 EDT
(In reply to Dani Megert from comment #93)
> Min/Max are now too bright. The new
> icon plus the current version of Min/Max would probably hit it. Why did you
> change Min/Max?

Sorry for the confusion. I uploaded a new patchset to https://git.eclipse.org/r/#/c/140607/ that changes the color of min max to the view drop down icon.

Can you please test again?
Comment 96 Dani Megert CLA 2019-04-23 10:55:20 EDT
(In reply to Matthias Becker from comment #95)
> (In reply to Dani Megert from comment #93)
> > Min/Max are now too bright. The new
> > icon plus the current version of Min/Max would probably hit it. Why did you
> > change Min/Max?
> 
> Sorry for the confusion. I uploaded a new patchset to
> https://git.eclipse.org/r/#/c/140607/ that changes the color of min max to
> the view drop down icon.
> 
> Can you please test again?
+1 for Windows 7 (Light and Dark theme).
Comment 100 Dani Megert CLA 2019-04-23 11:11:02 EDT
Thanks 	Matthias!
Comment 101 Lars Vogel CLA 2019-04-24 04:05:43 EDT
(In reply to Dani Megert from comment #100)
> Thanks 	Matthias!

Awesome, Matthias. Finally the view menu does not look ugly in the dark theme. Thanks.

You may want to add a N&N entry...
Comment 102 Dani Megert CLA 2019-04-24 05:35:25 EDT
(In reply to Lars Vogel from comment #101)
> You may want to add a N&N entry...
I don't think this is necessary as everyone should notice immediately ;-).
Comment 103 Lars Vogel CLA 2019-04-24 05:39:20 EDT
(In reply to Dani Megert from comment #102)
> (In reply to Lars Vogel from comment #101)
> > You may want to add a N&N entry...
> I don't think this is necessary as everyone should notice immediately ;-).

Maybe some people which evaluated the dark theme earlier and decided it was too ugly might give it another try with such an N&N entry. But I have no strong feelings here, so whatever Matthias thinks is fine for me.
Comment 104 Eclipse Genie CLA 2019-04-24 08:40:25 EDT
New Gerrit change created: https://git.eclipse.org/r/141061