Bug 147313 - 'Mail' opens in new window (outside Kontact) when system tray icon is enabled
Summary: 'Mail' opens in new window (outside Kontact) when system tray icon is enabled
Status: RESOLVED DUPLICATE of bug 71408
Alias: None
Product: kontact
Classification: Applications
Component: mail (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-28 01:00 UTC by Shante Star
Modified: 2007-08-01 19:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shante Star 2007-06-28 01:00:45 UTC
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.
Comment 1 Thomas McGuire 2007-06-28 22:53:49 UTC
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?
Comment 2 Shante Star 2007-06-28 23:15:10 UTC
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.
Comment 3 Thomas McGuire 2007-06-28 23:22:50 UTC
> 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.
Comment 4 Shante Star 2007-07-20 00:08:44 UTC
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,
Comment 5 Thomas McGuire 2007-08-01 19:16:21 UTC
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 ***