[Digikam-devel] [Bug 182858] New: digiKam becomes unusable when removing a collection that is part of a "Find Duplicates" search result

Andi Clemens andi.clemens at gmx.net
Mon Feb 2 12:06:05 GMT 2009


http://bugs.kde.org/show_bug.cgi?id=182858

           Summary: digiKam becomes unusable when removing a collection that
                    is part of a "Find Duplicates" search result
           Product: digikam
           Version: 0.10.0-rc2
          Platform: unspecified
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: Searches
        AssignedTo: digikam-devel at kde.org
        ReportedBy: andi.clemens at gmx.net


Version:           0.10.0-rc2 (using 4.2.00 (KDE 4.2.0), Arch Linux)
Compiler:          gcc
OS:                Linux (i686) release 2.6.28-ARCH

I removed a collection (in digiKam's collection setup, not physically) and
restarted the application.
The start-up took nearly 2 minutes. After digiKam was loaded, all image
thumbnails flickered like crazy and where "jumping" around as I hovered over
with the mouse cursor.

Opening htop revealed that digiKam has started over 1000 tasks! After a while
digiKam crashed completely and I restarted again, but no luck.
I even restarted my machine, still the same issue.

After a while I realized that the collection was part of a "Find Duplicates"
search result and that digiKam tried to scan those files all the time, although
the collection was removed from the setup.
The only solution was to eliminate the search from the database:

DELETE FROM Searches WHERE type == 7;

After removing those entries, digiKam started normally again.
We need to make sure that removing a collection updates the "Find Duplicates"
search result, otherwise you are not able to work with digiKam or your computer
anymore.

Andi Clemens


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list