Bug 487025

Summary: kmail systray click is broken in 6.* if opened through kontact instead of kmail
Product: [Applications] kontact Reporter: Christian (Fuchs) <kde>
Component: mailAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 6.0.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Christian (Fuchs) 2024-05-14 16:19:33 UTC
SUMMARY
Kmail has an option to show a systray icon for unread mails.
Clicking on this icon used to (and is supposed to, I guess, see below) toggle showing kmail if clicked.
This no longer works in Plasma 6 / with KDEPim 6 if and only if kmail was started through kontact. It does work when starting kmail directly. It also occasionally starts working again after closing kontact, opening kmail, closing kmail, opening kontact.

STEPS TO REPRODUCE
1. Configure kmail to show a systray icon
2. Start kontact
3. Click the icon

OBSERVED RESULT
The kmail (or kontact) window should toggle  (minimize and un-minimize)

EXPECTED RESULT
Nothing happens on click

Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Kernel Version: 6.8.9-300.fc40.x86_64 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8265U CPU @ 1.60GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: LENOVO
Product Name: 20NQS30W00
System Version: ThinkPad X390 Yoga