> This test could fail on windows for two reasons:
>  - The window does not fit the small screen, and the robot captures the image 
> outside the screen. Especially if the screen is small but some scale (like 
> 150%) is set.
>  - The test paints and captures the button in the frame, then resize the 
> frame and again paint and captures the button. The problem occurs if the 
> fractional scale is used(like 125%), in that case, the button could be 
> shifted by one pixel due to rounding depending on what position it was 
> started to be drawn.
> 
> The solution is to always use the same uiscale=1, an updated test still can 
> reproduce the JDK-6796710

Sergey Bylokhov has updated the pull request incrementally with one additional 
commit since the last revision:

  Update extension

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/950/files
  - new: https://git.openjdk.java.net/jdk/pull/950/files/14c5a9e8..eea58ad6

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=950&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=950&range=00-01

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/950.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/950/head:pull/950

PR: https://git.openjdk.java.net/jdk/pull/950

Reply via email to