https://bugs.kde.org/show_bug.cgi?id=501917

            Bug ID: 501917
           Summary: Keyboard layout switching breaks if the first layout
                    matches the system layout
    Classification: Applications
           Product: systemsettings
           Version: 6.3.3
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_keyboard
          Assignee: plasma-b...@kde.org
          Reporter: janne-...@jannau.net
                CC: butir...@gmail.com, duha.b...@gmail.com,
                    natalie_clar...@yahoo.de
  Target Milestone: ---

When the first keyboard layout matches the system layout the keyboard layout
systray button is missing and switching via shortcut (Meta+Alt+k) does not
work. After modifying the order so that the system layout is not the first
entry switching works as expected.

locatectl
|    VC Keymap: us
|    X11 Layout: us
|    X11 Model: applealu_iso

cat ~/.config/kxkbrc 
| [Layout]
| DisplayNames=,,
| LayoutList=us,eu,de
| Model=applealu_iso
| Use=true
| VariantList=mac,,nodeadkeys

After changing the order to

cat ~/.config/kxkbrc 
| [Layout]
| DisplayNames=,,
| LayoutList=eu,us,de
| Model=applealu_iso
| Use=true
| VariantList=,mac,nodeadkeys

everything works as expected.



STEPS TO REPRODUCE
1. Go to keyboard configuration in System Settings
2. Enable "Layouts" and add system layout
3. add another layout and apply

OBSERVED RESULT
Switching between the the layouts is not possible. no keyboard layout systray
icon and the keyboard shortcut is not working either

EXPECTED RESULT
active layout is displayed in the systray icon and switching between different
keyboard layouts works

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux Asahi Remix 41
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
originally reported in
https://discussion.fedoraproject.org/t/keyboard-layout-switching-stopped-working/146988

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to