[Modality] Z-order issue

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: fx2.0
    • Component/s: javafx

      Launch attached application

      Do so, that application window would be upper then some window (for example opened Net-beans)
      Click "Init"
      In appeared window click "NONE"
      In appeared window click "WIN"
       You have created the next hierarchy of windows: (Initial stage (type:none) -> the first stage(title: stage0; type:none) -> the second stage(title:stage1; type:none) -> the third stage (title: stage2; type:window_modal)).

      (A -> B means that A has i child stage B, or B has a parent A)

      Click on any of the "Click, when you are ready to close all stages"

      This code will work:
      for (Stage stage : ModalityWindow.allStages) {
                          stage.close();
                      }

      where allStages is the stack of created stages.

      You may see, that after clicking on all stages close button, the "primaryStage" (that is initial stage) will disappear under your program (I supposed NetBeans).

      That was reproduced from tests on modality. That leads tests to fail.

            Assignee:
            Unassigned
            Reporter:
            Alexander Kirov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Imported: