[Digikam-devel] [Bug 210353] digikam duplicates icons for TIFF iles

Marcel Wiesweg marcel.wiesweg at gmx.de
Fri Dec 10 12:20:08 GMT 2010


Marcel Wiesweg <marcel.wiesweg at gmx.de> changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #14 from Marcel Wiesweg <marcel wiesweg gmx de>  2010-12-10 13:20:00 ---
SVN commit 1205197 by mwiesweg:

Implement uniqueHash V2.
The hash has now a very simple specification: First 100 kB, last 100 kB.
All problematic cases known to me are solved.

1) Any new database created with 2.0 will use the new hash.
   That means you cannot use it with 1.x.
2) Any upgraded database from 1.x will keep the old hash.
   That means you can use it in parallel with 1.x.
3) There is a button to carry out an explicit update on the 
   Database setup page, for those that want the new hash
   for an updated database
   When upgrading, the thumbnail database will be updated in parallel,
   so nothing is lost.
4) The HistoryImageId in the history XML in metadata will only use the V2
   hash, because it is effectively not possible to specify the generation of
   the old hash, while the V2 hash is easily specified.
   If you have an updated DB with V1 hash, the history image id may not always
   contain the hash. (it is optional)

BUG: 210353

 M  +38 -1     digikam/scancontroller.cpp  
 M  +8 -0      digikam/scancontroller.h  
 M  +32 -1     libs/database/albumdb.cpp  
 M  +10 -0     libs/database/albumdb.h  
 M  +52 -14    libs/database/collectionscanner.cpp  
 M  +2 -0      libs/database/collectionscanner.h  
 M  +3 -0      libs/database/imageinfo.cpp  
 M  +12 -1     libs/database/imagescanner.cpp  
 M  +6 -0      libs/database/imagescanner.h  
 M  +92 -23    libs/database/schemaupdater.cpp  
 M  +8 -2      libs/database/schemaupdater.h  
 M  +5 -0      libs/database/thumbnaildatabaseaccess.cpp  
 M  +1 -0      libs/database/thumbnaildatabaseaccess.h  
 M  +7 -0      libs/database/thumbnaildb.cpp  
 M  +2 -0      libs/database/thumbnaildb.h  
 M  +28 -0     libs/dimg/dimg.cpp  
 M  +15 -0     libs/dimg/dimg.h  
 M  +46 -2     libs/dimg/loaders/dimgloader.cpp  
 M  +1 -0      libs/dimg/loaders/dimgloader.h  
 M  +1 -1      libs/widgets/common/databasewidget.h  
 M  +75 -5     utilities/setup/setupdatabase.cpp  
 M  +5 -0      utilities/setup/setupdatabase.h  

WebSVN link: http://websvn.kde.org/?view=rev&revision=1205197

Configure bugmail: https://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