Bug 269340

Summary: Possibility to select more than one folder from tree-view
Product: [Applications] digikam Reporter: Rinus Bakker <sleeplessregulus>
Component: Albums-TreeViewAssignee: Digikam Developers <digikam-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: caulier.gilles, freisim93, jst.hl, kdebugs, mario.frank, metzpinguin, schubert.seb, sdx, sleeplessregulus, st11x, thomas.albrecht
Priority: NOR    
Version: 6.2.0   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Timeline
Select without subfolders action in WLPG

Description Rinus Bakker 2011-03-24 20:35:07 UTC
Version:           2.0.0 (using KDE 4.6.1) 
OS:                Linux

One can select a album or folder (if you like with subtree) but it is not possible to select more than one folder (for example with control click)

Reproducible: Always

Steps to Reproduce:
click a folder and try to add another one to your selection.

Actual Results:  
Not possible

Expected Results:  
Second folder should accumulate to the first.

Would strongly improve functionality
Comment 1 Marcel Wiesweg 2011-03-26 14:41:18 UTC
I remember some very old work (by Andi?) regarding this problem. There's not much in the way to enable multiselection in the UI, but a lot of code is currently centered on a single "current album" so the changes are not trivial.
Comment 2 Rinus Bakker 2011-03-27 10:58:42 UTC
Marcel,

Mostly if I want to be able to browse a selection of folders I give the 
picture in each desired folder a tempory tag. Go to tags, select the tag 
and I have what I want, can browse them, tag them, compare them, move 
them, delete them, can sent them to batch cue, or to slideshow and so 
on. If I'm done I have to remove the tempory tags.

I wonder if that could be done easyer, select, (or control/shift 
multiple select) folder ->right click-> copy to virtual album. And you 
can manage them just the way you can with pictures in an album tree 
which are in different folders too.

Wath do you think?

Rinus

Op 26-3-2011 14:41, Marcel Wiesweg schreef:
> https://bugs.kde.org/show_bug.cgi?id=269340
>
>
>
>
>
> --- Comment #1 from Marcel Wiesweg<marcel wiesweg gmx de>   2011-03-26 14:41:18 ---
> I remember some very old work (by Andi?) regarding this problem. There's not
> much in the way to enable multiselection in the UI, but a lot of code is
> currently centered on a single "current album" so the changes are not trivial.
>
Comment 3 Marcel Wiesweg 2011-03-28 22:06:24 UTC
Virtual albums is another metaphor here, similar to tags.
I was thinking along the lines of real multi-selection, you Ctrl+Select multiple albums in the left sidebar and all pictures are shown in the middle pane. This is not all too difficult, but not trivial to implement.
Comment 4 Rinus Bakker 2011-03-28 22:20:47 UTC
Anyway, it would make me even more happy with your work than I already am!
Rinus
Op 28-3-2011 22:06, Marcel Wiesweg schreef:
> https://bugs.kde.org/show_bug.cgi?id=269340
>
>
>
>
>
> --- Comment #3 from Marcel Wiesweg<marcel wiesweg gmx de>   2011-03-28 22:06:24 ---
> Virtual albums is another metaphor here, similar to tags.
> I was thinking along the lines of real multi-selection, you Ctrl+Select
> multiple albums in the left sidebar and all pictures are shown in the middle
> pane. This is not all too difficult, but not trivial to implement.
>
Comment 5 caulier.gilles 2011-04-04 12:58:36 UTC
*** Bug 240361 has been marked as a duplicate of this bug. ***
Comment 6 caulier.gilles 2013-11-26 17:52:19 UTC
Note : multiple selection of Tags album is now implemented in next 4.0.0 through this GoSC 2013 entry :

http://www.google-melange.com/gsoc/proposal/review/google/gsoc2013/slavuttici/35001

Gilles Caulier
Comment 7 jst.hl 2017-01-06 10:38:51 UTC
I voted for that, because I'd like to use that feature to set the album date to the oldest/youngest/average containing picture for multiple albums at once.
Comment 8 Mario Frank 2017-01-06 10:46:33 UTC
(In reply to jst.hl from comment #7)
> I voted for that, because I'd like to use that feature to set the album date
> to the oldest/youngest/average containing picture for multiple albums at
> once.

I support your wish since this feature may be helpful in other situations. But we will probably not be able to implement this for the upcoming version 5.4
Comment 9 Thomas 2019-01-12 16:27:01 UTC
Just want to mention, that in 6.0.0 (beta 3) I am not able to select multiple albums. I would like this feature. Right now I have to do my album management in Pathfinder/File Manager.
Comment 10 Simon 2019-05-11 11:34:36 UTC
*** This bug has been confirmed by popular vote. ***
Comment 11 Sergejs 2021-01-08 18:51:38 UTC
I second this request.
Note that multiple Tag selection is supported, but not multiple selection of Albums, Dates or Timelines. (v7.2 Windows)

Considering that "multiple Tag selection" already works among Tags, and there is code to display all subfolders at once, there should be all building blocks to enable selection of multiple folders together.

I personally use this in Windows Live Photo Gallery to show a slideshow of a certain period which may include multiple folders.
Comment 12 Maik Qualmann 2021-01-08 19:41:01 UTC
It is not just a matter of activating the selection of several albums. There are already certain preparations in the code to enable this, but I still estimate the effort to be quite high. The timeline tab allows single selections and a range selection.

Maik
Comment 13 Sergejs 2021-01-08 19:56:37 UTC
OK, we can live without it :)

BTW, I (still) do not manage to figure out how to make a range selection in Timeline tab.


Just a silly thought (by no means easy or rational to do): 
1- Tags view already works with multiple tags by Ctrl+click
2- Belonging to a certain folder/album is an indexable property, basically the same thing as a Tag.
3- Therefore file/album tree could share the same code as the Tag tree, but using a Tag hierarchy to represent folders. Result - one basic code to run Tags, Albums or similar views.
Comment 14 Maik Qualmann 2021-01-08 20:08:42 UTC
The selection in the timeline (not date view) is made with CTRL or Shift, as usual.

The album view also allows file operations, for example. These are currently designed for a source album. We give this Infoemation to the collection scanner on the way so that it does not scan all images again after moving from an album. All of this has to work with multiple albums.

Maik
Comment 15 Sergejs 2021-01-08 20:26:11 UTC
OK, thank you!

Meanwhile I discovered more info in the documentation (I was crippled before I discovered PDF version with a Search! unlike in HTML version)
https://docs.kde.org/trunk5/en/extragear-graphics/digikam/using-digikam.html#using-mainwindow-timelineview

Must say on my v7.2 in Windows I still can not get Timeline to multi-select (tried Shift and Ctrl in different ways). Perhaps a bug?
Comment 16 Maik Qualmann 2021-01-08 21:01:54 UTC
Created attachment 134666 [details]
Timeline

Just tested again in the Windows 10 VM, multiple selection in the timeline is possible without problems. Here is a screenshot of the Linux version, the range from April 2019 to May 2020 is selected.

Maik
Comment 17 Sergejs 2021-01-08 22:17:09 UTC
Yes, my bad. Somehow I managed to not see it previously(?) I don't have an explanation here - it does work in Windows as well, even without holding down shift. Please ignore my comments about Timeline not working.
Comment 18 Sergejs 2021-01-09 14:41:10 UTC
Created attachment 134680 [details]
Select without subfolders action in WLPG

For future reference, here is a good example from WLPG 2012: 

Because WLPG allows selection of multiple folders, there is also no need for "Include Album Sub-Tree" option (it is always ON). Instead if user does not want to display one or more sub-folders user can:
1- Ctrl-click on sub-folders to de-select subfolders;
2- use the "Select without subfolders" option to temporarily deactivate "Include Album Sub-Tree = ON".

I find this implementation very easy to use and in WLPG often switch between showing all subfolders (most of the time) and excluding certain sub-folders using Ctrl-click (when I am sorting & rating incoming images).
Comment 19 Maik Qualmann 2022-06-22 11:28:47 UTC
*** Bug 159209 has been marked as a duplicate of this bug. ***
Comment 20 Maik Qualmann 2024-01-12 05:26:19 UTC
*** Bug 479674 has been marked as a duplicate of this bug. ***