[kontact] [Bug 327865] New: Endless fetch loop with favorite collections

Christian Mollekopf mollekopf at kolabsys.com
Wed Nov 20 14:24:37 GMT 2013


https://bugs.kde.org/show_bug.cgi?id=327865

            Bug ID: 327865
           Summary: Endless fetch loop with favorite collections
    Classification: Unclassified
           Product: kontact
           Version: 4.11.3
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Severity: grave
          Priority: NOR
         Component: mail
          Assignee: kdepim-bugs at kde.org
          Reporter: mollekopf at kolabsys.com

The fixing of the buffering in the ETM exposed a new bug, that result in an
endless fetch loop if you have more than 10 favorite collections.

The basic loop is:
* dataChanged get's triggered for all favorite collections
* this results in rootIndexAboutToBeRemoved in KSelectionProxyModel
respectively Akonadi::SelectionProxyModel
* Akonadi::SelectionProxyModel dereferences the collection
* since this is done for all collections, the currently selected one falls out
of the buffer again => it get's purged
* The selection proxy references the collection again after the dataChange is
done
* items are fetched again
* dataChanged is emitted again
=> endless loop

Note that the endless loop would happen in any case with the selection proxy,
but if there are less than 10 folders in there, the buffering keeps the
currently selected folder from being purged.

I'm not sure yet how to fix this problem, but I'm working on it

Reproducible: Always

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list