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

[Windows] Cannot iconify undecorated stage using Taskbar

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • None
    • 8u40
    • javafx
    • None
    • Win7 64bit

    Description

      A simple stage with undecorated stage style, doesn't iconify if you click on the taskbar icon.

      It works with standard decoration.


      Test app:

      import javafx.application.Application;
      import javafx.scene.Scene;
      import javafx.scene.control.Label;
      import javafx.stage.Stage;
      import javafx.stage.StageStyle;

      public class FXAnimatorTestMain extends Application
      {

      public static void main(String[] args)
      {
      launch(args);
      }

      @Override
      public void start(Stage primaryStage)
      {
      Label frontLabel = new Label("This is the front.");

      primaryStage.initStyle(StageStyle.UNDECORATED);

      primaryStage.setWidth(200);
      primaryStage.setHeight(200);
      primaryStage.setScene(new Scene(frontLabel));
      primaryStage.show();
      }
      }

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rjahnjfx René Jahn (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: