#603 Live Fedora 41 KDE - 'Keyboard Layout' is broken
Opened 5 months ago by ddjivan. Modified 2 months ago

On Fedora-KDE-Live-x86_64-41-1.4, I encountered an issue with the Keyboard settings.

Description

  • When enabling Layouts and adding layouts (see image 4), they do not seem to be available at all.
  • The keyboard shortcut does not function. (meta+alt+K)
  • The entry in the System Tray does not appear. When changing its visibility to Always Shown, the icon is blank (see image 1).
  • The right-click menu does not show the added keyboard layouts (see image 2).
  • The entry settings seem to be broken (see image 3).

Steps to reproduce

  1. Boot from the x86_64 ISO from Fedora-KDE-Live-x86_64-41-1.4.
  2. Open Keyboard Settings.
  3. Enable Layouts and add layouts.

System information (see image 5)

Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Kernel Version: 6.11.4-301.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7640U w/ Radeon 760M Graphics
Memory: 30.7 GiB of RAM
Graphics Processor: AMD Radeon 760M
Manufacturer: Framework
Product Name: Laptop 13 (AMD Ryzen 7040 Series)
System Version: A5

Images

Here are the screenshots: https://imgur.com/a/MGith82

If you have any questions or need more information, please let me know!


Right. The live session uses the system-wide locale settings from org.freedesktop.locale1 rather than the session-specific locale settings from KDE. This is following: https://pagure.io/fedora-kde/SIG/issue/504

The section about locale in the installer app will reflect its changes immediatly in the live session through the same org.freedesktop.locale1 interface, so you can use that.

We should either hide the KDE locale settings, or make it control the system-wide locale in the live session only (probably non-trivial)

Metadata Update from @aleasto:
- Issue set to the milestone: Fedora Linux 42
- Issue tagged with: meeting, need-work

4 months ago

Metadata Update from @aleasto:
- Issue untagged with: meeting

4 months ago

The section about locale in the installer app will reflect its changes immediatly

So that was a lie. It turns out that we shipped the F41 live image quite broken because the anaconda change is only scheduled for F42, and making KWin follow org.freedesktop.locale1 prevents the keyboard KCM from doing anything, so there's no (graphical) way to change the keyboard layout for the current live session. That's especially problematic for setting passwords...

@ngompa should we revert the KWin config change so that the KCM can keep working in F41? That will only affect the respins but it's still something...

For F42 instead, I prepared this https://invent.kde.org/aleasto/kxkb2locale1 which allows the KCM to keep working, alongside Anaconda.
It works pretty well, except that Anaconda is not fully respecting its promise ("React on systemd-localed configuration changes and correctly show them to the user") so some interactions are still weird.

Makes sense to me. Go for it.

https://bugzilla.redhat.com/show_bug.cgi?id=2344721

This will have to be pulled as a soft-dependency of something, to be pre-installed in the live image.

There doesn't seem to be a "nice" or "official" way to have a package only pre-installed in the live image but not in the installed system, so this will end up in the installed system as well. But I've made sure that it will exit immediately if it doesn't detect the right environment.

There doesn't seem to be a "nice" or "official" way to have a package only pre-installed in the live image but not in the installed system, so this will end up in the installed system as well.

@aleasto, any idea whether it's being tracked anywhere? I've seen this problem mentioned more than once.

Log in to comment on this ticket.

Metadata