Bug 188067 - KMail window doesn't display if started by session manager
Summary: KMail window doesn't display if started by session manager
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Unspecified
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 122487 217474 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-25 11:55 UTC by Peter Lewis
Modified: 2015-04-12 10:13 UTC (History)
7 users (show)

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 Peter Lewis 2009-03-25 11:55:06 UTC
Version:            (using KDE 4.2.1)
Installed from:    Unlisted Binary Package

Hi,

I use the session manager to restart the programs that were running when I last logged out of KDE. One of these is KMail. I've noticed however, that KMail doesn't display its main window when it is started in this way.

At first, I thought that KMail wasn't starting, so just launched it again, at which point it displayed, but I've noticed that it *is* actually running, just not visible. Starting a second instance of KMail just creates / reveals the main window.

I've also noticed that any of KMail's notification pop-ups, such as for certificate warnings, *do* get displayed - so the bug is only affecting the main window.

Obviously I have no backtrace or anything, but if you need more info please just let me know what.

Thanks.
Comment 1 Rohit Jain 2009-03-25 17:25:55 UTC
Did you check system tray? kontact opens in system tray after restart.
Comment 2 Peter Lewis 2009-03-28 15:25:39 UTC
Hi,

I have system tray functionality turned off in KMail, so this shouldn't apply, right?

Thanks.
Comment 3 Peter Lewis 2009-04-03 10:22:37 UTC
Have just tested this with the system tray set to "always use", and I get the same behaviour. When KMail is started by the session manager, it doesn't display its window or icon in the system tray. However, a certificate warning pop-up was displayed and the kmail process is present.

This is with 4.2.2.

Thanks.
Comment 4 Martin Koller 2009-08-29 00:13:27 UTC
*** Bug 122487 has been marked as a duplicate of this bug. ***
Comment 5 Matthias Heinz 2009-12-19 10:33:57 UTC
Hi,

I've got a very similar problem. I don't use the session restore option, but the Autostart feature for kmail.

Kmail is started and I can see the process with ps, but the mainwindow doesn't get shown. I asked in the IRC channel for kde and somebody mentioned that this could be related to a dbus timeout, but I don't know how to verify this. But I found out that it could be related to kwalletmanager somehow. I have several applications that need access to kwalletmanager. amarok, korgac, kmail, .... If I just enable kmail for autostarting, i see the kwalletmanager dialog, enter my password and kmail pops up. If I e.g. add amarok to the autostart list I get the kwalletmanager dialog, amarok shows up, but not kmail (although its running in the background).

Regards,
Matthias
Comment 6 Björn Ruberg 2009-12-30 00:12:01 UTC
*** Bug 217474 has been marked as a duplicate of this bug. ***
Comment 7 Björn Ruberg 2009-12-30 00:18:48 UTC
*** Bug 135772 has been marked as a duplicate of this bug. ***
Comment 8 Philipp Woelfel 2011-05-20 23:11:44 UTC
Same problem here with openSUSE 11.4, kmail 1.13.7, KDE 4.6.3. Once kmail is started with the session manager, the only way to get the window to show is by killing the kmail process and then starting it again.
Comment 9 Laurent Montel 2015-04-12 10:13:51 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.