RFR: 8169468: NoResizeEventOnDMChangeTest.java fails because FS Window didn't receive all resizes! [v3]

Alexander Zuev kizune at openjdk.java.net
Wed Nov 10 05:35:12 UTC 2021


> I was able to reproduce this issue locally 2 times out of 100 runs on multi-monitor
> configuration. Both times due to the screen resolution change is so slow window got
> accidentally moved to the secondary screen by the display driver.
> Can not reproduce this bug with ATI card at all.
> Since there is nothing we can do to stop graphics driver from reassigning
> the window if it decides that promary monitor is not on at the moment the
> only way is to check if this has had happened and if so then we can not trust the test
> since we changing resolution of one display and window not getting resized
> because it is placed on another display and test should be skept.
> 
> After that i ran this test locally about a thousand times on all platforms
> and has not seen the failure again.

Alexander Zuev has updated the pull request incrementally with one additional commit since the last revision:

  Added speel for 2 seconds after setting new display mode.
  Removed unneeded imports.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/6186/files
  - new: https://git.openjdk.java.net/jdk/pull/6186/files/da325c4f..06b58644

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

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

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



More information about the client-libs-dev mailing list