Skip to content

Activate main window after clicking a desktop notification (Windows) #209

@crwood

Description

@crwood

Spun off from #207, it would be useful if clicking a desktop notification bubble on Windows opened/showed/raised/focused the main window. Unfortunately, as seen in #208, calling activateWindow when 'messageClicked` fires does not behave as one might expect as per the Qt docs:

On Windows, if you are calling this when the application is not currently the active one then it will not make it the active window. It will change the color of the taskbar entry to indicate that the window has changed in some way. This is because Microsoft does not allow an application to interrupt what the user is currently doing in another application.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions