SUMMARY *** I will start the slideshow, but after two minutes the monitor powers off due to lack of user activity. Instead of messing with my power settings every time I want to play a slideshow, digiKam should call win32 SetThreadExecutionState(ES_DISPLAY_REQUIRED | ES_CONTINUOUS); every minute the slideshow is playing. *** STEPS TO REPRODUCE 1. Set monitor to power off after a short period of time (2 minutes) 2. Start a digiKam slideshow that will last longer than the monitor power off. 3. OBSERVED RESULT Monitor power's off before the end of the slideshow. EXPECTED RESULT Slideshow reaches the end before monitor powers off. SOFTWARE/OS VERSIONS Windows: 11 macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Git commit 89c99dd90b128d498cd6a920a9dd5962b17e3ab0 by Maik Qualmann. Committed on 07/08/2023 at 19:20. Pushed by mqualmann into branch 'master'. try prevent the monitor from powering off M +14 -2 core/dplugins/generic/view/slideshow/common/slideshowloader.cpp https://invent.kde.org/graphics/digikam/-/commit/89c99dd90b128d498cd6a920a9dd5962b17e3ab0
Thanks for pointing out the Windows API function. Maik