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

Stage steals focus on scene change

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • jfx20
    • jfx20
    • javafx
    • None

    Description

      There's a requestFocus() call on setScene() that causes the fx window to steal the user focus.

      Steps to reproduce:
      1) Run the attached sample
      2) Focus another window
      3) On scene change the focus will be stealed.

      Tested on Linux, but probably will either steal focus or show notifications/flash the taskbar on other platforms.

      Attachments

        Issue Links

          Activity

            People

              tsayao Thiago Sayao
              tsayao Thiago Sayao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: