Bug 513415 - Add an option to prevent PC to go to sleep when scanning
Summary: Add an option to prevent PC to go to sleep when scanning
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Scan (other bugs)
Version First Reported In: 8.8.0
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-15 19:27 UTC by kde
Modified: 2025-12-15 19:29 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kde 2025-12-15 19:27:51 UTC
Recently, my DB "lost" everything (though browing it with DB Browser for SQLLite showed evertyhing was there) so I had to to a full rescan of my files (over 300k files of network connection) first by refreshing the collection item in settings and then, when I realised old files were stil in the database, then with Tools / Maintenance. It goes quite smoothly as long as I'm using the PC but, for instance, if I leave for the night, the PC will go to sleep (if sleep timeout is active) and the job will stretch forever.

Generally, not preventing to go to sleep for background tasks _may_ be a good thing but it feels to me like it's clear it is not the case for this multi hours/days process.

The option could be in the background task panel when we explode it, maybe? Something like "Prevent sleeping until all tasks are complete"?