Bug 431095

Summary: Make "scan for new items" collection sensitive
Product: [Applications] digikam Reporter: S. Burmeister <sven.burmeister>
Component: Database-ScanAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: wishlist CC: metzpinguin
Priority: NOR    
Version: 7.1.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 7.2.0
Sentry Crash Report:

Description S. Burmeister 2021-01-03 09:17:29 UTC
SUMMARY
According to bug 262720 pressing F5 should update the thumbnails of an album and scan for new items. However, this does not work for finding new folders on the first level of a collection. Thus one has to rescan the whole collection to add one new folder.

If "rescan for new items" was collection sensitive, one would only have to rescan the collection the new folder is part of. This is still a lot of rescanning just to find one new folder, but certainly more efficient than scanning all collections.

STEPS TO REPRODUCE
1. using the file manager, add a new folder to the last (in digikam's collection list) of your collections
2. In digikam, select the collection with the new folder in the albums view and press F5
--> new folder does not appear
3. Start "scan for new items"

OBSERVED RESULT
F5 does not add the new folder and "scan for new items" starts to scan all collections, not just the one selected.

EXPECTED RESULT
Only scan within the selected collection. If the root item is selected, i.e. "albums", scan all collections.

SOFTWARE/OS VERSIONS
Windows: 10

ADDITIONAL INFORMATION
It would be even more efficient if there was a way to just scan for new folders. After that the user could use F5 to just update that one folder.
Comment 1 Maik Qualmann 2021-01-03 10:40:21 UTC
I do not understand the problem. Let's assume an album "Test". We copy a new folder "Test1" into the folder "Test" externally. If I now press F5 or Ctrl + F5 (faster without creating new thumbnails) in the album "Test" in digiKam, the sub-album "Test1" is now also displayed. Remember that we also have update options in the album tree view via the right context menu.

Maik
Comment 2 S. Burmeister 2021-01-03 15:36:41 UTC
You are correct, the right-click menu does the job.