Bug 458820 - digiKam should warn before scanning Placeholder/Cloud files
Summary: digiKam should warn before scanning Placeholder/Cloud files
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Scan (show other bugs)
Version: 7.8.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-06 21:49 UTC by Marcin Wisnicki
Modified: 2023-05-02 07:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.1.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Wisnicki 2022-09-06 21:49:09 UTC
SUMMARY
On Windows, OneDrive uses placeholder files that are downloaded lazily from the cloud.
When you start digiKam it will try to scan all pictures in ~/OneDrive/Pictures, triggering download of all of them.

Given that this is a very serious operation and may fail and make computer problematic/unusable if C: drive runs out of space I think digiKam should detect placeholder files and provide suitable warning before proceeding.

PS. Other cloud storage clients may do lazy downloads too (e.g. Google Drive FileStream), perhaps even on mac.
Comment 1 Maik Qualmann 2022-09-07 06:19:08 UTC
You should not have such virtual placeholder folders within the image collection specified in digiKam. I also think that currently we have no way to detect if the folder is a virtual cloud folder via the Qt API.

Maik
Comment 2 caulier.gilles 2023-05-02 07:44:21 UTC
Git commit ca2a7cf20b6d828e5d04a2503cbf5242daf7f1d0 by Gilles Caulier.
Committed on 02/05/2023 at 07:43.
Pushed by cgilles into branch 'master'.

Online documentation: add warning about placeholder drive in digiKam collection
FIXED-IN: 8.1.0

M  +4    -0    setup_application/collections_settings.rst

https://invent.kde.org/documentation/digikam-doc/commit/ca2a7cf20b6d828e5d04a2503cbf5242daf7f1d0