Bug 480724 - Lockscreen can't unlock with non-numeric passwords
Summary: Lockscreen can't unlock with non-numeric passwords
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasma-mobile
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Mobile Bugs
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-02 09:47 UTC by Stefan Murawski
Modified: 2024-03-25 14:30 UTC (History)
2 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 Stefan Murawski 2024-02-02 09:47:43 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. Use a password not containing only numbers
2. Lock the device
3. Try to unlock the device

OBSERVED RESULT
The unlock screen only allows the numbers from 0-9 and unlocking is not possible anymore without an external keyboard.

EXPECTED RESULT
Allow unlocking for normal passwords without using an external keyboard.
Either by offering letters and symbols in that widget or automatically showing an on-screen keyboard.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: kde neon
(available in About System)
KDE Plasma Version: RC2
KDE Frameworks Version: RC2
Qt Version: 6.6.1

ADDITIONAL INFORMATION
The offending code for the Pin Input is in this file:
https://invent.kde.org/plasma/plasma-mobile/-/blob/master/lookandfeel/contents/lockscreen/Keypad.qml
It's hardcoded to only allow the numbers from 0-9.
I have kde neon installed on a x86 tablet and currently have to activate caffeine so it will not automatically lock at the moment, I have the system set to automatically log in on boot.
Comment 1 Devin Lin 2024-02-04 01:39:17 UTC
Try clicking the keyboard button on the password bar to show the on-screen keyboard, we unfortunately don't have a way of knowing whether the password is numeric
Comment 2 Stefan Murawski 2024-03-25 14:30:15 UTC
Hello,
Sorry for the late reply.
After some more testing using the current kde neon stable version, your recommendation works and seems acceptable.
Before clicking the button didn't seem to do anything.
But now it loads the on-screen keyboard, after a little moment.
I have a different bug with the plasma-mobile shell, the notification bar is condensed into a small area in the top middle, but I will analyse that further and create a new bug report if needed.
Thanks for the work.