RFR: 8271054: [REDO] Wrong stage gets focused after modal stage creation [v3]
Thiago Milczarek Sayao
tsayao at openjdk.java.net
Tue Oct 12 19:35:50 UTC 2021
On Tue, 12 Oct 2021 15:16:53 GMT, Pankaj Bansal <pbansal at openjdk.org> wrote:
>> modules/javafx.graphics/src/main/java/com/sun/javafx/tk/quantum/WindowStage.java line 861:
>>
>>> 859:
>>> 860: // walk backwards to find a blocker
>>> 861: for (int i = activeWindows.size() - 1; i > 0; i--) {
>>
>> I think you will need to revert this part of the change.
>
> The test "WrongStageFocusWithApplicationModalityTest" passed for me on Ubuntu 20.04 VM. It failed first time, but when I re-ran it, it passed for me. I will run this change in Linux, Windows and Mac again today and report back.
@pankaj-bansal Wait, because I will rework it since it fails on JDK-8269429 and JDK-8240640.
-------------
PR: https://git.openjdk.java.net/jfx/pull/598
More information about the openjfx-dev
mailing list