Bug 174752

Summary: Creating a new album gives _two_ new albums, with the same name
Product: [Applications] digikam Reporter: Gandalf Lechner <gandalflechner>
Component: Albums-MainViewAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: big-nikita, marcel.wiesweg, simon
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 0.10.0

Description Gandalf Lechner 2008-11-09 23:44:56 UTC
Version:           0.10.0-beta6 (rev.: 882093) (using 4.1.3 (KDE 4.1.3), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.27-7-generic

Creating a new album in the left side bar, e.g. album "X", creates actually _two_ new albums, both with the name "X". The directory is created as requested, but it is shown twice in the album tree.
Comment 1 caulier.gilles 2008-11-10 06:22:29 UTC
Marcel,

This problem is not fully fixed ?

Gilles
Comment 2 Andi Clemens 2008-11-10 08:52:04 UTC
Actually this is a duplicate of bug 174202, but since the problem is described a little bit better in here, I will close the other one instead.

I also can still confirm it, too. Creating a folder from outside of digiKam works, but inside we get duplicate albums.

Andi
Comment 3 Andi Clemens 2008-11-10 08:52:24 UTC
*** Bug 174202 has been marked as a duplicate of this bug. ***
Comment 4 caulier.gilles 2008-11-10 09:00:59 UTC
Marcel needs more info here.

Where duplicates entries is done ? With a root album as parent or with a children album as parent ?

Gilles
Comment 5 Andi Clemens 2008-11-10 09:23:36 UTC
Gilles,

isn't this happening to you, too? Right now I can only confirm it when creating a new album directly under a root album. But I'm pretty sure it was also the case for "normal" folders before, maybe this has been already fixed.

Andi
Comment 6 caulier.gilles 2008-11-10 09:33:25 UTC
The only change done by Marcel to fix this problem have been committed during coding sprint at Genoa. I have found this problem myself and reported it to Marcel.

Gilles
Comment 7 caulier.gilles 2008-11-10 09:35:37 UTC
Forget to said that i can reproduce the problem only when new album is created from Root album as parent, not with a sub-album as parent.

Gilles
Comment 8 Marcel Wiesweg 2008-11-10 09:55:43 UTC
Yes I can confirm, I think this problem remained on my TODO list in Genoa. Will have a look at it.
Comment 9 Andi Clemens 2008-11-22 14:36:16 UTC
Commit #887562 from Marcel should fix this problem (and it does for me).

Gandalf,

can you confirm with latest SVN?

Andi
Comment 10 simon 2008-11-23 17:54:38 UTC
still present in todays svn. 

is it related to Bug 175914 ?
Comment 11 Andi Clemens 2008-11-23 18:04:09 UTC
I can not confirm it anymore, it works fine here.
Comment 12 Gandalf Lechner 2008-11-25 09:43:14 UTC
In current svn, the bug does not appear any more on my machine, thanks for fixing it!