Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 489831 - [hidpi][win32][GTK] Eclipse icons getting blurred at High zoom settings.
Summary: [hidpi][win32][GTK] Eclipse icons getting blurred at High zoom settings.
Status: CLOSED DUPLICATE of bug 382972
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.6   Edit
Hardware: PC All
: P3 normal with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 491865 493280 (view as bug list)
Depends on: 382972
Blocks: 495269 517055
  Show dependency tree
 
Reported: 2016-03-17 06:29 EDT by Sasikanth Bharadwaj CLA
Modified: 2017-05-22 08:33 EDT (History)
16 users (show)

See Also:


Attachments
screenshot (161.70 KB, image/png)
2016-03-17 06:32 EDT, Sasikanth Bharadwaj CLA
no flags Details
150% on win 10 (26.46 KB, image/png)
2016-04-17 07:25 EDT, Andrey Loskutov CLA
no flags Details
neon project explorer (21.25 KB, image/png)
2016-05-10 17:20 EDT, Tyler Van Gorder CLA
no flags Details
Neon toolbar (18.53 KB, image/png)
2016-05-10 17:21 EDT, Tyler Van Gorder CLA
no flags Details
Icons are missing (eclipse-SDK-I20160511-2000) (450.98 KB, image/png)
2016-05-12 07:22 EDT, Dejan Stojadinović CLA
no flags Details
-Dswt.autoScale=exact with scaling of 150% (45.56 KB, image/png)
2016-07-18 16:26 EDT, Martin Herbst CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***