Created attachment 134196 [details]
When Konversation does not appear on top.
Sometimes Konversation does not appear on top when called from Plasma system tray. I experimented a bit but cannot confirm what conditions make the window appear on top and what do not. None of the other windows is forced on top by KWin rules.
STEPS TO REPRODUCE
1. Open Konversation and minimize it to Plasma system tray;
2. Click the tray icon to resume Konversation.
Konversation appears above other windows.
Sometimes Konversation appears beneath other windows. When this happens it will be shown highlighted in the taskbar.
Linux: Arch Linux
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2
*Sorry I messed up the observed and expected results in bug description but you get the idea.
*** This bug has been marked as a duplicate of bug 423857 ***
Un-duping since Konversation will need an app-specific fix for this; see https://invent.kde.org/frameworks/kdbusaddons/-/merge_requests/5.
This needs a fix like the one in https://invent.kde.org/plasma/discover/commit/57dc3b725d1bfed713dffbc13543f79300503d61.
A possibly relevant merge request was started @ https://invent.kde.org/network/konversation/-/merge_requests/69
Git commit 82cf2e1fb59daf71c0d577f5a296b8b2fb2b24a1 by Friedrich W. H. Kossebau.
Committed on 22/12/2021 at 20:26.
Pushed by kossebau into branch 'release/21.12'.
On activation by KDBusService set proper startupId/activation token
M +10 -0 CMakeLists.txt
M +1 -0 config-konversation.h.cmake
M +4 -0 src/CMakeLists.txt
M +17 -1 src/application.cpp