https://bugs.winehq.org/show_bug.cgi?id=51243
Bug ID: 51243 Summary: In Wine dinput:keyboard fails if the keyboard layout does not match the display language Product: Wine Version: 6.8 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: directx-dinput Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com Distribution: ---
In Wine dinput:keyboard fails if the keyboard layout does not match the display language:
https://test.winehq.org/data/patterns.html#dinput:keyboard
keyboard.c:424: Test failed: 0: expected 10, got 41 keyboard.c:462: Test failed: dinput failed to handle keyboard event
* On my laptop which has an Azerty keyboard: LANG=fr_FR.UTF-8 -> these two tests succeed (but line 467 fails) LANG=en_US.UTF-8 -> these two tests fail
* On my desktop which has a Qwerty keyboard: LANG=fr_FR.UTF-8 -> these two tests fail LANG=en_US.UTF-8 -> these two tests succeed
Note: * For the TestBot VMs the locale tests only set $LANG so this is why this failure happens on debiant2-win32-fr-FR. * The test only tests English, French, German and Japanese. * The German case has a similar failure (on lines 424 and 467). * The Japanese case and other locales do not fail.