SUMMARY Gwenview always prevents my screen from locking and my laptop from going to sleep, with no way to change this. STEPS TO REPRODUCE 1. Open any image (e.g. a simple PNG) in Gwenview OBSERVED RESULT After a few seconds, when clicking on the "Power and Battery" applet in the taskbar, I see the text "Gwenview is currently blocking sleep and screen locking (Viewing media)". This appears to be correct - the screen does not lock. EXPECTED RESULT I expect Gwenview to block sleep only in a few instances, e.g. when viewing a fullscreen slideshow or when viewing a video with sound. I looked for options to disable this feature in the Gwenview settings, but didn't find anything. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.93.0 KDE Frameworks Version: 5.249.0 Qt Version: 6.7.0 Kernel Version: 6.7.4-arch1-1 (64-bit) Graphics Platform: Wayland
Can confirm that is how it's working currently. Not sure if bug or intentional or just a feature that could be implemented but hasn't though. Operating System: KDE neon Testing Edition KDE Plasma Version: 6.0.0 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Kernel Version: 6.5.0-21-generic (64-bit) Graphics Platform: Wayland Graphics Processor: AMD Radeon Pro WX 3200 Series
This seems to also affect the fullscreen slideshow, where sleep and screenlocking aren't blocked but should be. Seems the behavior is inverted where Gwenview doesn't inhibit the screensaver when it should (fullscreen playing the slideshow), but does inhibit the screensaver when it shouldn't (just viewing images). Operating System: Arch Linux KDE Plasma Version: 6.0.1 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Kernel Version: 6.7.9-arch1-1 (64-bit) Graphics Platform: Wayland
Git commit ba840f1bbfba6b389e8f7bcc2efd39fcdcc929b2 by Nate Graham, on behalf of Daniel Strnad. Committed on 09/04/2024 at 16:45. Pushed by ngraham into branch 'master'. Fix incorrectly reversed screen saver inhibition logic FIXED-IN: 24.02.2 M +1 -1 app/mainwindow.cpp https://invent.kde.org/graphics/gwenview/-/commit/ba840f1bbfba6b389e8f7bcc2efd39fcdcc929b2
Git commit 1592fa119db3370cf963cf627c37955f65eebc59 by Nate Graham, on behalf of Daniel Strnad. Committed on 09/04/2024 at 16:46. Pushed by ngraham into branch 'release/24.02'. Fix incorrectly reversed screen saver inhibition logic FIXED-IN: 24.02.2 (cherry picked from commit ba840f1bbfba6b389e8f7bcc2efd39fcdcc929b2) d8f075ad Fix screen saver inhibition logic M +1 -1 app/mainwindow.cpp https://invent.kde.org/graphics/gwenview/-/commit/1592fa119db3370cf963cf627c37955f65eebc59
*** Bug 484460 has been marked as a duplicate of this bug. ***