Revert "D-Bus system tray: properly check whether StatusNotifierHost available"
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Fri, 25 Oct 2024 09:40:08 +0000 (12:40 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Fri, 25 Oct 2024 09:40:08 +0000 (12:40 +0300)
commiteeda88386e34969cec56f0af30e52700a868daaa
treecbf56c5884ef2f0e292a3a11ed487cf3b5bb2e0f
parent0498c29b663b8bda32805b6f21fedd3d00ce2a93
Revert "D-Bus system tray: properly check whether StatusNotifierHost available"

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=447f3ade9a284d52
Last-Update: 2024-07-24

The original commit was made based on a KDE workaround for
libdbusmenu-qt crash, but Qt is not using libdbusmenu-qt, Qt is not
watching for StatusNotifierHost registration and Qt is not capable
to switch backends on the fly leading to tray support being
not detected on Plasma Wayland sessions and falling back to the poor
legacy protocol on X11.

Gbp-Pq: Name revert_statusnotifierhost_checking.diff
src/platformsupport/themes/genericunix/dbusmenu/qdbusmenuconnection.cpp
src/platformsupport/themes/genericunix/dbusmenu/qdbusmenuconnection_p.h
src/platformsupport/themes/genericunix/dbustray/qdbustrayicon.cpp
src/platformsupport/themes/genericunix/qgenericunixthemes.cpp