<Swing Dev> RFR: 8211999: Window positioning bugs due to overlapping GraphicsDevice bounds (Windows/HiDPI) [v2]
Sergey Bylokhov
serb at openjdk.java.net
Wed Oct 28 23:54:55 UTC 2020
On Wed, 28 Oct 2020 20:44:01 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
>> Sergey Bylokhov has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains six commits:
>>
>> - Merge branch 'master' into JDK-8211999
>> - Update FullscreenWindowProps.java
>> - Merge branch 'master' into JDK-8211999
>> - Fix fullscreen in HiDPI mode
>> - self review
>> - Initial fix version
>
> test/jdk/javax/swing/JTextArea/8149849/DNDTextToScaledArea.java line 81:
>
>> 79: robot.mousePress(InputEvent.BUTTON1_MASK);
>> 80: robot.mouseRelease(InputEvent.BUTTON1_MASK);
>> 81: robot.waitForIdle();
>
> Why is clicking the `dstTextArea` required?
Mostly to make window active, when I stress testing the fix, this test rarely fails(before and after the fix) I think due to the window appeared inactive and DnD did not start/not complete.
-------------
PR: https://git.openjdk.java.net/jdk/pull/375
More information about the swing-dev
mailing list