RFR: 8342096: Popup menus that request focus are not shown on Linux with Wayland [v4]

Alexander Zvegintsev azvegint at openjdk.org
Fri Jan 24 21:23:03 UTC 2025


On Fri, 24 Jan 2025 17:30:30 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   getLocationOnScreen on EDT
>
> test/jdk/javax/swing/JPopupMenu/NestedFocusablePopupTest.java line 108:
> 
>> 106:         Point frameLocation = waitAndGetLocationOnEDT(frame);
>> 107:         robot.mouseMove(frameLocation.x + frame.getWidth() / 2,
>> 108:                 frameLocation.y + frame.getHeight() / 2);
> 
> Then `frame.getWidth()` and `frame.getHeight()` should also be called on EDT, shouldn't they?

Updated.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22729#discussion_r1929241686


More information about the client-libs-dev mailing list