Bug 321339 - GROUP : suppress display of albums containing only grouped images
Summary: GROUP : suppress display of albums containing only grouped images
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-ItemGroup (show other bugs)
Version: 3.3.0
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-19 00:41 UTC by shaav
Modified: 2019-11-10 20:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shaav 2013-06-19 00:41:07 UTC
An album that contains nothing but grouped images still appears in the Album tree.
If the picture count is turned on, it reports (accurately) the number of images in the folder, but when the album is selected, no thumbnails appear (appropriately since, they have been grouped with pictures elsewhere).  This is confusing/misleading because the album tree shows an folder with a certain number of images in it, but when selected is empty. It's also a little annoying because it clutters up the album tree with useless albums.

In my case, there are hundreds of these folders; after transitioning from Picasa, I grouped the files in the ".picasaoriginals" folders with their current versions.

Reproducible: Always

Steps to Reproduce:
1. Create an album (A1) with a version of an image in it.
2. Group the image in A1 with an image in another album.
3. A1 still appears in the album tree, and (if turned on) shows that it contains 1 image

Actual Results:  
Select A1 and no images appear

Expected Results:  
"Group" to me, intuitively means that multiple files are to be treated as one image as far as digiKam is concerned.  Consequently I would expect the album counts to reflect that, and when the album count is (effectively) zero, to suppress display of the album. Or at least, I would like to have a toggle for that behaviour.

I otherwise, quite like the grouping behaviour; it's very useful. It might be handy to have the option --- in addition to the toggle to collapse/expand grouped images beside the primary one --- to toggle groups displays entirely (i.e. be able to turn them off so the secondary images reappear in their actual albums, and, in turn, the albums reappear in the tree view).
Comment 1 Maik Qualmann 2019-11-10 20:40:51 UTC
Git commit cfcbed2adb646e21066c8615199586ab3cb49169 by Maik Qualmann.
Committed on 10/11/2019 at 20:38.
Pushed by mqualmann into branch 'master'.

add option in the view menu to show all groups as open
Related: bug 303239, bug 382311, bug 396337, bug 413704
FIXED-IN: 7.0.0

M  +3    -1    NEWS
M  +11   -4    core/app/items/views/digikamitemview.cpp
M  +1    -0    core/app/items/views/digikamitemview.h
M  +5    -0    core/app/main/digikamapp.cpp
M  +2    -0    core/app/main/digikamapp.h
M  +2    -0    core/app/main/digikamapp_p.h
M  +8    -1    core/app/main/digikamapp_setup.cpp
M  +3    -1    core/app/main/digikamui5.rc
M  +10   -0    core/app/views/stack/itemiconview.cpp
M  +1    -0    core/app/views/stack/itemiconview.h
M  +4    -3    core/app/views/tableview/tableview_model.cpp
M  +10   -13   core/libs/database/models/itemfiltermodel.cpp
M  +2    -0    core/libs/settings/applicationsettings.cpp
M  +3    -0    core/libs/settings/applicationsettings.h
M  +10   -0    core/libs/settings/applicationsettings_albums.cpp
M  +3    -0    core/libs/settings/applicationsettings_p.cpp
M  +2    -0    core/libs/settings/applicationsettings_p.h

https://invent.kde.org/kde/digikam/commit/cfcbed2adb646e21066c8615199586ab3cb49169