Summary: | akonadi imap fails if Internet is not ready | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Txutxifel <jesaenh> |
Component: | IMAP resource | Assignee: | Christian Mollekopf <mollekopf> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | kdepim-bugs, mollekopf, vkrause |
Priority: | NOR | ||
Version: | 1.11.80 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdepim-runtime/e49c200ba4387a31e997fe24a4a86c8bb8045abc | Version Fixed In: | |
Sentry Crash Report: |
Description
Txutxifel
2014-01-11 19:24:03 UTC
Hi Still in KDE 4.13 Beta 1 (opensuse 64 bits) Is there any progress? Is it necessary any log, information? Thanks I just wanted to look into that, till are you already working on it? I can only say it still happen, imap is showed as disconnected, but i think akonadi google is affected. too. it starts as connected, but it is never updated. Thanks (In reply to comment #3) > I can only say it still happen, imap is showed as disconnected, but i think > akonadi google is affected. too. it starts as connected, but it is never > updated. > Thanks Jup, I can reproduce it and have a patch ready. It's just waiting to be reviewed. It should make it into 4.13 hopefully. Thanks for reporting. Thanks for fixing it. It was very annoying!!! Git commit 5d128773819d50278a194d6a16d5fa36c7e81908 by Christian Mollekopf. Committed on 23/03/2014 at 19:00. Pushed by cmollekopf into branch 'KDE/4.13'. Avoid setting the Agent online if it needs network but there is none. Without this patch an agent is online initially and only reacts to subsequent, online status changes. This cause for example the imap resource to go online when started without network connection (resulting in a wrong initial status), and as the imap resource tried to connect and failed, it set itself to offline, resulting in it not reacting to the network becoming available. With this patch all network detection code can be removed from the imap resource and it properly reacts to network changes. REVIEW: 117008 M +9 -1 akonadi/agentbase.cpp http://commits.kde.org/kdepimlibs/5d128773819d50278a194d6a16d5fa36c7e81908 Git commit e49c200ba4387a31e997fe24a4a86c8bb8045abc by Christian Mollekopf. Committed on 23/03/2014 at 17:38. Pushed by cmollekopf into branch 'KDE/4.13'. IMAP-Resource: Removed network-change handling With the fixed AgentBase we no longer need to handle network changes. This results in the imap resource correctly reacting to network changes. M +1 -13 resources/imap/imapresource.cpp http://commits.kde.org/kdepim-runtime/e49c200ba4387a31e997fe24a4a86c8bb8045abc |