Repository navigation
Lock screen: allow unlocking by touch when no keyboard is attached #14341
AlanRoman117
started this conversation in
Suggestions
Replies: 1 comment
|
Consolidated the lock screen ask here with a concrete shape and an offer to build it: #17222. Adding the PIN tier and the list of properties a lock keyboard needs from the lock view. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
System: ASUS ROG Flow Z13 (GZ302EA, Ryzen AI Max+ 395), Omarchy 4.0.4, Hyprland 0.56.2, kernel 7.2.5. It's a detachable: with the keyboard off, it's a touchscreen tablet.
The problem
With the keyboard detached there's no way to unlock the lock screen. After a suspend or an idle lock, the password field is there but nothing can type into it:
The only way in is to reattach the keyboard, type the password, and detach it again.
This affects any 2-in-1 or detachable used as a tablet: Surface-style devices, the Z13, convertibles folded flat, and the GPD Pocket 4 mentioned in #9029.
Suggestion
An optional on-screen keyboard drawn by the lock screen itself (
plugins/lock/LockView.qml). It would type into the existing password field and submit through the existingomarchy-lock-passwordPAM flow, so authentication stays exactly as it is:hyprctl devices), or behind a setting.Because it lives inside the lock surface, it avoids the input-routing problems the menu and bar panels have with external on-screen keyboards (#9029, #9756). It also needs no third-party keyboard to be trusted with the password.
Why not a plugin
A third-party plugin could do this by cloning
omarchy.lock, since clones keep theauthenticationcapability. But that means users run a forked lock screen that stops getting upstream fixes, which is the wrong place to fork. It seems better as an opt-in part of the stock lock.Context
I'm using a small personal plugin for tablet mode on the Z13 (auto-rotation, wvkbd and touch tweaks when the keyboard detaches). It deliberately leaves the lock screen alone, which is why I'm suggesting this upstream instead of working around it.
Happy to test on the Z13.
All reactions