Bug 455104 - Please consider not entering a space character when space bar is pressed to wake up the login screen
Summary: Please consider not entering a space character when space bar is pressed to w...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Theme - Breeze (show other bugs)
Version: 5.25.0
Platform: Kubuntu Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2022-06-10 01:07 UTC by Rodney Gedda
Modified: 2022-06-20 18:56 UTC (History)
5 users (show)

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 Rodney Gedda 2022-06-10 01:07:44 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Lock screen or sleep
2. Press space bar to see the login screen & field
3. A "space character" will input as the first character of the password
4. You have to delete the space character before entering password

OBSERVED RESULT


EXPECTED RESULT

Other operating systems (not mentioning any names) allow you to hit space bar to wake up and then enter your password in without a space character in there already.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Raphaël Jakse 2022-06-10 07:32:49 UTC
This would eat the space also for people who's password starts with a space, which could be very confusing. Maybe another solution would be to display a message suggesting to press a key that don't normally produce a character to "wake up" the login screen? like escape, enter, ctrl, shift or something.
Comment 2 Nate Graham 2022-06-10 16:02:01 UTC
It's probably pretty rare for people to have a password starting with a space, but yeah, that's a valid concern in principle.

Still, the request doesn't seem totally unreasonable to me.
Comment 3 Rodney Gedda 2022-06-11 04:18:39 UTC
Hi Raphael and Nate,

Raphael raises a valid concern, but I don't think it applies in this case.

When the lock screen is on or the system is asleep, pressing space wakes the system up *and* enters a space character into the password field. It should land you into the password field with no characters pre-entered.

> escape, enter, ctrl, shift or something.

Yes, just tested this and these other keys do exactly what space should do - wake the system up and land you in the password field with no characters entered.

Rod
Comment 4 Rodney Gedda 2022-06-11 04:26:19 UTC
In fact, pressing any character key inputs that character, not just space.

So I would recommend using any keyboard input to "wake up" first then land you in the password input field.

How many people would actually want to start typing in their password before they can see the characters being entered?
Comment 5 Jiří Wolker 2022-06-20 18:56:23 UTC
(In reply to Rodney Gedda from comment #4)
> In fact, pressing any character key inputs that character, not just space.
> 
> So I would recommend using any keyboard input to "wake up" first then land
> you in the password input field.
> 
> How many people would actually want to start typing in their password before
> they can see the characters being entered?

I strongly disagree with you. I am one of the people who just sit down at the computer and type in the password while the screen is off (or showing the clock with password field hidden), if I think it is safe.

I am a bit more comfortable with just typing the password, without doing anything else. If your suggestion would become implemented, it could take me probably weeks to re-learn the login procedure. For me, it is “reflex action”. I do not think about that I am going to enter the password. I simply see the login screen on my computer, type the password and hit return as if it would be a single operation.

My suggestion is: Add an option to the system settings for that. Maybe three options: type immediately everything, ignore whitespace chars, and do not type the first char (when the password field is hidden).

And there is also another reason for not-ignoring the first keypress: With some screens, it really takes ages (relatively: tens of seconds) to bring them back to working state when they are turned off using DPMS. Imagine the user that presses a key, waits for the screen to show the password field and then typing the password instead of just typing it and letting the screen to start up while they are typing. When done frequently, it can take a lot of time. There is one operating system that does this thing in the worst possible way: You press a key, then the user must wait for the password field and only then the operating system responds to the user's input. When the password is typed before the field is shown, some characters are dropped or even typed at wrong position (!).