Bug 482181 - If keyboards were changed while laptop was sleeping, can't enter password on waking to unlock session
Summary: If keyboards were changed while laptop was sleeping, can't enter password on ...
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Screen locking (show other bugs)
Version: 6.2.4
Platform: Kubuntu Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-01 17:45 UTC by Aaron Miller
Modified: 2025-02-14 11:09 UTC (History)
3 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 Aaron Miller 2024-03-01 17:45:50 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. Login
2. Plugin a USB keyboard
3. Sleep laptop
4. Unplug that keyboard and plugin a different USB keyboard
5. Select password area if not already selected

OBSERVED RESULT

Typing in password shows the little circle characters for hidden password characters, and unlocking works if the password is correct.

EXPECTED RESULT

Typing in password does not show anything, and unlocking doesn't work.


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

ADDITIONAL INFORMATION
Comment 1 Aaron Miller 2024-03-01 17:47:03 UTC
The only work around I have found is to unplug the keyboard and then type on the laptop keyboard itself. I seem to recall typing on the laptop keyboard didn't work (nothing showing up) while the USB keyboard was plugged in.
Comment 2 Nate Graham 2024-03-01 21:56:26 UTC
Did you reverse the observed and expected sections?
Comment 3 Nate Graham 2024-03-01 22:19:25 UTC
And do the keyboards differ in their physical layouts?
Comment 4 Aaron Miller 2024-03-01 23:02:32 UTC
(In reply to Nate Graham from comment #2)
> Did you reverse the observed and expected sections?

Yes I did. I will fix this. Thanks!
Comment 5 Aaron Miller 2024-03-01 23:03:48 UTC
(In reply to Aaron Miller from comment #4)
> (In reply to Nate Graham from comment #2)
> > Did you reverse the observed and expected sections?
> 
> Yes I did. I will fix this. Thanks!

Actually I am not sure how to fix. The Bugzilla UI doesn't make it obvious.
Comment 6 Aaron Miller 2024-03-01 23:04:42 UTC
(In reply to Nate Graham from comment #3)
> And do the keyboards differ in their physical layouts?

I believe so, yes. One is a Das Keyboard and the other is a Logi.
Comment 7 Nate Graham 2024-03-04 19:45:25 UTC
What a funny thing to do. :) Still, it seems like we can handle this by re-evaluating the keyboard layout on wake-up.