From 9e251d44a79e171f093e89b21215d7372866ef4c Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Thu, 17 Nov 2022 10:16:45 +0100 Subject: [PATCH] doc: update the limitation of QSystemTrayIcon on X11 See also https://blogs.gnome.org/aday/2017/08/31/status-icons-and-gnome/ Pick-to: 6.4 6.2 5.15 Task-number: QTBUG-107727 Change-Id: Iac08ab34e3ce248e74d4b9bd3979e76b72d82244 Reviewed-by: Paul Wicking --- src/widgets/util/qsystemtrayicon.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/widgets/util/qsystemtrayicon.cpp b/src/widgets/util/qsystemtrayicon.cpp index d264cfe6324..903cb4380c0 100644 --- a/src/widgets/util/qsystemtrayicon.cpp +++ b/src/widgets/util/qsystemtrayicon.cpp @@ -92,7 +92,9 @@ static QIcon messageIcon2qIcon(QSystemTrayIcon::MessageIcon icon) Only on X11, when a tooltip is requested, the QSystemTrayIcon receives a QHelpEvent of type QEvent::ToolTip. Additionally, the QSystemTrayIcon receives wheel events of - type QEvent::Wheel. These are not supported on any other platform. + type QEvent::Wheel. These are not supported on any other platform. Note: Since GNOME + Shell version 3.26, not all QSystemTrayIcon::ActivationReason are supported by the + system without shell extensions installed. \sa QDesktopServices, {Desktop Integration}, {System Tray Icon Example} */