https://bugs.kde.org/show_bug.cgi?id=509990

--- Comment #20 from [email protected] ---
If you run a Qt app in KDE with XDG_CURRENT_DESKTOP and KDE_FULL_SESSION env
variables unset which prevents Qt from loading KDE platform theme plugin, the
window activation by clicking on tray icon starts to work. That's because Qt's
own implementation of SNI for QSystemTrayIcon also supports
ProvideXdgActivationToken and it sets XDG_ACTIVATION_TOKEN env variable:
https://github.com/qt/qtbase/blob/12313f3ebe00808e9b1c27ddcb49cedf3e09582b/src/gui/platform/unix/dbustray/qstatusnotifieritemadaptor.cpp#L140

KWindowSystem's window activation machinery can probably be removed (at least
partially?) since Qt already supports xdg-activation.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to