Version: 1.2.5 (using KDE KDE 3.5.7) Installed from: Ubuntu Packages OS: Linux When 'Enable System Tray' icon is selected (in Kontact via Settings/Configure Kmail/Appearance/System Tray'), clicking the Mail icon opens the mail component in a new window. It would be expected after this change that the component still open embedded within Kontact.
What exactly do you mean with "opens the mail component in a new window"? Do you have two Kontact windows afterwards? Or one Kontact, one KMail window? Or does the Kontact window change the desktop? Or something else?
Assuming that you have the main Kontact window open, with the icons along the left side and (for instance) the Calendar component selected, Kontact remains unchanged. The Calendar module stays selected, and a new window opens, containing only the mail component, such as if you had run Kmail by itself.
> Assuming that you have the main Kontact window open, with the icons along > the left side and (for instance) the Calendar component selected, Kontact > remains unchanged. The Calendar module stays selected, and a new window > opens, containing only the mail component, such as if you had run Kmail by > itself. Sounds strange. For me, it works correctly. Clicking the system tray icon of KMail does the following for me. - Minimize Kontact if on the current desktop (mail component is selected when clicking the icon again and it maximizes) - Change desktop and switch to the mail component if not on the current desktop I've never seen your problem.
Well, I just ran into the problem again, and I think I have an answer. Steps to reproduce: First, ensure that the system tray icon is enabled (configure kmail, appearance, system tray, "Always show system tray icon". Then: 1) With Kontact and Kmail both not running, start Kmail (either directly, or by clicking on a mailto link, etc). 2) Close message, and any open Kmail windows. Leave the system tray icon running. 3) Open Kontact again 4) Kontact loads, and opens Kmail separately 5) Close separate kmail window. Now, anytime the mail icon is clicked, it will open a new kmail window as opposed to embedding kmail within kontact. It appears to happen whenever Kmail is started by itself, before Kontact loads. While Kmail remains open, either by leaving a composer window running, or just by the system tray icon, Kontact will reuse that window, as opposed to embedding it. Hope that helps,
Thanks for the description, I can now reproduce it, too. However, I also found that this problem is already reported at bug 71408, therefore I'll close this bug report as a duplicate. *** This bug has been marked as a duplicate of 71408 ***