plymouth luks input prompt displays wrong keyboard layout locale

Bug #2061676 reported by Eugene San
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kubuntu-settings (Ubuntu)
Fix Released
Critical
Aaron Rainbolt

Bug Description

After fresh install of Kubuntu 24.04 daily, plymouth luks input prompt fails to display current locale.
It displays 'no' instead 'en' and I couldn't find a way to switch to alternate locale.

Also after changing plymouth theme, it applies only to the shutdown sequence. The boot sequence stays default 'kubuntu' spinner and the issues persists.

The same works fine on Kubuntu 23.10 and Ubuntu 24.04 daily (with default 'spinner' theme).

I did rebuild initramfs after each attempt and also tried switching from GRUB to systemd-boot without success.

I compared /etc of Kubuntu and Ubuntu and didn't see any obvious related differences, so the issue is probably unrelated to how Calamares configures the system but someone more experienced should take a look.

Eugene San (eugenesan)
description: updated
Revision history for this message
Eugene San (eugenesan) wrote :

Update:
I tried switching to BGRT theme and it fixed the issue.
Both start and shutdown splashe screen display correctly and encryption input prompt displays correct locale.

Trying any other non-text splash screen results in full or partial (shutdown only) activation of kubuntu-logo which breaks the prompt.

Revision history for this message
Aaron Rainbolt (arraybolt3) wrote :

This bug should be visual-only, there's code in the Calamares configuration specifically meant to make sure the real keyboard layout is set correctly. However, the wrong one being displayed even with the right one in use is definitely very confusing.

Interesting that it doesn't happen with BGRT, I'll have to check that out. Thank you!

Changed in kubuntu-settings (Ubuntu):
status: New → Confirmed
assignee: nobody → Aaron Rainbolt (arraybolt3)
Revision history for this message
Aaron Rainbolt (arraybolt3) wrote :

Alright, so this is fun. Apparently there's an image full of keyboard layout labels in Kubuntu's plymouth theme. There also appears to be code that handles the password prompt, my assumption is that code extracts a slice of this image to show the keyboard layout to the user. Evidently it's doing it wrong. So now the question is what changed to break it and how to make it do it right now.

Revision history for this message
Aaron Rainbolt (arraybolt3) wrote :

Looks like our keymap render image is out-of-date and that's what causes this. If I copy the keymap-render.png from the `spinner` theme into the kubuntu-logo theme, things appear to work.

Changed in kubuntu-settings (Ubuntu):
importance: Undecided → Critical
summary: - plymouth luks input prompt fails to display current locale and
+ plymouth luks input prompt displays wrong keyboard layout locale
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kubuntu-settings - 1:24.04.10

---------------
kubuntu-settings (1:24.04.10) noble; urgency=medium

  [ Scarlett Moore ]
  * Fix sddm face icon.

  [ Aaron Rainbolt ]
  * Update keymap-render.png in kubuntu-logo Plymouth theme. (LP: #2061676)

 -- Aaron Rainbolt <email address hidden> Thu, 18 Apr 2024 18:57:40 -0400

Changed in kubuntu-settings (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.