Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-112170

QSystemTrayIcon::messageClicked also invoked if clicked on foreign notifications

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.15.7, 6.5.0 RC
    • None
    • Linux/Wayland, Linux/X11

      Originally reported as https://github.com/keshavbhatt/whatsie/issues/42.

      The application uses a QSystemTrayIcon. Whenever the tray icon or message is clicked, the application window opens in the foreground.

      The bug is that even if any other application (mail client, browser) shows a notification, the Qt application opens itself in the foreground. This is highly annoying.

      The cause for this is that QDBusTray connects to the ActionInvoked Signal without checking that it was invoked for the notification sent by this application.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            vogtinator Fabian Vogt
            Votes:
            5 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes