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

[Windows] Cannot iconify undecorated stage using Taskbar

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 8u40
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
      None
    • Environment:

      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

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported: