Bug 1227612

Summary: keyboard layout wrong for various applications
Product: [openSUSE] openSUSE Distribution Reporter: Harald Mueller-Ney <hmuelle>
Component: X.OrgAssignee: Gfx Bugs <gfx-bugs>
Status: RESOLVED DUPLICATE QA Contact: Gfx Bugs <gfx-bugs>
Severity: Normal    
Priority: P3 - Medium    
Version: Leap 15.6   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Log of text session using xterm as example not working

Description Harald Mueller-Ney 2024-07-10 09:10:42 UTC
Created attachment 875987 [details]
Log of text session using  xterm as example not working

Fresh install of openSUSE Leap 15.6 - Gnome, Wayland

System is set to German  and German keyboard layout.
Gnome/GTK application seem to use correctly German keyboard layout. Other applications like e.g. Chrome, Thunderbird using  US keyboard layout.

Using Yast -> Hardware -> Keyboard (or in German Tastatur) the keyboard setting is German.  

Using the textbox, it is using US (QWERTY) not German (QWERTZ) layout. Switching back and forth via any other layout the textbox is using German layout (QWERTZ). 

Using now already running Chrome, it is using now German Layout. No restart needed, which hints for an issue in Wayland/X. Unfortunately the setting is not surviving a reboot nor an logout/login.

xterm as well suffers from the issue. I will attach a log of my changes. 

It seems we do not set the correct keymap for X/Wayland but just for GTK.

The issue seems to be present for more users and seem to hit as well upgrades - See:
https://forums.opensuse.org/t/wrong-keyboard-layout-on-most-applications-after-fresh-install/175773
Comment 1 Stefan Dirsch 2024-07-10 09:51:15 UTC
Another dup

*** This bug has been marked as a duplicate of bug 1219505 ***