Bug 466023 - Locking the screen manually should turn off display and keyboard backlight
Summary: Locking the screen manually should turn off display and keyboard backlight
Status: CLOSED INTENTIONAL
Alias: None
Product: kscreenlocker
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-18 18:34 UTC by Porkepix
Modified: 2023-02-24 18:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Porkepix 2023-02-18 18:34:04 UTC
SUMMARY
It's likely anyone doing a manual screenlock don't need to see anything on it in the next couple of seconds/minutes, so instead of waiting the timer that turns it off because of idling, locking the screen could just turn off display and keyboard backlight instantly, until a key is pressed.
(A bonus could even be to have a way of turning them off from the lockscreen if they were accidentally awaken).

SOFTWARE/OS VERSIONS
ArchLinux
Linux/KDE Plasma: 5.27.0
(available in About System)
I'm not seeing an "About System", where should it be looked for?
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version:
Comment 1 Nate Graham 2023-02-22 19:15:32 UTC
The lock screen can also function as a screen saver and that would be impaired if we did this. It would be quite weird if you lock your laptop's screen and then it immediately becomes almost illegible but still interactive due to the backlight turning off. If the goal is to save energy, just put the whole system to sleep.

No can do, sorry.
Comment 2 Porkepix 2023-02-22 20:45:26 UTC
You might want to turn the screen off and locked while not putting the system to sleep, for example if you play music/radio on it.

For a personal situation, I do so when going to sleep and had such behavior with other lockscreens, I found this pretty handy, and I never saw a situation where I manually lock my screen and… want to watch it after…?

Why would one lock its screen to watch a password input after that?
Comment 3 Nate Graham 2023-02-22 20:51:45 UTC
(In reply to Porkepix from comment #2)
> You might want to turn the screen off and locked while not putting the
> system to sleep, for example if you play music/radio on it.
For this use case, you can lock the screen and hit the Esc key to turn off the display completely.

> Why would one lock its screen to watch a password input after that?
When using the lock screen as an old-school screensaver (e.g. with an animated background) that you like to be able to see. This turns out to be a surprisingly common thing for people to want to do, believe it or not.
Comment 4 Porkepix 2023-02-22 21:07:50 UTC
(In reply to Nate Graham from comment #3)
> (In reply to Porkepix from comment #2)
> > You might want to turn the screen off and locked while not putting the
> > system to sleep, for example if you play music/radio on it.
> For this use case, you can lock the screen and hit the Esc key to turn off
> the display completely.

So, I just learned it's supposed to do that, but for me it isn't: pressing esc just hide everything else than wallpapers and date/time, but it doesn't turn off the screen, nor does it for the keyboard backlight.

> > Why would one lock its screen to watch a password input after that?
> When using the lock screen as an old-school screensaver (e.g. with an
> animated background) that you like to be able to see. This turns out to be a
> surprisingly common thing for people to want to do, believe it or not.

So, I didn't knew it could be animated, and I'm sorry if it sounded mean or unfriendly toward people, I didn't mean for that.
Comment 5 Nate Graham 2023-02-22 21:31:23 UTC
Weird, it's supposed to work as of Plasma 5.27. It works for me. Can you upgrade to 5.27.1 and see if that's still broken?

If so, please file a new bug report for it.

Also, turning off the keyboard backlight when hitting the Esc key to turn the screen off seems reasonable. Can you file a new bug report/feature request for that too?
Comment 6 Porkepix 2023-02-24 11:18:00 UTC
Still seeing the same thing on 5.27.1, so I filed https://bugs.kde.org/show_bug.cgi?id=466344 and https://bugs.kde.org/show_bug.cgi?id=466345

Also, if the escape key is a toggle on/off for the display, maybe then it could start turned off but then bu turned back on by using the key?
Anyway, let's see what happens with those two bugs first.
Comment 7 Nate Graham 2023-02-24 18:05:28 UTC
Thanks!