https://bugs.kde.org/show_bug.cgi?id=477225

            Bug ID: 477225
           Summary: Number of item with Tag incorrectly show unless tree
                    is expanded
    Classification: Applications
           Product: digikam
           Version: 8.2.0
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: Albums-TreeView
          Assignee: digikam-bugs-n...@kde.org
          Reporter: steve...@gmail.com
  Target Milestone: ---

Created attachment 163285
  --> https://bugs.kde.org/attachment.cgi?id=163285&action=edit
Unexpanded Tag

SUMMARY
Treeview wrongly reports number of items
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
When viewing Tags the number of items shown is incorrect if sub-tags are not
shown, although it is correct if the tag tree is completely expanded.
e.g.
I have tags for birds. One tag (Calidris canutus) has been applied to 4 items,
however the parent of this tag shows 8 items. When the tree is expanded to show
Calidris canutus and its parent Knot each correctly shows 4 items.

STEPS TO REPRODUCE
1.  Apply a tag which has a parent, which is automatically applied. I don't
know whether the same thing happens if the tag and its parent(s) are manually
applied.
2.  In Settings|Application View Settings|Tree-Views tick 'Show a count of
items in tree views
3. 

OBSERVED RESULT
Item count is incorrect if Tree View doesn't show children of Tags, but correct
if the tree is expanded.

EXPECTED RESULT
Parent shows correct total of items which have the tag applied, whether that is
the only tag or child tags exist.

SOFTWARE/OS VERSIONS
Windows:  10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version:  5.110.0
Qt Version:  5.15.11

ADDITIONAL INFORMATION
Build date: 29/10/2023 18:17 (target: RelWithDebInfo)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to