Bug 464180 - Summary count of files and folders is not updated when viewing Recent Files or Recent Locations
Summary: Summary count of files and folders is not updated when viewing Recent Files o...
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: bars: status (show other bugs)
Version: 22.08.2
Platform: Other All
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-12 06:55 UTC by kdebugs
Modified: 2023-01-12 06:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot (80.28 KB, image/png)
2023-01-12 06:55 UTC, kdebugs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kdebugs 2023-01-12 06:55:11 UTC
Created attachment 155227 [details]
screenshot

SUMMARY
When you click on Recent Files or Recent Locations, the status line at the bottom does not update from the previous location.  It still shows the count from the previous location.

STEPS TO REPRODUCE
1. Open Dolphin
2. Observe file & folder counts in status line.
3. Click Recent Files or Recent Locations.

OBSERVED RESULT
File and folder count does not change, even though you changed locations.

EXPECTED RESULT
It should show, e.g. 30 files (Recent Files) or 30 folders (Recent Locations).

SOFTWARE/OS VERSIONS
Observed on Kubuntu 22.10, dolphin version 22.08.2 and on Manjaro live DVD running dolphin version 22.12.0.
KDE Frameworks Version: 5.98.0 (Kubuntu), 5.101.0 (Manjaro)
Qt Version: 5.15.6 (Kubuntu), 5.15.7 (Manjaro)

ADDITIONAL INFORMATION
The status line does update when you hover over a file or select files, but it does not update when you deselect all files.  E.g. go to Recent Files, select all, it says "30 Files selected", deselect them, and it still says "30 Files selected".

(As you can see, none of them are technically files or folders; they're all symlinks, which dolphin can't actually know without following them whether they point to files or folders or symlinks or missing or devices or whatever.  I find it highly annoying that Dolphin displays all these symlinks in Recent Files and Recent Locations as if they were the actual files/folders, instead of displaying them correctly with italic font, but that's a whole 'nother subject.)