Bug 177417

Summary: changing properties results in sub albums disappear
Product: [Applications] digikam Reporter: Gerald Grevrend <digikam>
Component: Albums-MainViewAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: marcel.wiesweg
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 0.10.0

Description Gerald Grevrend 2008-12-10 20:10:50 UTC
Version:           0.10.0 beta6 (using Devel)
Compiler:          GCC 4.2.3 
OS:                Linux
Installed from:    Compiled sources

When I change properties (date, collection or comments) of an album with sub-albums, the sub-albums disappear from the tree.

But, if I change the properties in an other album, the subalbums come back.

For information, here is a sample tree :
|-Scan1
|  |-Jpeg1
|  --Tif1
--Scan2
   |-Jpeg2
   --Tif2
If I change the properties of Scan1, the album Jpeg1 and Tif1 will disappear.
Then, if I change the properties of Scan2, Jpeg1 and Tif1 will come back but Jpeg2 and Tif2 will disappear.


Expected behavior is that the subtree doesn't disappear.
Comment 1 Gerald Grevrend 2008-12-10 20:14:46 UTC
My version is digikam 0.10.0 beta6 with kde-4.1.80 on Gentoo
Comment 2 caulier.gilles 2008-12-10 20:17:42 UTC
Gerald,

I'm not sure, but i think that Marcel as fixed this problem with current implementation from svn. 

Can you try again ?

Gilles Caulier
Comment 3 Gerald Grevrend 2008-12-10 20:36:38 UTC
Thank you for your answer
I prefer to stick to betas, I will tell with beta 7 :)
Comment 4 caulier.gilles 2008-12-10 20:41:45 UTC
Gerald,

Beta7 is in the way, i would to be able to close this file if it's already fixed with current implementation (which is already beta7 in fact (:=)))

There is not risk to use current implementation, since we have closed more than 90 bugzilla reports since beta6 !

http://websvn.kde.org/trunk/extragear/graphics/digikam/NEWS?revision=895451&view=markup

Please, let's me hear...

Gilles Caulier
Comment 5 Gerald Grevrend 2008-12-10 22:02:30 UTC
I have tried with the last svn and it didn't fix it :( but the changelog looks like other problems have been fixed (crash during moving files and mirroring multiple files).
Comment 6 caulier.gilles 2008-12-22 11:40:25 UTC
Another entry relevant of album manager and database ?

Gilles Caulier
Comment 7 Marcel Wiesweg 2008-12-22 19:43:20 UTC
SVN commit 900384 by mwiesweg:

Handle notification of album properties change differently,
do not cause all child albums to disappear.

CCBUG: 177417

 M  +76 -21    albummanager.cpp  
 M  +2 -0      albummanager.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=900384
Comment 8 Gerald Grevrend 2008-12-22 20:45:25 UTC
I have tested the last SVN and it works
Thank you all.