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

Bug 489831

Summary: [hidpi][win32][GTK] Eclipse icons getting blurred at High zoom settings.
Product: [Eclipse Project] Platform Reporter: Sasikanth Bharadwaj <sasikanth.bharadwaj>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: arunkumar.thondapu, bugs.eclipse.org, dejan2609, develop, felix.otto, karl, loskutov, lshanmug, ma.becker, mmariotti, niraj.modi, peter, psuzzi, snowtoad2, sravankumarl, sys5555
Version: 4.6   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:
Bug Depends on: 382972    
Bug Blocks: 495269, 517055    
Attachments:
Description Flags
screenshot
none
150% on win 10
none
neon project explorer
none
Neon toolbar
none
Icons are missing (eclipse-SDK-I20160511-2000)
none
-Dswt.autoScale=exact with scaling of 150% none

Description Sasikanth Bharadwaj CLA 2016-03-17 06:29:17 EDT
The "View Button" button on the right hand side of most views like package explorer, variables view etc isn't clearly visible at 200% scaling. Please see screenshot
Comment 1 Sasikanth Bharadwaj CLA 2016-03-17 06:32:17 EDT
Created attachment 260377 [details]
screenshot
Comment 2 Andrey Loskutov CLA 2016-04-17 07:25:41 EDT
Created attachment 261014 [details]
150% on win 10
Comment 3 Niraj Modi CLA 2016-04-18 05:47:05 EDT
Currently SWT is doing auto scale-up of icons, that's why icons in Eclipse workspace looking blurred at Higher zoom(yes, blurr enough to loose their meaning)

These icons should look properly scaled up, once the adoption new HighDPI API w.r.t. to Image takes place in Platform/UI as a part of bug 382972
Comment 4 Niraj Modi CLA 2016-04-18 06:01:07 EDT
Problems clearly seen at High Zoom:
1. View menu button at 200% zoom
2. Error overlay in package explorer at 150% zoom.
Comment 5 Niraj Modi CLA 2016-04-18 06:01:38 EDT
*** Bug 491865 has been marked as a duplicate of this bug. ***
Comment 6 Matthias Becker CLA 2016-04-21 07:52:09 EDT
Is there a workaround (e.g. a command line parameter) to turn-off this auto scale-up?
Comment 7 Sravan Kumar Lakkimsetti CLA 2016-04-21 08:53:48 EDT
(In reply to Matthias Becker from comment #6)
> Is there a workaround (e.g. a command line parameter) to turn-off this auto
> scale-up?

You can use -Dswt.enable.autoScale=false in eclipse.ini or at commandline
Comment 8 Matthias Becker CLA 2016-04-26 02:57:00 EDT
(In reply to Sravan Kumar Lakkimsetti from comment #7)
> (In reply to Matthias Becker from comment #6)
> > Is there a workaround (e.g. a command line parameter) to turn-off this auto
> > scale-up?
> 
> You can use -Dswt.enable.autoScale=false in eclipse.ini or at commandline

If you try to work with Meon M6 on Windows on 150% Zoom this parameter saves you.

I hope this command line parameter will stay there for a while.
Comment 9 Markus Kuppe CLA 2016-04-26 03:08:52 EDT
This is not limited to Windows but similarly shows up on Linux.
Comment 10 john elhm CLA 2016-04-26 04:48:17 EDT
Where can I download the latest Neon build in order to test the Scaling feature on the Retina MacBook?
Comment 11 Felix Otto CLA 2016-04-26 05:37:12 EDT
http://download.eclipse.org/eclipse/downloads/

Just jump to the latest milestone of "4.6 Stable Builds".
Comment 13 Dejan Stojadinović CLA 2016-05-10 07:09:44 EDT
(cross-posted from here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=421383#c137)

Icons are not visible on Neon M7 (hidpi, Windows 10 64 bit), see snapshot here: https://bugs.eclipse.org/bugs/attachment.cgi?id=261533

Latest integration build also shows no icons:
http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops4/I20160509-2000/eclipse-SDK-I20160509-2000-win32-x86_64.zip

Notes:
* I stay away from hacking via external manifest file, registry key, etc.
* Neon M6 worked like a charm
Comment 14 Arun Thondapu CLA 2016-05-10 15:42:49 EDT
*** Bug 493280 has been marked as a duplicate of this bug. ***
Comment 15 Tyler Van Gorder CLA 2016-05-10 17:20:49 EDT
Created attachment 261614 [details]
neon project explorer
Comment 16 Tyler Van Gorder CLA 2016-05-10 17:21:21 EDT
Created attachment 261615 [details]
Neon toolbar
Comment 17 Dejan Stojadinović CLA 2016-05-12 07:22:39 EDT
Created attachment 261678 [details]
Icons are missing (eclipse-SDK-I20160511-2000)
Comment 18 Arun Thondapu CLA 2016-05-12 07:28:10 EDT
(In reply to Dejan Stojadinović from comment #17)
> Created attachment 261678 [details]
> Icons are missing (eclipse-SDK-I20160511-2000)

This is bug 492312, please add more information to that bug for this issue. Thanks!
Comment 19 Martin Herbst CLA 2016-07-18 16:25:26 EDT
With the release version of Neon the following happens if the Windows scaling factor  is set to 150% (Windows 10):
- the icons are not scaled up and look a bit small, especially the expand/collapse icons in the editor are very small and its hard to hit them with the mouse.
- when I set -Dswt.autoScale=150 or -Dswt.autoScale= exact the icons are scaled up and look blurry. On my machine it is not as bad as on in Andrey's screenshot but some look quite ugly.
Comment 20 Martin Herbst CLA 2016-07-18 16:26:36 EDT
Created attachment 263172 [details]
-Dswt.autoScale=exact with scaling of 150%
Comment 21 Niraj Modi CLA 2017-05-22 08:33:52 EDT
Problem fixed in Platform-UI via bug 382972

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