-
Bug
-
Resolution: Fixed
-
P3
-
16, 17
-
b25
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8279035 | 17.0.3-oracle | Rajat Mahajan | P3 | Resolved | Fixed | b01 |
JDK-8279334 | 17.0.3 | Sergey Bylokhov | P3 | Resolved | Fixed | b01 |
JDK-8278301 | 11.0.15-oracle | Rajat Mahajan | P3 | Resolved | Fixed | b01 |
JDK-8280505 | 11.0.15 | Sergey Bylokhov | P3 | Resolved | Fixed | b01 |
JDK-8281730 | 11.0.14.0.2-oracle | Evan Whelan | P3 | Closed | Fixed | b01 |
Windows 10 with two monitors set to extend, one set at 100% display scale, the second at 225% scale. Happens in Java 16 and Java 17, does not happen in Java 8.
A DESCRIPTION OF THE PROBLEM :
When a JFrame is dragged from a standard dpi monitor (display scale set to 100%) to a HiDPI monitor (display scale set to > 100%, 225% in our testing), the JFrame leaves behind a lot of painting artifacts as it is dragged.
REGRESSION : Last worked in version 8u291
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create a simple JFrame and set visible.
Drag the JFrame from one monitor to the other, slowly.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No painting artifacts should be visible, the JFrame should remain clean.
ACTUAL -
Painting artifacts are visible on the JFrame as it is dragged.
---------- BEGIN SOURCE ----------
public class SimpleFrame extends JFrame
{
public static void main(String [] args) throws Exception
{
SimpleFrame sf = new SimpleFrame();
sf.setSize(800, 600);
sf.setLocationRelativeTo(null);
sf.setDefaultCloseOperation(EXIT_ON_CLOSE);
sf.setTitle("Java Version: " + System.getProperty("java.version"));
sf.setVisible(true);
}
}
---------- END SOURCE ----------
FREQUENCY : always
- backported by
-
JDK-8278301 JFrame paint artifacts when dragged from standard monitor to HiDPI monitor
- Resolved
-
JDK-8279035 JFrame paint artifacts when dragged from standard monitor to HiDPI monitor
- Resolved
-
JDK-8279334 JFrame paint artifacts when dragged from standard monitor to HiDPI monitor
- Resolved
-
JDK-8280505 JFrame paint artifacts when dragged from standard monitor to HiDPI monitor
- Resolved
-
JDK-8281730 JFrame paint artifacts when dragged from standard monitor to HiDPI monitor
- Closed
- relates to
-
JDK-8211999 Window positioning bugs due to overlapping GraphicsDevice bounds (Windows/HiDPI)
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/d91ce056
-
Commit openjdk/jdk17u-dev/493a78af
-
Commit openjdk/jdk/03473b4c
-
Review openjdk/jdk11u-dev/732
-
Review openjdk/jdk17u-dev/38
-
Review openjdk/jdk17u/320
-
Review openjdk/jdk/6339