JDK-8210253 : Clipped UI rendering with X11 pipeline and HiDPI
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 9.0.4,11,15,16
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-08-31
  • Updated: 2020-12-07
  • Resolved: 2020-12-02
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 16
16 b27Fixed
Related Reports
Relates :  
Description
Run SwingSet2 on Linux using JDK 9 or 11, specify -Dsun.java2d.uiScale=2
It all looks good.
Now specify -Dsun.java2d.xrender=false, and lots of things are clipped.

So  the non-default X11 pipeline isn't ready for hidpi.
Since it is not the default, and is almost never needed any more, and there is also the workaround
of disabling (or not enabling) hidpi, it may be that we just should say the X11 pipeline does not support
hidpi.
Comments
Changeset: 03f3b8ea Author: Sergey Bylokhov <serb@openjdk.org> Date: 2020-12-02 00:04:20 +0000 URL: https://git.openjdk.java.net/jdk/commit/03f3b8ea
02-12-2020

The fix in X11SurfaceData should be identical to the change in XRSurfaceData, see JDK-8137571 https://github.com/openjdk/jdk/commit/d48c3fcafbf93177919b0e37785a340e0789789b#diff-8e84507066ac1c725caee14aa6a3323b0fb06f2082a33e0c5dbe2c662bdc53ccR545
18-11-2020