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

[macos] Mac beep when full screen with stage transparent

XMLWordPrintable

      ADDITIONAL SYSTEM INFORMATION :
      Mac big sur
      Java 17.0.2
      Javafx 17.0.2

      A DESCRIPTION OF THE PROBLEM :
      Mac will beep when use transparent style and set full screen to key typed.
      If we click screen once, the bug will disappear。
      So don't use mouse if this demo run.

      REGRESSION : Last worked in version 17.0.2

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Just run demo and press any key, mac will beep. don't touch mouse when this demo run. If you click app, the beep will disappear, if you full screen back again , you can reproduce this problem.


      ---------- BEGIN SOURCE ----------
      import javafx.application.Application;
      import javafx.scene.Group;
      import javafx.scene.Scene;
      import javafx.scene.control.TextField;
      import javafx.stage.Stage;
      import javafx.stage.StageStyle;

      public class Main extends Application {

          @Override
          public void start(Stage primaryStage) throws Exception {
              primaryStage.setScene(new Scene(new Group(), 200, 200));
              primaryStage.setFullScreen(true);
              primaryStage.initStyle(StageStyle.TRANSPARENT);
              primaryStage.show();
          }
      }
      ---------- END SOURCE ----------

      FREQUENCY : always


        1. Main.java
          0.5 kB
          swati sharma

            kcr Kevin Rushforth
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: