Bug 152961

Summary: cannot remove album from tree
Product: [Applications] digikam Reporter: Mikolaj Machowski <mikmach>
Component: Database-TrashAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, marcel.wiesweg
Priority: VHI    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 0.9.3

Description Mikolaj Machowski 2007-11-27 00:07:46 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

It is impossible to remove Album from tree on the left side

1) Create new Album - visible in tree and directory created on disk
2) Put there some photos
3) Move Album to trash, everything works OK but...
4) Photos vanish, directory is removed from HD but album stays in tree
Comment 1 caulier.gilles 2007-12-03 13:51:31 UTC
Marcel,

I can always reproduce this problem here. I have search in code where problem exist, but without success...

Where is the code witch update database content ? In AlbumManager we have a KDirWatch witch play with DIO job to handle contents and update PAlbum list, but i cannot find the way where database is updated in live...

Gilles
Comment 2 caulier.gilles 2007-12-03 16:10:38 UTC
Marcel,

The same problem exist when items are sent to trash. The database is not updated and digiKam is restarted, it ask me if items must be removed from database...

Note : if i move items/albums to another place, database is properlly updated. It's sound like a problem with DIO::del() and trash:/ protocol...

This problem is very important and must be fixed before 0.9.3-final.

Gilles
Comment 3 Marcel Wiesweg 2007-12-03 22:49:16 UTC
SVN commit 744580 by mwiesweg:

Properly order parameters passed to ioslave - this effectively disabled all scanning while digikam was running!

BUG: 152961


 M  +3 -1      dio.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=744580
Comment 4 Arnd Baecker 2007-12-03 23:06:56 UTC
What a nice patch for an annoying problem!