[digikam] [Bug 375573] Don't reset/destroy context after deleting one image among a set of duplicates

Mario Frank bugzilla_noreply at kde.org
Sat Feb 4 15:48:34 GMT 2017


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

Mario Frank <mario.frank at uni-potsdam.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://commits.kde.org/dig
                   |                            |ikam/7ceca1f172828e48b47c50
                   |                            |88b61b2452b7820e52
   Version Fixed In|                            |5.5.0
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Mario Frank <mario.frank at uni-potsdam.de> ---
Git commit 7ceca1f172828e48b47c5088b61b2452b7820e52 by Mario Frank.
Committed on 04/02/2017 at 15:47.
Pushed by mfrank into branch 'master'.

We do not rescan for duplicates if an image is deleted any more.
Instead, all duplicates albums in left pane are updated, i.e. the items count,
and average similarity are recalculated. If only one duplicate is left,
the duplicates album is hidden. This solves the problem of losing context
due to the rebuild of the SAlbums. I see no other good technical
possibility of preserving the context since the SAlbums are deleted
automatically.
Also, the similarities to images are not deleted any more. Otherwise the
calculation
of the average similarity would be wrong. We will take care of the similarity
values
in garbage collection branch.
FIXED-IN: 5.5.0

M  +2    -1    NEWS
M  +9    -20   libs/album/albummanager.cpp
M  +1    -1    libs/album/albummanager.h
M  +17   -0    libs/database/item/imageinfo.cpp
M  +5    -0    libs/database/item/imageinfo.h
M  +18   -0    utilities/fuzzysearch/findduplicatesalbum.cpp
M  +4    -0    utilities/fuzzysearch/findduplicatesalbum.h
M  +65   -16   utilities/fuzzysearch/findduplicatesalbumitem.cpp
M  +10   -0    utilities/fuzzysearch/findduplicatesalbumitem.h
M  +4    -13   utilities/fuzzysearch/findduplicatesview.cpp
M  +1    -1    utilities/fuzzysearch/findduplicatesview.h

https://commits.kde.org/digikam/7ceca1f172828e48b47c5088b61b2452b7820e52

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


More information about the Digikam-devel mailing list