Bug 405202

Summary: Icons in the tray should open the appropriate module
Product: [Applications] kontact Reporter: Gustavo Castro <gustawho>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Gustavo Castro 2019-03-08 03:16:55 UTC
SUMMARY
Currently when you click on the tray icon of one of the components, instead of directly opening the corresponding module, Kontact is opened with the previously used view.

STEPS TO REPRODUCE
1. Enable the "close to tray" option of either KMail or Akregator.
2. Go to any of the currently installed modules for Kontact.
3. Close the window.
4. Click on the KMail/Akregator tray icon.

OBSERVED RESULT
When you click on the tray icon of one of the components, instead of directly opening the corresponding module, the previously used (or current if Kontact isn't closed into the tray) is shown. For instance, if you're using the KOrganizer view within Kontact, then close the main window, then there's new mail and you click on the tray icon, KOrganizer pops up.

EXPECTED RESULT
The selected module should open (E.g. kontact --module kmailplugin).

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.15.2
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.1