Bug 498964 - With multiple LUKS decryption prompts, the second one can lose focus at certain times
Summary: With multiple LUKS decryption prompts, the second one can lose focus at certa...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-21 14:15 UTC by cmcglown
Modified: 2025-01-21 22:51 UTC (History)
1 user (show)

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


Attachments
LUKS password input (169.25 KB, image/jpeg)
2025-01-21 22:44 UTC, cmcglown
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cmcglown 2025-01-21 14:15:24 UTC
SUMMARY
I have recently installed Kubuntu 24.04 and set it up such that I have 2 separate physical drives encrypted. One drive has my root partition encrypted but my /boot and /boot/efi are not encrypted. The other is my /home partition which is encrypted all using LUKS2. When I boot the PC and get to the point where I need to unlock the drives The first to request the unlock is the root partition. When that is unlock the screen resizes to the correct monitor resolution and, since I have 2 monitors, the other monitor is active. These monitors are identical. The home partition is next to get unlocked as the monitors are re-configuring and this is the problem. If I do not put in the password fast enough then I cannot use my keyboard to type in the password input screen. The password has to be before the monitors set themselves up. The keyboard still works, I can ctrl-alt-delete to restart the PC, but I can't put in my password to unlock the second drive no matter what I do. I don't know if it has crashed or not but I can boot normally only if I put in the password fast enough.

STEPS TO REPRODUCE
1. Set up a system (Kubuntu 24.04) with an encrypted root and home partition which are on separate drives.
2. Use dual monitors with a resolution of 3840X2160.
3. Try to boot and unlock both drives.

OBSERVED RESULT
When the screen is resized after the root partition is unlocked the input to unlock the second partition  is disabled and you cannot continue to boot.

EXPECTED RESULT
I expect to be able to type in the password to unlock the second partition even after the screen is resized automatically.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-51-generic (64-bit)
Graphics Platform: X11
Processors: 24 × AMD Ryzen 9 7900X 12-Core Processor
Memory: 31.1 GiB of RAM
Graphics Processor: AMD Radeon RX 6700 XT
Manufacturer: ASUS

ADDITIONAL INFORMATION
I think the problem happens when the monitors are detected and resized. The focus is no longer on the LUKS input and I don't know how to get it back to being on the LUKS input.
Comment 1 Nate Graham 2025-01-21 22:04:23 UTC
This all happens before you log in, right? I don't use any encrypted internal disks; would you mind attaching screenshots of your screens at each LUKS prompt?
Comment 2 cmcglown 2025-01-21 22:44:41 UTC
Created attachment 177577 [details]
LUKS password input

This is the first monitor. You have to enter your password for both /home and / (root directory). This screenshot only shows after I enter the password for root directory but they show the same except for different disks UUIDs. If I don't enter the password fast enough then this screen will not accept any input and I have to ctrl-alt-delete to reboot and try again.
Comment 3 Nate Graham 2025-01-21 22:51:23 UTC
Aha!

I'm afraid I don't know what layer of the software stack this comes from, but I know it's not KDE code since it's deep below us. Might be Plymouth. Either way, this needs to be reported to Ubuntu, which is the entity responsible for system integration.