[Bug 311667] New: If KMail is launched at startup time it will stay Offline.

Martín Cigorraga msx at archlinux.us
Fri Dec 14 01:22:05 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=311667

            Bug ID: 311667
          Severity: normal
           Version: 4.9.4
          Priority: NOR
          Assignee: kdepim-bugs at kde.org
           Summary: If KMail is launched at startup time it will stay
                    Offline.
    Classification: Unclassified
                OS: Linux
          Reporter: msx at archlinux.us
          Hardware: Archlinux Packages
            Status: UNCONFIRMED
         Component: general
           Product: kmail2

If KMail is launched at startup time then it will be stay Offline until you
restart it, the Work Online menu option wont't do anything.
I suspect there could be a race condition here because while NetworkManager is
launched far earlier at boot time (thanks to systemd) the KDE environment may
not be able to setup a working internet connection fast enough before
Kontact/Kmail is invoked.
I use a bash script as a work around that sleeps for ten seconds and then
launch Kontact.

Reproducible: Always

Steps to Reproduce:
1. System Settings -> Startup and Shutdown -> Add Program -> kontact --iconify
2. 
3.
Actual Results:  
Log out and in again: it should work - meaning KMail will be Online.
Reboot: -- it shoudln't work now. Kmail will be launched Offline and the only
way to change it back online is to restart the app (or the whole Kontact PIM
Suite).

Expected Results:  
When Kmail/Kontact is started it is already online.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list