Bug 484356 - Make screen locker not register "space" button pressing
Summary: Make screen locker not register "space" button pressing
Status: REPORTED
Alias: None
Product: kscreenlocker
Classification: Plasma
Component: general (show other bugs)
Version: 6.0.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-24 01:58 UTC by roworu
Modified: 2024-03-26 03:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description roworu 2024-03-24 01:58:13 UTC
Hello. This is more like a feature request:
Would it be possible to make Plasma screen locker not react on pressing space button? 
For most of OSes nowadays, once your screen locked and blanked - you just press a space button to turn display on and then start typing password. 
Every time when my screen blanked I out of habit press the button space button and it getting registered as if started typing a password, and when I type in my password - it is incorrect (due to that extra space in beginning).
Thank you!
Comment 1 Jin Liu 2024-03-24 02:25:46 UTC
I guess these OSes also don't allow password to begin with a space. Linux generally allows that, so the suggested modification would change the workflow for users who do have passwords beginning with a space. Need to be considered carefully.

The alternative is to register the space, but when unlocking failed, automatically retry with the beginning space removed.

OTOH, you can use Ctrl or Shift instead, which I guess also works in other OSes.
Comment 2 roworu 2024-03-24 11:59:32 UTC
Gnome desktop also behaves this way. But it only ignores first press of the space button.
So, I would propose act the same:
1) First press of space button considered as signal to turn on display.
2) All others - password input.
May be we should not focus on exact button (if it space, Ctrl, Shift) and just make first touch of keyboard with turned off display to turn it on?
It sound more logical, than just start password input: Monitor is blank - is it just turned off by timeout? Or is it locked? We need to press button to turn it on - turns out it was locked, so we need to delete the symbol registered as password input, and start typing password. 
That  sound as a little, logical UX improvement.
Comment 3 Sydney 2024-03-25 14:54:22 UTC
I don't think dropping an input to a password field is a great idea for UX. Can just wake the screen with non-text input.