-
Bug
-
Resolution: Unresolved
-
P3
-
8, 11, 13
-
generic
-
windows_10
Robot.createScreenCapture(boundary) captures extra pixels.
To reproduce run the attached test case, ScreenShotTest.java
This test displays a frame and capture the screen shot(screenshot.jpg) of that frame using Robot.createScreenCapture(boundary) API.
You can see it captured some extra area than frame boundary.
Issue is reproducible in JDK 8, 11 and 13 and this issue is there only in Windows platform. In linux and Osx it works as expected.
To reproduce run the attached test case, ScreenShotTest.java
This test displays a frame and capture the screen shot(screenshot.jpg) of that frame using Robot.createScreenCapture(boundary) API.
You can see it captured some extra area than frame boundary.
Issue is reproducible in JDK 8, 11 and 13 and this issue is there only in Windows platform. In linux and Osx it works as expected.