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

Disabling taskbar flashing when new Utility Stage with Owner is created

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 7u6
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:
    • Environment:

      JavaFX 2.2b13, Windows 7

      Description

      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).

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Imported: