Revert "D-Bus system tray: properly check whether StatusNotifierHost available"
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Sat, 8 Feb 2025 16:24:33 +0000 (19:24 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Sat, 8 Feb 2025 16:24:33 +0000 (19:24 +0300)
commit22e5cb5d8510c0efb5dcc42709a3ee6e06ff929b
tree51e8d6f5715cf112cb83c8bb56bd367749acfc2b
parentb423431690c611b2b9cbb605106c082c5c3699e9
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