Summary: | [kdesrc-build Plasma 6] Pressing Esc no longer turns off the screen when locked | ||
---|---|---|---|
Product: | [Plasma] kscreenlocker | Reporter: | Prajna Sariputra <putr4.s> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bharadwaj.raju777, nate |
Priority: | NOR | Keywords: | qt6, regression |
Version: | git-master | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kscreenlocker/-/commit/0b889fee8cf5080ea21fa5e90d32379b26d58de6 | Version Fixed In: | 6.0 |
Sentry Crash Report: |
Description
Prajna Sariputra
2023-11-04 02:39:37 UTC
Can reproduce. Fallout from the recent KScreenlocker authenticator changes. If I just add an unconditional `dpms->switchMode(KScreen::Dpms::Off);` before the connect call, it seems to work. Wanna submit it and see what happens? I filed https://invent.kde.org/plasma/kscreenlocker/-/merge_requests/176 to get rid of the evidently broken connect call and just turn off the screen directly. No idea what would happen on a system without DPMS support though. Bug 338796 got re-opened, so let's track it there since there's an open MR to fix it again. *** This bug has been marked as a duplicate of bug 338796 *** Git commit 9aa3bd142370d8fa09f1c42b852ad54846f54260 by Jakob Petsovits, on behalf of Prajna Sariputra. Committed on 23/01/2024 at 23:18. Pushed by jpetso into branch 'master'. greeter: Fix pressing Esc to turn off the display The updated KScreen::Dpms documentation guarantees isSupported() to work right after construction, so use it without async instead of the supportedChanged signal which doesn't get emitted anymore during initialization. M +3 -5 greeter/greeterapp.cpp https://invent.kde.org/plasma/kscreenlocker/-/commit/9aa3bd142370d8fa09f1c42b852ad54846f54260 Git commit 0b889fee8cf5080ea21fa5e90d32379b26d58de6 by Jakob Petsovits, on behalf of Prajna Sariputra. Committed on 24/01/2024 at 21:16. Pushed by jpetso into branch 'Plasma/6.0'. greeter: Fix pressing Esc to turn off the display The updated KScreen::Dpms documentation guarantees isSupported() to work right after construction, so use it without async instead of the supportedChanged signal which doesn't get emitted anymore during initialization. (cherry picked from commit 9aa3bd142370d8fa09f1c42b852ad54846f54260) M +3 -5 greeter/greeterapp.cpp https://invent.kde.org/plasma/kscreenlocker/-/commit/0b889fee8cf5080ea21fa5e90d32379b26d58de6 |