https://bugs.kde.org/show_bug.cgi?id=338796
--- Comment #26 from Jakob Petsovits <jpe...@petsovits.com> --- Git commit 67f4c28edb853f4939b26a8a0f85d7ffaf2ab9f7 by Jakob Petsovits. Committed on 23/01/2024 at 23:04. Pushed by jpetso into branch 'Plasma/6.0'. libdpms: Guarantee validity of isSupported() right after construction This reverts commit c37450e186a705e650f294ea7789f21b4133acbb, which fixed turning off the screen on Esc when locked, but broke some DPMS-related functions in PowerDevil, e.g. visibility of display turn-off timeouts in the "Energy Saving" KCM. As a slight change from before though, this does not reintroduce the incorrect API docs statement that isSupported() would block while initializing. Callers can avoid the use of supportedChanged with a good conscience now, unless they track its state over time. (cherry picked from commit 504f28d05d9db495c364fc034de5ea9905609a02) M +1 -3 src/libdpms/dpms.h M +19 -24 src/libdpms/waylanddpmshelper.cpp M +0 -7 src/libdpms/xcbdpmshelper.cpp M +0 -3 src/libdpms/xcbdpmshelper_p.h https://invent.kde.org/plasma/libkscreen/-/commit/67f4c28edb853f4939b26a8a0f85d7ffaf2ab9f7 -- You are receiving this mail because: You are watching all bug changes.