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

Application leaves fullscreen when using ALT+TAB

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: javafx
    • Environment:

      Java 1.6_12 / JavaFX 1.2
      Both windows / linux are affected.

      Description

      Hello.

      When a stage is in full screen mode, using ALT+TAB to switch with another application makes the Stage leave fullscreen.
      It is very annoying in particular when trying to copy/paste information.

      Below is a sample script that can be used to reproduce the problem.

      NOTE: it seems that sometimes (~10% of attempts) - for an unknown reason yet - it works and I am able to switch back to the application and it stays fullscreen.


      --------

      package sandbox;

      import javafx.stage.Stage;
      import javafx.scene.Scene;

      import javafx.scene.control.Button;

      var stage: Stage = Stage {
          title: "Application title"
          width: 250
          height: 80
          scene: Scene {
              content: [
                  Button {
                      text: "Switch screen mode"
                      action: function() {
                          stage.fullScreen = not stage.fullScreen ;
                      }

                  }
              ]
          }
      }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kcr Kevin Rushforth
                Reporter:
                duke J. Duke (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: