-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
8u40
-
None
-
Win7 64bit
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();
}
}
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();
}
}
- duplicates
-
JDK-8134658 Iconification is bugged with undecorated stages.
- Closed
-
JDK-8088717 Win: UNDECORATED windows are not minimized with the taskbar button
- Resolved
- relates to
-
JDK-8095451 [Linux] Stage.setIconified(true) not working with TRANSPARENT or UNDECORATED stage
- Resolved