Bug 232568 - KOrganizer with IMAP: Marking a task as done leads to an infinite loop of uploads
Summary: KOrganizer with IMAP: Marking a task as done leads to an infinite loop of upl...
Status: RESOLVED WORKSFORME
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 4.4.1
Platform: openSUSE Unspecified
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-29 12:53 UTC by uli9999
Modified: 2011-07-15 12:56 UTC (History)
3 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 uli9999 2010-03-29 12:53:24 UTC
Version:            (using KDE 4.4.1)
Installed from:    openSUSE RPMs

I am using KOrganizer of Opensuse's KDE 4.4.1 packages.

My tasks are saved in a DIMAP resource.

When I create a new task, it is uploaded to the IMAP server immediately. This works fine.

When I mark it as done by setting the check mark in front of it, the IMAP server is updated immediately as well. But as soon as this arrives at 100%, it starts all over again. If I interrupt the update of the IMAP server using the controls in the lower right corner of Kontact, it also starts again immediately, no matter how often I interrupt it. The only way to stop this is to quit KOrganizer/Kontact. Afterwards, the task is marked correctly as done (or sometimes I am asked about a conflict between the local and the remote version of the task).

Sometimes, this leads to a corrupted tasks-IMAP-folder-index, causing thousands of almost empty messages being created.

In total, this makes the "tasks feature" of KOrganizer almost unusable in connection with IMAP resources.
Comment 1 Stefan Vater 2010-04-01 14:29:10 UTC
I can confirm this problem using KDE SC 4.4.2 with OpenSUSE rpms.
Comment 2 uli9999 2010-05-06 17:50:29 UTC
I have now disabled the option in KMail's workgroup settings that changes get uploaded immediately after changes.

Now (using KDE 4.4.3) changing a task leads to the following behaviour: There is no IMAP activity, but the CPU load goes up to 100% indefinitely until closing KMail. Starting KMail again and lettingen it check the IMAP mailbox, the changes get uploaded correctly once.

The CPU load comes mainly from kontact (~60%), but also from akonadi_kcal_resource, korgac, and dbus-daemon (~12% each).
Comment 3 John Schmidt 2010-05-11 04:46:03 UTC
I am seeing this bug as well with Debian unstable 4:4.4.3-1 of kdepim.

Any modifications to a Task item either checking the completed checkbox or altering the percent complete of a task causes repeated synchronizations with my disconnected IMAP account.  The only way to stop it is to quit either korganizer or kontact and restart.  Once it is restarted, the task appears to be modified correctly.

However, using the right click button to delete the task does NOT cause the repeated synchronizations.  Deleting a task this way seems to work correctly.

John Schmidt
Comment 4 uli9999 2010-08-11 12:07:34 UTC
Still exists in 4.5.0 (with openSUSE).
Comment 5 Sergio Martins 2011-07-15 12:56:39 UTC
Try the new kolab resource, in kdepim 4.6.