<Swing Dev> RFR: 8253291: bug7072653.java still failed "Popup window height ... is wrong"

Sergey Bylokhov serb at openjdk.java.net
Sat Sep 19 04:37:58 UTC 2020


Same test as in https://github.com/openjdk/jdk/pull/197 but this time the intermittent problem appears on the small
screen.

The test checks that the size of the popup menu is expected, but the problem is that when we show the popup we
calculate it based on some initial insets, but when the windows appeared on the screen its icon is added to the dock,
if the dock does not have enough space for the new icons, then all icons in it have become smaller and the height of
the dock became smaller as well -> the insets are changed -> the test fails.

BTW for the test purpose, it is recommended to make the dock as small as possible.

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

Commit messages:
 - Update bug7072653.java

Changes: https://git.openjdk.java.net/jdk/pull/264/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=264&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8253291
  Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/264.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/264/head:pull/264

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


More information about the swing-dev mailing list