Bug 490533 - kscreen-doctor "--dpms off" does not work properly unless final key pressed quickly
Summary: kscreen-doctor "--dpms off" does not work properly unless final key pressed q...
Status: REPORTED
Alias: None
Product: KScreen
Classification: Plasma
Component: kscreen-doctor (show other bugs)
Version: 6.1.3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-20 01:48 UTC by saunders
Modified: 2024-07-20 01:48 UTC (History)
0 users

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 saunders 2024-07-20 01:48:25 UTC
SUMMARY
When using "kscreen-doctor --dpms off" if you don't push the last key quick enough the system will just wake it back up immediately. You have to push the button quickly for it to work. I usually use this "sleep 0.5 ; /usr/bin/kscreen-doctor --dpms off" with hotkeys.

I would like to see a --wait <sec> or something along those lines added.

STEPS TO REPRODUCE
1. equip "kscreen-doctor --dpms off" to a single hotkey.
2. press and hold down that key a fraction of a second too long.

OBSERVED RESULT
screen just comes back immediately.

EXPECTED RESULT
screen turns off.

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 2.15
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.9.10 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION