JDK-8137050 : Support Linux settings for HiDPI scaling
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 8u60,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • Submitted: 2015-09-23
  • Updated: 2020-06-23
  • Resolved: 2016-05-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
HiDPI scaling is currently supported on both Mac OS X and Windows, but not on any variant of Linux.

It's interesting to note that support for identifying global UI scale factors on Linux involves a number of policies and properties depending on the specific Linux platform and the GUI being used.
Comments
http://hg.openjdk.java.net/openjfx/9-dev/rt/rev/919f60d167c9
14-05-2016

I forgot to eliminate the commented-out code before I pushed. :( I will need to go back in there for some future work so I'll get it then...
14-05-2016

+1
13-05-2016

Webrev: http://cr.openjdk.java.net/~flar/JDK-8137050/webrev-00/ (I just noticed that I left some commented-out code in glass_screen.cpp - I can eliminate that before pushing if there are no other comments on the code itself...)
12-05-2016

Since most of the underpinnings are already there, this shouldn't be too hard.
23-09-2015

I'd been twitter dm'ing with Dan Allen ���@mojavelinux - he said: @scftweet To appeal to the marketing side, you get much more beautiful screenshots on HiDPI once the display is scaled.
23-09-2015