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

Stage steals focus on scene change

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: