RFR: 8271054: [REDO] Wrong stage gets focused after modal stage creation [v3]

Pankaj Bansal pbansal at openjdk.java.net
Tue Oct 12 15:20:53 UTC 2021


On Tue, 12 Oct 2021 15:12:43 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> Thiago Milczarek Sayao has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Break if reach self
>
> 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.

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

PR: https://git.openjdk.java.net/jfx/pull/598


More information about the openjfx-dev mailing list