Show/open the window when clicking a notification by crwood · Pull Request #208 · gridsync/gridsync
It looks like this solution will not work. From the Qt docs for QWidget.activateWindow():
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.
This was referenced
May 9, 2019
crwood
deleted the
207.show-on-notification-click
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters