https://bugs.winehq.org/show_bug.cgi?id=56204
Bug ID: 56204 Summary: Keyboard layout detection is faulty for Dvorak. Product: Wine Version: 8.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: daniel@gluo.nz Distribution: ---
I have Dvorak with compose key on right-alt and a .XCompose file and IME for Japanese via fcitx5 setup.
I see this in my console when running wine:
``` 0140:trace:keyboard:X11DRV_KEYBOARD_DetectLayout Attempting to match against "United States keyboard layout" 0140:trace:keyboard:X11DRV_KEYBOARD_DetectLayout matches=47, mismatches=5, seq=33, score=74 0140:trace:keyboard:X11DRV_KEYBOARD_DetectLayout Attempting to match against "United States keyboard layout (phantom key version)" 0140:trace:keyboard:X11DRV_KEYBOARD_DetectLayout matches=48, mismatches=4, seq=34, score=80 0140:trace:keyboard:X11DRV_KEYBOARD_DetectLayout Attempting to match against "United States keyboard layout (dvorak)" 0140:trace:keyboard:X11DRV_KEYBOARD_DetectLayout matches=47, mismatches=5, seq=46, score=74 ```
How is there *only* 5/6 miss-matches between two layouts like QWERTY and Dvorak?
Dvorak only has 'a' and 'm' and the number row in the same place.
According to this old blog post, there might be a bug: https://forum.winehq.org/viewtopic.php?t=32546
https://bugs.winehq.org/show_bug.cgi?id=56204
--- Comment #1 from Daniel daniel@gluo.nz --- Created attachment 75916 --> https://bugs.winehq.org/attachment.cgi?id=75916 Dvorak should use QWERTY scancodes
https://bugs.winehq.org/show_bug.cgi?id=56204
--- Comment #2 from Daniel daniel@gluo.nz --- Created attachment 75917 --> https://bugs.winehq.org/attachment.cgi?id=75917 Improve DetectLayout heuristics
https://bugs.winehq.org/show_bug.cgi?id=56204
--- Comment #3 from Daniel daniel@gluo.nz --- Created attachment 75918 --> https://bugs.winehq.org/attachment.cgi?id=75918 add Dvorak with phantom keys layout