Bug 404384 - Show number of entries in group
Summary: Show number of entries in group
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-ItemGroup (show other bugs)
Version: 5.9.0
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-15 12:33 UTC by Christian Gruber
Modified: 2019-06-22 05:34 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.2.0


Attachments
Digikam messages to the console while grouping (30.73 KB, text/plain)
2019-03-25 22:27 UTC, Christian Gruber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Gruber 2019-02-15 12:33:05 UTC
It would be nice if the number of entries in a group would be shown as a small number in the corner. Currently, it is only shown *that* it is a group, but not whether it contains 2 or 1000 entries.

It would also be nice if there was another way to access the single pictures in a group than giving it up.
Comment 1 Maik Qualmann 2019-02-15 12:56:26 UTC
Maybe I do not understand the problem properly. But the number of items in the group is displayed in the leader of the group in the small folder icon.

Maik
Comment 2 Christian Gruber 2019-02-15 15:02:03 UTC
Now I can see it, it is very small, so I have overlooked it. By the way, the number is 1 too low.
Comment 3 Christian Gruber 2019-03-25 11:41:10 UTC
Will something be done about the number of group members being 1 too low?
Comment 4 Maik Qualmann 2019-03-25 12:59:01 UTC
I can not reproduce the problem. It is the number of images in the group without the leader of the group.

Maik
Comment 5 Christian Gruber 2019-03-25 15:49:45 UTC
Strange. When I have a group that contains 3 pictures, "2" is shown.
Comment 6 caulier.gilles 2019-03-25 16:24:37 UTC
Can you check if it's reproducible with 6.1.0 pre-release Linux AppImage bundle available here :

https://files.kde.org/digikam/

Gilles Caulier
Comment 7 Christian Gruber 2019-03-25 17:52:28 UTC
Yes, this is also the case in 6.1.0
Comment 8 caulier.gilles 2019-03-25 18:06:08 UTC
Ok,

Run digiKam from a console and play with group from icon view.

Report here the full text trace for analyze.

Gilles Caulier
Comment 9 Christian Gruber 2019-03-25 22:25:17 UTC
I combined my 001.gif,... files to a group and attached the debug messages. By the way, Digikam is VERY verbose. This is good for debugging, but bad for everyday usage. Can this somehow be reduced, preferably to 0?
Comment 10 Christian Gruber 2019-03-25 22:27:01 UTC
Created attachment 119040 [details]
Digikam messages to the console while grouping
Comment 11 caulier.gilles 2019-03-26 05:03:20 UTC
yes, there is a way to filer debug output by categories using a shell variable, but as you said, it's to hack...

this output is abnormal :

digikam.database: " ( (Images.id IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,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?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,
digikam.geoiface: ----
digikam.general: Cancel Main Thread
digikam.database: Search query:
 "SELECT DISTINCT Images.id, Images.name, Images.album,        Albums.albumRoot,        ImageInformation.rating, Images.category,        ImageInformation.format, ImageInformation.creationDate,        Images.modificationDate, Images.fileSize,        ImageInformation.width, ImageInformation.height,        ImagePositions.latitudeNumber, ImagePositions.longitudeNumber  FROM Images        LEFT JOIN ImageInformation ON Images.id=ImageInformation.imageid        LEFT  JOIN ImageMetadata    ON Images.id=ImageMetadata.imageid        LEFT  JOIN VideoMetadata    ON Images.id=VideoMetadata.imageid        LEFT  JOIN ImagePositions   ON Images.id=ImagePositions.imageid        INNER JOIN Albums           ON Albums.id=Images.album WHERE Images.status=1 AND (  ( (Images.id IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,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?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?
 (QVariant(qlonglong, 24443), QVariant(qlonglong, 24444), QVariant(qlonglong, 24446), QVariant(qlonglong, 24447), QVariant(qlonglong, 24448), QVariant(qlonglong, 24449), QVariant(qlonglong, 24450), QVariant(qlonglong, 24451), QVariant(qlonglong, 24452), QVariant(qlonglong, 24453), QVariant(qlonglong, 24454), QVariant(qlonglong, 24455), QVariant(qlonglong, 24456), QVariant(qlonglong, 24457), QVariant(qlonglong, 24458), QVariant(qlonglong, 24459), QVariant(qlonglong, 24460), QVariant(qlonglong, 24461), QVariant(qlonglong, 24462), QVariant(qlonglong, 24463), QVariant(qlonglong, 24464), QVariant(qlonglong, 24465), QVariant(qlonglong, 24466), QVariant(qlonglong, 24467), QVariant(qlonglong, 24468), QVariant(qlonglong, 24469), QVariant(qlonglong, 24470), QVariant(qlonglong, 24471), QVariant(qlonglong, 24472), QVariant(qlonglong, 24473), QVariant(qlonglong, 24474), QVariant(qlonglong, 24475), QVariant(qlonglong, 24476), QVariant(qlonglong, 24477), QVariant(qlonglong, 24478), QVariant(qlonglong, 24479), QVariant(qlonglong, 24480), QVariant(qlonglong, 24481), QVariant(qlonglong, 24482), QVariant(qlonglong, 24483), QVariant(qlonglong, 24484), QVariant(qlonglong, 24485), QVariant(qlonglong, 24486), QVariant(qlonglong, 24487), QVariant(qlonglong, 24488), QVariant(qlonglong, 24489), QVariant(qlonglong, 24490), QVariant(qlonglong, 24491), QVariant(qlonglong, 24492), QVariant(qlonglong, 24493), QVariant(qlonglong, 24494), QVariant(qlonglong, 24495), QVariant(qlonglong, 24496), QVariant(qlonglong, 24497), QVariant(qlonglong, 24498), QVariant(qlonglong, 24499), QVariant(qlonglong, 24500), QVariant(qlonglong, 24501), QVariant(qlonglong, 24502), QVariant(qlonglong, 24503), QVariant(qlonglong, 24504), QVariant(qlonglong, 24505), QVariant(qlonglong, 24506), QVariant(qlonglong, 24507), QVariant(qlonglong, 24508), QVariant(qlonglong, 24509), QVariant(qlonglong, 24510), QVariant(qlonglong, 24511), QVariant(qlonglong, 24512), QVariant(qlonglong, 24513), QVariant(qlonglong, 24514), QVariant(qlonglong, 24515), QVariant(qlonglong, 24516), QVariant(qlonglong, 24517), QVariant(qlonglong, 24518), QVariant(qlonglong, 24519), QVariant(qlonglong, 24520), QVariant(qlonglong, 24521), QVariant(qlonglong, 24522), QVariant(qlonglong, 24523), QVariant(qlonglong, 24524), QVariant(qlonglong, 24525), QVariant(qlonglong, 24526), QVariant(qlonglong, 24527), QVariant(qlonglong, 24528), QVariant(qlonglong, 24529), QVariant(qlonglong, 24530), QVariant(qlonglong, 24531), QVariant(qlonglong, 24532), QVariant(qlonglong, 24533), QVariant(qlonglong, 24534), QVariant(qlonglong, 24535), QVariant(qlonglong, 24536), QVariant(qlonglong, 24537), QVariant(qlonglong, 24538), QVariant(qlonglong, 24539), QVariant(qlonglong, 24540), QVariant(qlonglong, 24541), QVariant(qlonglong, 24542), QVariant(qlonglong, 24543), QVariant(qlonglong, 24544), QVariant(qlonglong, 24545), QVariant(qlonglong, 24546), QVariant(qlonglong, 24547), QVariant(qlonglong, 24548), QVariant(qlonglong, 24549), QVariant(qlonglong, 24550), QVariant(qlonglong, 24551), QVariant(qlonglong, 24552), QVariant(qlonglong, 24553), QVariant(qlonglong, 24554), QVariant(qlonglong, 24555), QVariant(qlonglong, 24556), QVariant(qlonglong, 24557), QVariant(qlonglong, 24558), QVariant(qlonglong, 24559), QVariant(qlonglong, 24560), QVariant(qlonglong, 24561), QVariant(qlonglong, 24562), QVariant(qlonglong, 24563), QVariant(qlonglong, 24564), QVariant(qlonglong, 24565), QVariant(qlonglong, 24566), QVariant(qlonglong, 24567), QVariant(qlonglong, 24568), QVariant(qlonglong, 24569), QVariant(qlonglong, 24570), QVariant(qlonglong, 24571), QVariant(qlonglong, 24572), QVariant(qlonglong, 24573), QVariant(qlonglong, 24574), QVariant(qlonglong, 24575), QVariant(qlonglong, 24576), QVariant(qlonglong, 24577), QVariant(qlonglong, 24578), QVariant(qlonglong, 24579), QVariant(qlonglong, 24580), QVariant(qlonglong, 24581), QVariant(qlonglong, 24582), QVariant(qlonglong, 24583), QVariant(qlonglong, 24584), QVariant(qlonglong, 24585), QVariant(qlonglong, 24586), QVariant(qlonglong, 24587), QVariant(qlonglong, 24588), QVariant(qlonglong, 24589), QVari

Sound like a dysfunction in database

Gilles Caulier
Comment 12 Maik Qualmann 2019-03-26 06:56:24 UTC
It's the SQL query from a search album. But I just do not know where it would be possible if so many individual image ids could be passed. The face database is also broken. In a search, however, the number of items in the groub can not be correct, as some of the images in the group do not meet the criteria, I think we have a bug report too. Please test it with the normal album view.

Maik
Comment 13 Christian Gruber 2019-03-26 14:18:30 UTC
I didn't fiddle with the database.
What now?
Comment 14 Christian Gruber 2019-06-19 18:53:29 UTC
In digikam-6.2.0-git-20190613T125237-qtwebkit-x86-64.appimage, the size of the groups is still one too low.
Comment 15 Maik Qualmann 2019-06-19 19:39:21 UTC
Only the hidden images are counted. The leader image is not counted because it is visible. Use an album with 3 images, the last 2 images group to the first image. Take a screenshot.

Maik
Comment 16 Christian Gruber 2019-06-20 11:41:51 UTC
The screenshot would only show that a group of 3 pictures would write "2". So, this would not show any new information.
The way you describe it is on the one hand explainable, on the other hand very, very unintuitive. One expects that the number shows the size of the group and not the number of pictures that you can't see. If e.g. two pictures were shown to make cleat it's a group, the printed number would be n-2 instead. This would then be very, very, very unintuitive instead.
Comment 17 Maik Qualmann 2019-06-20 12:16:21 UTC
I do not understand the problem and so far the calculation of the number has never been reported as a problem. I try it differently, you have a drawer with the inscription 2. If you open the drawer, would you expect to find 3 pictures in it?
The number shows the count of the images ->IN<- the group image.

Maik
Comment 18 Christian Gruber 2019-06-20 12:24:32 UTC
Yes, exactly. In this moment, the drawer has written "2" on it, and it contains 3 pictures. One would expect it to have "3" written on it instead. This would be the desired description. But this is not how DK does it right now.
Comment 20 stefan.mueller.83 2019-06-20 19:51:51 UTC
+1
Comment 21 Maik Qualmann 2019-06-22 05:34:07 UTC
Git commit 1bf1ef7d097e5ac2f1b0f4999b11b002311f146d by Maik Qualmann.
Committed on 22/06/2019 at 05:32.
Pushed by mqualmann into branch 'master'.

include the leader item in the number of grouped items
FIXED-IN: 6.2.0

M  +1    -1    core/libs/widgets/itemview/itemviewdelegate.cpp

https://invent.kde.org/kde/digikam/commit/1bf1ef7d097e5ac2f1b0f4999b11b002311f146d