[kmail2] [Bug 343034] New: KMail insists on offline mode, even when network connection is available

Martin Steigerwald ms at teamix.de
Mon Jan 19 09:20:18 GMT 2015


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

            Bug ID: 343034
           Summary: KMail insists on offline mode, even when network
                    connection is available
           Product: kmail2
           Version: 4.14.2
          Platform: Debian unstable
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: ms at teamix.de

I have statically configured network in /etc/network/interfaces. No network
manager (due to timing issues with NFS mounts on boot). After a hibernation and
probably also on other occurences I have it that KMail things it is in offline
mode, while the network connection is available and pings are working.

Reproducible: Sometimes

Steps to Reproduce:
I have no reliable reproducer yet.

Maybe hibernate and resume. Especially with a night in between.

Actual Results:  
- KMail says it is in offline mode.
- Clicking "online" to switch to online mode does not have any effect.
- Restarting Akonadi does not have any effect.
- Quitting and starting KMail does not have any effect.

Only thing that worked so far is:

ms at mango:~> cat bin/fix-kde-network-status.sh 
#!/bin/bash
# https://bbs.archlinux.org/viewtopic.php?pid=1057200#p1057200

killall -9 kded4
kded4 & disown

So this may be an kded issue instead, please reassign if so.

I dislike using this script tough (and may at least remove the -9 from the kill
command).

Before I used the script I tried to fiddle around with it with qdbus and got
this:

ms at mango:~> qdbus org.kde.kded /modules/networkstatus
org.kde.Solid.Networking.Client.status
1

Does it mean that it actually thought the network is available? If so, then
KMail didnĀ“t know about this.




Expected Results:  
KMail / kded detects actual network status.

Akonadi itself is operational. Kontact's journal does work for example.

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


More information about the Kdepim-bugs mailing list