Bug 482081

Summary: Translation of local keyboard layout fails when not set to en-US
Product: [Applications] krdc Reporter: Kai <kn5i02tst>
Component: VNCAssignee: Urs Wolfer <uwolfer>
Status: REPORTED ---    
Severity: normal CC: aacid, kn5i02tst, postix
Priority: NOR    
Version First Reported In: 23.08.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Kai 2024-02-29 19:28:14 UTC
SUMMARY
Only when the local keyboard layout is set to English (US) the keys are transmitted almost correctly.


STEPS TO REPRODUCE
1. Set local keyboard layout to something different then English (US). In my case German.
2. Connect to a remote with VNC.
3. Try to type any special characters.

OBSERVED RESULT
1. When the local and remote keymap is set to German:
    "@" -> "²", "&" -> "/", "-" -> "ß", "_" -> "?", "|" -> "’"
2. When the local keymap is set to German and the remote keymap to English (US):
    "@" -> "2", "&" -> "&", "-" -> "-", "_" -> "_", "|" -> "\"
3. When the local and remote keymap is set to English (US):
    seems to work fine
4. When the local keymap is set to English (US) and the remote keymap to German:
    almost correct. like typing on a German keyboard

EXPECTED RESULT
Keyboard input should be transmitted correctly.

SOFTWARE/OS VERSIONS
Linux: Arch Linux 6.7.6-arch1-1
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12