Bug 429811 - Akonadi tries to fetch the mail too soon after reboot resulting in offline mode for kmail
Summary: Akonadi tries to fetch the mail too soon after reboot resulting in offline mo...
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.15.80
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-29 16:27 UTC by ivan.planinar
Modified: 2020-11-29 16:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ivan.planinar 2020-11-29 16:27:49 UTC
SUMMARY

Sometimes when I restart the PC, internet connection doesn't come up instantly, but in like 5-7 seconds or so.

The trouble is, Akonadi/Kmail starts as soon as KDE shows up, so when there's no insta-internet, it reports 'connection with kwallet broken' and makes my kmail account go into offline mode.

Is it possible to set Akonadi somewhere to WAIT a few secs after PC restart? Or if that is not possible, how about to restart itself automatically after failed attempt?

STEPS TO REPRODUCE
1. Reset the PC 
2. If internet isn't momentarily connected, akonadi will report broken wallet and will turn kmail accounts to offline mode.

Latest KDE on Arch. Akonadi/Kmail is fetching 2 gmail accounts.