Bug 280359 - Akonadi shows a lot of warnings
Summary: Akonadi shows a lot of warnings
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: POP3 Resource (show other bugs)
Version: 1.6.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Thomas McGuire
URL:
Keywords:
: 281677 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-08-18 15:19 UTC by mkay
Modified: 2011-09-15 21:01 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mkay 2011-08-18 15:19:49 UTC
Version:           1.6.0 (using KDE 4.7.0) 
OS:                Linux

I have kmail2 with akonadi integration. i've got several pop3 account defined and i've set each one to do periodical checks for new mails. The problem is, that i've got this configuration on my laptop, which i move to diffrent places few times per day. each time when i'm not connected to wifi, akonadi show warning "unable to login to the server xxxxxxx. Unknown host xxxxxxx: host not found'. As i've wrote i've got several pop3 accounts and each one is checked evere 5-10 minutes, so after half a hour without connection to the internet i've got tens of windows with warnings like above and i have to click 'ok' in each one to close them.

Reproducible: Always

Steps to Reproduce:
configure few pop3 accounts, set them to periodically check for new mails and kill your internet connection


Expected Results:  
i think the perfect solution for that would be just showing one window (or even better - notification in systray) to inform user "hey - i'm offline. you won't get any new mails for now" and then maybe another notification "i'm online again. back to work"
Comment 1 Christophe Marin 2011-09-13 12:33:23 UTC
*** Bug 281677 has been marked as a duplicate of this bug. ***
Comment 2 Christophe Marin 2011-09-13 12:33:38 UTC
*** Bug 281935 has been marked as a duplicate of this bug. ***
Comment 3 Thomas McGuire 2011-09-15 20:56:27 UTC
Git commit 981b0f7c3d36b20245002cf8f2021784980d48f0 by Thomas McGuire.
Committed on 15/09/2011 at 22:48.
Pushed by tmcguire into branch 'master'.

Revert "Inform when we make a bad password (not new i18n)"

On the next mail check, the user will be asked for the password
again, since we set mAskAgain to true.
In addition, the error message is shown by AkonadiTray, like
any other error message from Akonadi.

BUG: 281935
This reverts commit 38af197f1f73242a8739e704a39bdeb75ce61020.

M  +3    -4    resources/pop3/pop3resource.cpp

http://commits.kde.org/kdepim-runtime/981b0f7c3d36b20245002cf8f2021784980d48f0
Comment 4 Thomas McGuire 2011-09-15 20:59:35 UTC
This was a regression caused by commit 38af197f1f73242a8739e704a39bdeb75ce61020, which I have now reverted.

The new behavior (and the behavior before the above mentioned commit) is:
If the mail check fails during login phase, the user will be asked for the password again during the next mail check.
In addition, if the akonadi tray program is running, a passive popup is shown. We're thinking of moving these popups to KDED, to ensure they are always being shown, even if akonadi tray is not running.