Bug 265563 - No way to force-refresh the contents of a folder
Summary: No way to force-refresh the contents of a folder
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: index (show other bugs)
Version: 1.13.5
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-06 01:45 UTC by Davor Cubranic
Modified: 2015-04-12 09:58 UTC (History)
0 users

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 Davor Cubranic 2011-02-06 01:45:42 UTC
Version:           1.13.5 (using KDE 4.5.1) 
OS:                Linux

Occasionally, KMail gets completely out-of-sync with contents of an IMAP folder. When that happens, nothing I do in the UI (check mail in this folder, refresh folder list) can get KMail back in sync with the actual state of the folder. The only solution is to exit the application, delete the folder's index, and restart KMail.

This actually happens with some regularity for the Sent folder on the server. Typically, at the start of the month it is automatically moved to a "Sent-mmm-yyyy" folder, and a clean Sent started in its place. KMail is not running at that time, but the next time it runs it misses this change and still shows the old contents in Sent.

It may be too difficult to detect when something like this happens and handle it correctly, although it would be the preferred solution. But as a workaround, can at least there be a UI action that will force-refresh the folder? I don't know if this should be done as part of "Check mail in this folder" (F5) or if there should be a new action (Shift-F5, similar to how refresh/force-refresh of a page is done in some browsers). But either would be better than expecting the user to deal with bad index files by hand.

Reproducible: Sometimes




OS: Linux (i686) release 2.6.35-25-generic
Compiler: cc
Comment 1 Laurent Montel 2015-04-12 09:58:49 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.