Skip to content
This repository was archived by the owner on May 22, 2020. It is now read-only.
This repository was archived by the owner on May 22, 2020. It is now read-only.

When an application is hidden using the tray icon, core notifications take 5 seconds longer to show #394

@MichaelMCoates

Description

@MichaelMCoates

Issue:
When an application is hidden using the tray icon, core notifications take 5 seconds longer to show than they normally do.

How to reproduce:

  • Create an application (RUN-2863 [6.49.21.*] Start merging external process and external application APIs #1) with a tray icon.
  • Put an element on the DOM, and attach an click listener to it that hides the window.
  • Attach the same listener to the tray icon on click.
  • Create a separate application that sends an InterAppBus message to Application 1.
  • When Application 1 receives that message, have it create an OpenFin Notification.
  • Compare the time it takes to show the notification.

When you hide the window using the DOM Element click handler, notifications show up normally. However, if you hide the window using the tray icon, it takes significantly longer to show.

In verbose logs, take a look at the time elapsed between the create-notification and show-window actions. There is a 5 second delay between the events if you hide using the tray icon. If you hide using the DOM element, the difference is less than a second.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions