Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 501178

Summary: New Java Project wizard: High-/Low-DPI icon inconsistencies
Product: [Eclipse Project] Platform Reporter: Andreas Sewe <sewe>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: trivial    
Priority: P3 CC: sravankumarl, stephan.herrmann
Version: 4.7   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
Java Settings page none

Description Andreas Sewe CLA 2016-09-09 16:34:07 EDT
Hi,

just testing the Eclipse IDE for Java Developers Neon.1 RC3 package. On the "Java Settings" page of the "New Java Project" wizard the same icon is present in both high- and low-DPI variants.

In the toolbar, "New source folder" and "Link additional source" have High-DPI icons. But in the Details part, they have low-DPI icons.

As High-DPI icons obviously exist, they should be used everywhere.
Comment 1 Stephan Herrmann CLA 2016-09-09 17:14:05 EDT
I tried to reproduce using the latest SDK M-build, but then everything looked OK to me (yes, this was on HiDPI :) ).
Do you have a screenshot?
Comment 2 Andreas Sewe CLA 2016-09-09 17:31:43 EDT
Created attachment 264084 [details]
Java Settings page

(In reply to Stephan Herrmann from comment #1)
> I tried to reproduce using the latest SDK M-build, but then everything
> looked OK to me (yes, this was on HiDPI :) ).
> Do you have a screenshot?

Attached. Taken on OS X 10.10.5 with Scaled (More Space) display settings.
Comment 3 Stephan Herrmann CLA 2016-09-10 13:27:53 EDT
So this is not about image size, but about blurred appearance?

On my Linux box with 2560x1440 all looks sharp to me and from debugging I can confirm that the @2x icon is used.

In your screenshot also some of the text is blurred, so maybe s.t. else is happening here? Maybe s.t. Mac-specific?
Comment 4 Andreas Sewe CLA 2016-09-11 06:34:28 EDT
(In reply to Stephan Herrmann from comment #3)
> So this is not about image size, but about blurred appearance?

Yes, this bug report is about choosing @1x instead of @2x icons.

> On my Linux box with 2560x1440 all looks sharp to me and from debugging I
> can confirm that the @2x icon is used.
> 
> In your screenshot also some of the text is blurred, so maybe s.t. else is
> happening here? Maybe s.t. Mac-specific?

You are right, it's not only the icons, but also the Link widgets next to them. And yes, this may very well be OS X specific. Thanks for checking under a different OS.
Comment 5 Stephan Herrmann CLA 2016-09-11 11:03:20 EDT
(In reply to Andreas Sewe from comment #4)
> (In reply to Stephan Herrmann from comment #3)
> > So this is not about image size, but about blurred appearance?
> 
> Yes, this bug report is about choosing @1x instead of @2x icons.
> 
> > On my Linux box with 2560x1440 all looks sharp to me and from debugging I
> > can confirm that the @2x icon is used.
> > 
> > In your screenshot also some of the text is blurred, so maybe s.t. else is
> > happening here? Maybe s.t. Mac-specific?
> 
> You are right, it's not only the icons, but also the Link widgets next to
> them. And yes, this may very well be OS X specific. Thanks for checking
> under a different OS.

passing it to SWT, to check if the have an idea on what might be going on.
Comment 6 Sravan Kumar Lakkimsetti CLA 2016-09-12 01:43:55 EDT
Mac doesnot use high resolution images yet. That is the reason why you are seeing this 

Please refer these bugs 
Bug 489451 - to create high resolution pixel buffers on retina.

I am marking this a duplicate of Bug 489451

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