RFR: 8225122: Test AncestorResized.java fails when Windows desktop is scaled. [v2]

Sergey Bylokhov serb at openjdk.java.net
Fri Jan 7 20:18:19 UTC 2022


> This test depends on the next windows UI performance option:
> “Show window contents while dragging”, see https://answers.microsoft.com/en-us/windows/forum/all/in-windows-7-how-do-i-show-window-contents-while/18e3aee2-bcc7-4005-a45d-c5613cf6eb3c
> 
> In the default configuration, the windows may decide that the system is slow and this option should be disabled. I have found that this usually happens in the virtual environment.
> 
> When that option is disabled the resize events have come when the user completes the resize, before that the only border "rectangle" is moved.
> 
> This fix changes the test to release the mouse and complete the resize, and only after that checks the result.
> 
> Also, some old machinery is removed.

Sergey Bylokhov has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:

 - Merge branch 'master' into JDK-8225122
 - Update AncestorResized.java

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5711/files
  - new: https://git.openjdk.java.net/jdk/pull/5711/files/7f5a6c24..1ea40057

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

  Stats: 1015911 lines in 4148 files changed: 544293 ins; 447874 del; 23744 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5711.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5711/head:pull/5711

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



More information about the client-libs-dev mailing list