Bug 500028 - Face detection stops working when minimising Digikam on Mac
Summary: Face detection stops working when minimising Digikam on Mac
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Engine (show other bugs)
Version: 8.6.0
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-13 21:20 UTC by Marshalleq
Modified: 2025-02-15 23:02 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marshalleq 2025-02-13 21:20:03 UTC
SUMMARY
Face detection stops working if I minimise Digicam on Mac.  I can hear the fan stop going when I do this - when I maximise it again it starts again and I can see in the status bar that it picks up where it left off.

STEPS TO REPRODUCE
1. Start Face Detection
2. Minimise Digikam
3. Face detection pauses

OBSERVED RESULT
Face detection pauses when minimised

EXPECTED RESULT
Should run in the background

SOFTWARE/OS VERSIONS
macOS: 15.3
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
M1 Pro
Comment 1 Maik Qualmann 2025-02-14 08:58:32 UTC
I did a little searching on the internet. It seems to be normal for Apple Silicon to stop the application when it is minimized. The memory is also supposed to be freed up to save RAM as well as CPU and battery consumption.
I don't think we have any influence on this. I haven't found any indication, but I could imagine that other energy settings change the behavior.

Maik
Comment 2 Marshalleq 2025-02-14 23:34:47 UTC
Thanks. That’s interesting because when I think about it I do have things that run in the background, music players being the obvious example, handbrake is probably another though I haven’t tested it.
Comment 3 Maik Qualmann 2025-02-15 19:42:35 UTC
I don't have a Mac computer, what happens if you play a video in digiKam and then minimize it?

Maik
Comment 4 caulier.gilles 2025-02-15 20:47:10 UTC
Hi Maik,

Video continue to play normally when digiKam is minimized. Sound play and video advance as expected... (Mov file taken with my iphone 15 pro, digiKam 8.6.0 + Qt6).

Gilles
Comment 5 Maik Qualmann 2025-02-15 21:01:40 UTC
That's what I suspected, macOS detects whether the application is using the sound card and doesn't send it into deep sleep.
We need to see if macOS provides a native way to prevent deep sleep even without sound. I don't think there is such a possibility in Qt.

Maik
Comment 6 caulier.gilles 2025-02-15 23:02:17 UTC
Note also the energy settings in MacOS :
https://imgur.com/a/HfrFHhQ