Bug 91740 - 'Unknown' album name that can't be renamed
Summary: 'Unknown' album name that can't be renamed
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: AdvancedRename-album (show other bugs)
Version: 0.7.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-20 10:19 UTC by Chag
Modified: 2022-01-31 21:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chag 2004-10-20 10:19:32 UTC
Version:           0.7-beta1 (using KDE 3.2 BRANCH >= 20040204, Mandrake Linux Cooker i586 - Cooker)
Compiler:          gcc version 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)
OS:                Linux (i686) release 2.6.3-19mdk

Hi,

Just successfully compiled the CVS version few days ago. This Sofwtare is excellent. I just noticed one or 2 bugs (or maybe I didn't understand how it works :) )

I launched Digikam. Added some photos at the root (album 'My albums') then I tried to download some photos from my camera (CanonPowerShot A70). So I plugged it, autodetected it, choosed some pictures and clicked on Download. Digikam asks me where I want to put the photos. I created a new album and downloaded the photos. Everything worked fine.

When I was back to the main digikam window, I could see the album tree on the left and my photos on the right. But there were now 3 albums :

My albums
|_ Unknown
...|_ A70_Photos

What is that 'Unknown' album ? I tried to rename them all.
'My albums' can't be renamed as it's the root album. So be it.
'A70_Photos' was renamed successfully

But for 'Unknown', right click does nothing. So, I can't rename it. After working whith my downloaded photos, I deleted them from the 'A70_Photos' album and I can't copy nor move new photos to this album. Error msg : 

Unknown Error
Could not find source parent album
for /mypath/myphoto.jpg

Finally, if I delete the 'A70_Photos' album, the 'unknown' album disappears.

Chag
Comment 1 Renchi Raju 2004-10-20 16:13:27 UTC
the 'Unknown' "album" is not an album. its a "collection". collection are names for a groups of albums. for eg, you can put albums "rome", "venice", etc. together in a collection called "vacation". as these are not physical albums you cannot add or remove photos from them. assigning collection to album is done by editing the properties of an album. if an album doesn't have any collection, it will show them grouped under "unknown". if any collection is empty, it will not be shown. These is mentioned in the help.

regarding your second question, i need more details. how are you trying to copy files to the album "A70_Photos"
Comment 2 Renchi Raju 2004-10-20 16:31:42 UTC
just an additional note. please don't submit multiple bugreports in one. it makes searching for existing/fixed bugreports by other users difficult, as they have only the title of the bugreport to go by
Comment 3 Chag 2004-10-20 17:56:50 UTC
Hi. 

Sorry for submitting 2 bugreports in one. I thought the copy problem was linked to the 'unknown' album.

Sorry also for haven't read the doc whith all the attention it deserves :) 

May be we can rename that bug 'unable to copy/move files from one album to another whith drag&drop

I try to copy photos by draging them from the main (right) window to an album on the tree view (left panel). Is there an other way ? (I found no copy/paste menu, and <ctrl-c><ctrl-v> or <ctrl-ins><shift-ins> do not work. I also checked if I could set shortcuts to copy/cut/paste.
Of course, copying or moving them whith kde file manager or command line or any other way works.

Chag
Comment 4 Mikolaj Machowski 2004-10-20 22:43:03 UTC
> the 'Unknown' "album" is not an album. its a "collection".

Hmm. I would consider it as a usability bug. And rather gravy. I know
there is beta phase and string freeze but I would suggest change string:
"Unknown collection"

Comment 5 Joern Ahrens 2004-10-20 23:22:19 UTC
CVS commit by jahrens: 


Chag stored images in his root album which he tried to move.
Since the root album is only an organisational one, now 
preventing it from displaying images in the iconview.

CCMAIL: 91740-done@bugs.kde.org


  M +3 -0      albumiconview.cpp   1.89


--- kdeextragear-3/digikam/digikam/albumiconview.cpp  #1.88:1.89
@@ -342,4 +342,7 @@ void AlbumIconView::refreshIcon(AlbumIco
 void AlbumIconView::slotImageListerNewItems(const KFileItemList& itemList)
 {
+    if(d->currentAlbum->isRoot())
+        return;
+        
     KFileItem* item;
 


Comment 6 Joern Ahrens 2005-01-04 11:24:25 UTC
*** Bug 96279 has been marked as a duplicate of this bug. ***