Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8087456

[Gtk] Calling setIconified(true) on a window with a child does not iconify the window

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 8u20
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:

      Description

      Although the property is set to true, nothing really happens:

         @Override
          public void start(Stage stage) throws Exception {
              stage.setScene(new Scene(new Group(),100f,100f));
              stage.show();
              Stage stage2 = new Stage();
              stage2.setScene(new Scene(new Group(),100f,100f));
              stage2.initOwner(stage);
              stage2.show();
              stage.setIconified(true);
              System.out.println("stage.inconified=" + stage.isIconified() + ", stage2.inconified=" + stage2.isIconified());
          }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                msladecek Martin Sládeček
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Imported: