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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8u20
    • javafx

      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());
          }

            Unassigned Unassigned
            msladecek Martin Sládeček
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Imported: