Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 501562 - [HighDPI] JUnit Icons appear unsharp on retina display
Summary: [HighDPI] JUnit Icons appear unsharp on retina display
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.7   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.7 M3   Edit
Assignee: Matthias Becker CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 468946 (view as bug list)
Depends on:
Blocks: 504575
  Show dependency tree
 
Reported: 2016-09-16 04:25 EDT by Matthias Becker CLA
Modified: 2019-09-13 04:44 EDT (History)
2 users (show)

See Also:


Attachments
Comparison of old ( left ) and new ( right ) (469.24 KB, image/png)
2016-09-16 04:27 EDT, Matthias Becker CLA
no flags Details
Comparison of old ( left ) and new ( right ) wizard banner icons (27.24 KB, image/png)
2016-09-16 04:27 EDT, Matthias Becker CLA
no flags Details
Comparison of old ( left ) and new ( right ) (80.19 KB, image/png)
2016-09-21 03:42 EDT, Matthias Becker CLA
no flags Details
revised: Comparison of old ( left ) and new ( right ) (80.45 KB, image/png)
2016-09-23 07:13 EDT, Matthias Becker CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Becker CLA 2016-09-16 04:25:06 EDT
The Junit-icons are still provided in GIF format. SVGs and rendered normal and high resolution PNGs should be provided.
Comment 1 Eclipse Genie CLA 2016-09-16 04:25:51 EDT
New Gerrit change created: https://git.eclipse.org/r/81213
Comment 2 Eclipse Genie CLA 2016-09-16 04:26:23 EDT
New Gerrit change created: https://git.eclipse.org/r/81214
Comment 3 Matthias Becker CLA 2016-09-16 04:27:28 EDT
Created attachment 264195 [details]
Comparison of old ( left ) and new ( right )
Comment 4 Matthias Becker CLA 2016-09-16 04:27:53 EDT
Created attachment 264196 [details]
Comparison of old ( left ) and new ( right ) wizard banner icons
Comment 5 Noopur Gupta CLA 2016-09-19 04:09:00 EDT
Thanks, Matthias. I will have a look at the png icons and provide feedback.

Please confirm that you have taken bug 465456 into consideration while uploading the patches (for bug 501577 and bug 501592 as well) and done the preliminary testing for the same.
Comment 6 Matthias Becker CLA 2016-09-19 04:29:44 EDT
I can confirm that I did not delete the old GIFs for views declared in the plugin.xml.
I also did a quick manual test of all my changes.
Comment 7 Matthias Becker CLA 2016-09-21 03:42:22 EDT
Created attachment 264300 [details]
Comparison of old ( left ) and new ( right )
Comment 8 Noopur Gupta CLA 2016-09-23 05:09:30 EDT
(In reply to Matthias Becker from comment #4)
> Created attachment 264196 [details]
> Comparison of old ( left ) and new ( right ) wizard banner icons

Looks good.

(In reply to Matthias Becker from comment #7)
> Created attachment 264300 [details]
> Comparison of old ( left ) and new ( right )

In general, all the error, failure and success icons don't look good when used in the IDE i.e. the 'x' and 'tick' marks and their enclosing boxes (red, blue, green).

- err_ovr: the 'x' is not easily recognizable, looks like 5 dots.

- failed_ovr: should be slightly bigger for 'x' to be clearly visible.

- failures: the 'x's and the enclosing boxes should be of the same size in red and blue, like the old icon.

- juniterr, juniterrq, testerr, tsuiteerror: the 'x' should be slightly smaller and the surrounding red should be darker, similar to the old icons. 

The red 'x' in 'relaunchf' and 'faillist' is better and can be used for error icons at other places also.

- junitsucc, junitsuccq, success_ovr, testok, tsuiteok: there should be more contrast between white and green in the tick mark so that it is clearly visible. 

- th_automatic, th_horizontal, th_vertical: old icons had green circles but the new icons seem to have green squares instead.

- testfile_obj: the letters should be thicker.

- new_testsuite, tsuite: the test icon at the back doesn't have the complete border.
Comment 9 Matthias Becker CLA 2016-09-23 07:13:25 EDT
Created attachment 264375 [details]
revised: Comparison of old ( left ) and new ( right )
Comment 10 Matthias Becker CLA 2016-09-23 07:16:55 EDT
(In reply to Noopur Gupta from comment #8)
Thanks for your very detailed feedback. I adapted the icons according to your feedback (see details below). Are they ok now?

> - err_ovr: the 'x' is not easily recognizable, looks like 5 dots.
Done
> 
> - failed_ovr: should be slightly bigger for 'x' to be clearly visible.
Done
> 
> - failures: the 'x's and the enclosing boxes should be of the same size in
> red and blue, like the old icon.
Done
> 
> - juniterr, juniterrq, testerr, tsuiteerror: the 'x' should be slightly
> smaller and the surrounding red should be darker, similar to the old icons. 
Done
> 
> The red 'x' in 'relaunchf' and 'faillist' is better and can be used for
> error icons at other places also.
Done
> 
> - junitsucc, junitsuccq, success_ovr, testok, tsuiteok: there should be more
> contrast between white and green in the tick mark so that it is clearly
> visible. 
Done
> 
> - th_automatic, th_horizontal, th_vertical: old icons had green circles but
> the new icons seem to have green squares instead.
These are already existing PNGS (rendered from SVG). I did not change anything here. Actually the SVG does use circles but rendered to 16x16 is looks like a square. In the @2x version is more clear. As these icons are already used in a lot of other projects in eclipse I would propose to leave them as they are.
> 
> - testfile_obj: the letters should be thicker.
Done
> 
> - new_testsuite, tsuite: the test icon at the back doesn't have the complete
> border.
Done.
Comment 11 Noopur Gupta CLA 2016-09-23 08:15:20 EDT
(In reply to Matthias Becker from comment #9)
> Created attachment 264375 [details]
> revised: Comparison of old ( left ) and new ( right )

Thanks, this looks good.

The Gerrit patch for jdt.ui removes:
org.eclipse.jdt.junit/icons/full/obj16/testfile_obj.gif

This is used in org.eclipse.ui.editors extension in jdt.junit. So it should not be deleted. See bug 465456.

Please upload a new patch set which retains testfile_obj.gif.
Comment 12 Matthias Becker CLA 2016-09-24 13:00:52 EDT
(In reply to Noopur Gupta from comment #11)
> Please upload a new patch set which retains testfile_obj.gif.
Done
Comment 15 Matthias Becker CLA 2019-09-13 04:44:10 EDT
*** Bug 468946 has been marked as a duplicate of this bug. ***