Bug 177417 - changing properties results in sub albums disappear
Summary: changing properties results in sub albums disappear
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-MainView (show other bugs)
Version: 0.10.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-10 20:10 UTC by Gerald Grevrend
Modified: 2012-06-27 11:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 0.10.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.