Bug 290317 - KMail sometimes shows only a spinning wheel for a folder, no contents
Summary: KMail sometimes shows only a spinning wheel for a folder, no contents
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: folders (show other bugs)
Version: Git (master)
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-01 13:51 UTC by Thiago Macieira
Modified: 2017-01-07 21:45 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thiago Macieira 2012-01-01 13:51:49 UTC
Version:           Git (master) (using Devel) 
OS:                Linux

Sometimes, after starting, KMail shows one or more folders with the "spinning wheel" indication that it's working. While it's normal for it to do that for large folders that haven't been used in a while, this happens on start up and does not go away for some folders.

Often, in this situation KMail displays an error dialog saying
  Unknown error. (Unable to fetch item from backend)

I am unable to read any emails that were present in the folder when KMail started. Newly arrived emails show up, though.

To make this problem go away, I need to completely stop both KMail and Akonadi and it takes a few tries. I *think* it's associated with a background job that is still running but has no visible UI indication. That might explain why stopping Akonadi causes it.

Reproducible: Didn't try

Steps to Reproduce:
1) start KMail
2) close KMail, don't stop akonadi
3) start KMail again

Actual Results:  
Some folders (especially the root INBOX folder on my IMAP server) are not usable at all, even if I wait a long time.

Expected Results:  
All folders should be usable after a reasonable settle-down time.

OS: Linux (x86_64) release 3.1.6-1.fc16.x86_64
Compiler: gcc
Comment 1 András Manţia 2012-01-05 12:56:28 UTC
Do you use mysql as backend or sqlite?
Comment 2 Thiago Macieira 2012-01-05 13:18:52 UTC
mysql
Comment 3 Blackpaw 2012-01-26 10:09:00 UTC
I see this one a lot as well. Nothing custom about the setup

Kubuntu 11.10
KDE 4.8
GMail IMAP Account
Comment 4 Blackpaw 2012-01-26 10:10:04 UTC
Bugger it:
- mysql as the backend
Comment 5 jos poortvliet 2012-08-06 19:43:09 UTC
might be related to bug #289097 ?!?
Comment 6 Denis Kurz 2016-09-24 18:21:10 UTC
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.
Comment 7 Thiago Macieira 2016-09-24 18:52:20 UTC
Not reopening, there is a similar bug but it has different behaviour.
Comment 8 Denis Kurz 2017-01-07 21:45:45 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.