Bug 519854 - Album (sorted by folder)->Refresh does not include sub-folders in specified album
Summary: Album (sorted by folder)->Refresh does not include sub-folders in specified a...
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Albums-TreeView (other bugs)
Version First Reported In: 9.0.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-05-06 17:45 UTC by Howard Cunningham
Modified: 2026-05-06 18:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 9.1.0
Sentry Crash Report:


Attachments
Root Album Pictures has 2 JPGs and numerous subfolders with JPGs. (74.77 KB, image/png)
2026-05-06 17:45 UTC, Howard Cunningham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Howard Cunningham 2026-05-06 17:45:42 UTC
Created attachment 192087 [details]
Root Album Pictures has 2 JPGs and numerous subfolders with JPGs.

SUMMARY
Refreshing a Folder with contained sub-Folders only refreshes images in the Folder, not sub-Folders. This means each sub-folder and its sub-folders must be refreshed separately.
 
STEPS TO REPRODUCE
1. Right click on Pictures drops a context menu with the Refresh command.  
2. Left click on Refresh.

OBSERVED RESULT
Only the JPGs in Pictures is refreshed. Remaining sub-Folders are not

EXPECTED RESULT
Refresh should iterate over the specified images and sub-folders refreshing as needed hopefully with a progress report.

SOFTWARE/OS VERSIONS
Windows: Windows 11 Home 25H2 Build: 26200.8328
macOS: N/A
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: N/A
KDE Plasma Version: 
KDE Frameworks Version: 6.17
Qt Version: 6.9.1

ADDITIONAL INFORMATION
Attached screenshot showing the top level folder, Pictures, containing 2 JPGs and numerous sub-folders.
Comment 1 Maik Qualmann 2026-05-06 17:53:20 UTC
Starting from the specific album where an F5 refresh is performed, all sub-albums are updated—this has been definitively tested and confirmed here.

I believe we even have a bug report regarding this, as some users do not want this behavior; when dealing with network drives, the process can take a very long time if the hierarchy is extensive.

Create a DebugView log of a refresh operation, as described here for Windows:
https://www.digikam.org/contribute/#windows-host

Maik
Comment 2 Maik Qualmann 2026-05-06 18:01:41 UTC
Please also test the digiKam-9.1.0 pre-release, as we have corrected an issue with the collection scan that occurred when the collection was registered solely via a drive letter and did not contain a specific path.

Note: digiKam-9.1.0 performs a database update; therefore, please create a backup if you intend to revert to an older version later.

Maik
Comment 3 Howard Cunningham 2026-05-06 18:27:00 UTC
As you stated, this is not a bug. I encountered this problem when I was initially creating the database (several hundred folders, 6000 images). During the initial creation my laptop went to sleep and DigiCam stopped while gathering thumbnails. After awakening my laptop it seemed like refresh failed to successfully iterate. My guess is that I did not wait long enough.

I ran some additional tests adding some new images, changing some metadata and the top level refresh worked fine. This bug can be closed.