On Wed, 24 May 2023 02:58:54 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:
>> Tejesh R has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Updated based on review comments > > test/jdk/java/awt/PopupMenu/PopupMenuStayOpen.java line 30: > >> 28: @summary Checks that popup menu stay open after a triggering click. >> 29: @key headful >> 30: @run main/othervm -Dsun.java2d.uiScale=1 PopupMenuStayOpen > > Why do you need to set uiscale=1 in this test? If the uiscale is not set then the position of popup menu varies according to display screen, like may not be always from bottom-left of cursor (when mouse click happens). Since we are only open sourcing the test, so had to set the scale to 1 so that it passes in all conditions. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/13828#discussion_r1203361682