Bug 250554 - Akonadi error messages when no network connection
Summary: Akonadi error messages when no network connection
Status: RESOLVED DUPLICATE of bug 247615
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: GoogleData Resource (show other bugs)
Version: 4.5
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Adenilson Cavalcanti
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-08 13:18 UTC by jamese
Modified: 2010-10-07 12:01 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
example dialogue box error message (15.94 KB, image/png)
2010-09-08 13:18 UTC, jamese
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jamese 2010-09-08 13:18:44 UTC
Created attachment 51421 [details]
example dialogue box error message

Version:           4.5 (using KDE 4.5.0) 
OS:                Linux

When there is no network connection, Akonadi tries to contact the configured calendar & contacts resource and errors out in the process. This results in dialogue boxes appearing on the screen

e.g "akonadi_googledata_resource_3 - Invalid password or network proxy."

When the network is reconnected, the dialogues no longer appear.

If you suspend a laptop, the dialogue box appears just prior to suspend. Resuming from suspend and there are usually about 8 dialogues in the task bar all containing the same information.

Can the Akonadi error messages be supressed, or be transferred to the system tray notification system? Alternatively, Akonadi should just detect that there is no network connection and not bother trying to connect to the remote resources in the first place.

Note that I use the Gnome network manager applet (nm-applet) to manage the network as the KDE network manager doesn't work with my Mobile Broadband account.


Thanks!

Reproducible: Always

Steps to Reproduce:
Can be reproduced by
1. Start computer
2. Akonadi will ask for a wallet password & nm-applet will ask for a keyring password (if you are using it)
3. Multiple dialogues boxes will appear during this time, even when typing in the passwords or waiting for network to configure.

Also
1. Suspend the computer
2. A dialogue will appear before going to suspend state
3. Resume from suspend
4. Generally about 6 dialogues containing the "Invalid password or network proxy." will then be in the task bar.


Actual Results:  
Akonadi shouldn't try to contact a remote resource when there is no network configured. If it does, then it shouldn't be so noisy about failures and one error message in the system tray notification area will suffice.

Expected Results:  
Wait until the network is configured, then try to connect, then if the connection fails push a message to the system tray notification handler, rather than bombarding the desktop with multiple dialogues containing the same information that the user has to close.

The dialogue boxes just contribute to noise that gets in the way of using KDE software.
Comment 1 Alexey Shildyakov 2010-09-11 09:43:45 UTC
Maybe duplicate if bug 247615
Comment 2 jamese 2010-10-07 12:01:30 UTC

*** This bug has been marked as a duplicate of bug 247615 ***