Bug 489671 - Time-based lock screen with maliit enabled has broken password confirm button sometimes
Summary: Time-based lock screen with maliit enabled has broken password confirm button...
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Screen locking (show other bugs)
Version: 6.2.4
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-03 11:41 UTC by Ellie
Modified: 2025-02-11 14:18 UTC (History)
0 users

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


Attachments
Video showing the unlock button not working (332.70 KB, video/webm)
2024-07-03 11:43 UTC, Ellie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ellie 2024-07-03 11:41:56 UTC
SUMMARY

When enabling maliit, sometimes the time-based lock screen will just break and the unlock button doesn't work. This can require a hard reset of the machine unless the user figures out how to get it unstuck again (which is usually possible via opening/closing maliit a few times, which due to https://github.com/maliit/keyboard/issues/223 and https://github.com/maliit/keyboard/issues/222 is almost impossible to physically do). Somehow I only ever see this with the time-based lock screen that comes up after some idle time, not any manually activated screen lock.

STEPS TO REPRODUCE

1. Use a device with a touch screen, enable maliit. Having a touch screen probably required since it may depend on how a button is pressed later. If possible, disconnect any regular mouse entirely. Hardware keyboards can be connected.
2. Set the idle lock screen timer to something short like 1 minute.
3. Wait for the lock screen to come up and wait the additional seconds required so that entering the password is guaranteed to be mandatory.
4. You can enter a password via maliit, don't touch a physical keyboard or mouse. Entering a password can also be skipped and sometimes helps with the bug occurring more often, but that's of course not a common use case. Afterward, press the password input button via your finger.

OBSERVED RESULT

See attached video. The button sometimes just breaks and doesn't work anymore.

EXPECTED RESULT

The unlock button works.

SOFTWARE/OS VERSIONS

Windows: 
macOS: 
Linux/KDE Plasma: postmarketOS Edge
(available in About System)
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.6.3

ADDITIONAL INFORMATION
Comment 1 Ellie 2024-07-03 11:43:02 UTC
Created attachment 171326 [details]
Video showing the unlock button not working
Comment 2 Ellie 2024-07-03 20:30:23 UTC
I found a reliable workaround: "Switch User" brings up SDDM instead, which doesn't seem to have this issue. But since this workaround isn't very obvious, I feel like many users are still prone to get stuck at the lock screen and may be desperate enough to hard reset their machine. So this feels like a relatively high impact issue nevertheless.
Comment 3 Ellie 2025-01-23 01:00:12 UTC
Sadly, "Switch Users" seems to be broken on latest Alpine Linux for some possibly unrelated reason, seemingly upgrading this to an unavoidable hard lock again for users without a physical keyboard attached.
Comment 4 Ellie 2025-02-11 14:18:55 UTC
Is there something I can provide to help fix this? This seems to be fairly high impact.