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

Disabling taskbar flashing when new Utility Stage with Owner is created

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 7u6
    • javafx
    • JavaFX 2.2b13, Windows 7

      My application is remote controlled (important to know) and therefore rarely has keyboard or mouse focus (multi display system with potentially multiple users)

      When a Stage is created to show a Dialog for my application (a UTILITY style Stage with as its Owner the parent Stage), the Taskbar icon of my app flashes. This is undesired as the app does not need to get the users attention (after all, the user is controlling it by remote control). This happens because the App does not have keyboard/mouse focus, and Windows apparently thinks that showing a Stage of this type requires it to flash the Task icon.

      Is there any way to disable this behaviour, apart from not using Stages for Dialogs but rolling our own dialog (stackpane + nested event loop) infrastructure?

      Note: This is more than likely caused by the new Stage asking for focus.. I however did not ask for focus at all (and the parent didn't have focus either).

            Unassigned Unassigned
            jhendrikx John Hendrikx
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported: