On Tue, 9 Nov 2021 19:53:39 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:
>> Alexander Zuev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Check that setting the new display mode ended up with window >> residing on the screen with resolution different than one it was before, >> even if it the different display - window and components still have to >> receive the resize event. Only skipping the iteration where that did not >> happened instead of skipping the entire test. > > test/jdk/java/awt/FullScreen/NoResizeEventOnDMChangeTest/NoResizeEventOnDMChangeTest.java > line 158: > >> 156: Frame f = fsWin instanceof Frame ? >> (Frame) fsWin : (Frame) fsWin.getOwner(); >> 157: DisplayMode oldMode = >> f.getGraphicsConfiguration().getDevice().getDisplayMode(); >> 158: gd.setDisplayMode(dm1); > > probably it will be good to add a delay here? What is the longest display > switch on the system where the bug is reproduced? a few seconds? Yeah, i think 2 seconds will be enough. ------------- PR: https://git.openjdk.java.net/jdk/pull/6186