https://bugs.kde.org/show_bug.cgi?id=452299
Bug ID: 452299 Summary: Full album re-scan required if root folder temporarily unavailable Product: digikam Version: 7.3.0 Platform: Other OS: Linux Status: REPORTED Severity: minor Priority: NOR Component: Database-Scan Assignee: digikam-bugs-n...@kde.org Reporter: ja...@lab6.com Target Milestone: --- My root album folder is made available by way of a mount command. Normally, this works just fine - Digikam sees it as a normal directory (and indeed, it is a normal directory). Today, my storage system experienced a temporary failure which caused the underlying storage volume not to mount, leaving an empty directory at the mount point. I started Digikam, and it immediately noticed that the root directory was empty, and reported that I had zero photos. I resolved the underlying issue with the mount point, ran the mount command, and restarted Digikam. Digikam is now re-scanning all the files under this directory. This wouldn't be a problem, except for the fact that I have hundreds of thousands of photos, and so this process is going to take hours. I believe Digikam should be able to recognise an empty root folder as an error state (if it previously had contents), and warn the user before proceeding, in order to give the user the opportunity to resolve the issue. STEPS TO REPRODUCE 1. Start Digikam with one of the previously-non-empty root album folders being empty OBSERVED RESULT 1. Digikam starts the "Find new items" process. EXPECTED RESULT 1. Digikam recognizes that it was expecting to find files, and warns the user that they are not present, before doing anything else. SOFTWARE/OS VERSIONS Build date: 10/07/2021 17:12 (target: RelWithDebInfo) Rev.: 206597cbfed3946264f9babebd666538fb2ff326 (installed from AppImage) -- You are receiving this mail because: You are watching all bug changes.