Bug 388562

Summary: kleopatra is _NOT_ the active window when started from system-tray 'Status & Notifications'
Product: [Applications] kleopatra Reporter: Achim Bohnet <ach>
Component: generalAssignee: Andre Heinecke <aheinecke>
Status: ASSIGNED ---    
Severity: minor CC: alexander.lohnau, kdepim-bugs, legaev.andrey, mutz
Priority: NOR    
Version: 3.0.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Achim Bohnet 2018-01-05 12:01:22 UTC
Every program is the active window when started.  Same from programs running invisible in the background (like telegram, owncloud, kdeconnect ...)

BUG: kleopatra is not the active window when started via 
     system-tray 'Status & Notifications'


Works as expected: When shown via command line or krunner, kleopatra is the active window.
Comment 1 Andrey Legayev 2020-04-19 17:56:12 UTC
As I see v3.1.11 works as expected:
 - it's active window when started via command or menu
 - on logout/login hide/show status is restored according to saved KDE session
Comment 2 Achim Bohnet 2020-04-20 10:51:23 UTC
Thx.  Great to read that it will be fixed!  Will 3.1.11 be part of KDE Apps 20.04?

I've tried again with kleopatra 3.1.8 (19.12.3) and bug is-not-active-window-when-started-from-systray is still true.
Comment 3 Alexander Lohnau 2020-07-10 12:41:26 UTC
Huh, I colud reproduce this on v3.1.11.

Maybe you just have to click inside of the other window to reproduce.
If I have the window open and close it using the system tray and then open it using the system tray it is shown on top. But not if clicking inside of another window after closing it.
Comment 4 Bug Janitor Service 2021-04-19 19:00:12 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/802