Running KMail in KDE 4.8.2 with several IMAP accounts configured. I set KMail2 to offline and then switched off the network - so a typical offline usage. Result: No mails available offline akonadiserver IMAP (or similar) crashed To have all IMAP mail accounts unavailable in offline mode is a mess - that was working perfectly with KMail 1 . Please reenable resp. fix! Reproducible: Always Steps to Reproduce: 1. Switch off network 2. no mails available in IMAP folders 3. Expected Results: KMail can be used offline - switch between IMAP accounts is possible, mails are displayed Was working in KMail 1
In Mail accounts in the KMail preferences, there is a new setting "Enable disconnected mode" in "Advanced", which needs to be ticked. Can this maybe set by default?
...but it does not solve the problem: After I switched between 2 IMAP Accounts, no mails are displayed anymore. So the bug is still valid (unfortunately)
This is not fixed even in 4.8.4. I confirm this bug on 4.8.4 too. No matter if the IMAP is in disconnected mode (the option for the account 'Enable disconnected mode') or not, when no network KMail2 goes to offline mode and makes all IMAP accounts unavailable. Another problem with this is that if KMail checks for new mails and right at this time the network disappears, Kmail2 keeps on checking and after a while it spews errors about inability to connect to the accounts... The expected behavior is to stop all online checks and to go offline....
Setting status to confirmed based on comment #3
KDE 4.10.1: I have 2 IMAP accounts configured in disconnected mode (GMail and my school server). The school server works fine, GMail doesn't. Differences : school server has in the hundreds of messages, Gmail > 15K . I have manually selected which folders to subscribe to in gmail, not in the school IMAP. What happens : when I start kmail disconnected, GMail inbox doesn't load (keeps spinning). All other folders I tried in this resource load. When connection is established, only new mails (not available on previous connection, read/unread isn't relevant) are shown in inbox, other folders still work fine. Happens on both Chakra and Gentoo. I'll gladly provide any other information you need.
Offline mode for disconnected IMAp is still not reliable in 4.10.2. Is it maybe a caching problem in akonadi?
the problem is gone for me in kde 4.11.2. after upgrading to that version a lot of emails were loaded to the cache and since now everything works fine in offline mode.
well, I see this (mails not readable in disconnected imap account when server is not available) here in kmail from kde 4.13 . not in each case, however, as it seems that recently added emails are still visible/readable, while older ones are not.
(In reply to comment #8) > well, I see this (mails not readable in disconnected imap account when > server is not available) here in kmail from kde 4.13 . > not in each case, however, as it seems that recently added emails are still > visible/readable, while older ones are not. additional note: after having exported all mails (server online, of course), I can now read all mails also when the server is offline. with older kmail versions, this was not necessary - emails were always available offline.
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present? If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Works in Kmail 5.3.2
Axel, confirmed that it is fixed or that it does not work?
confirmed that it is fixed. Following your remark in the other bug I set it to resolved