http://bugs.winehq.org/show_bug.cgi?id=58640
Bug ID: 58640 Summary: winewayland unconditionally sends RCtrl when pressing RAlt Product: Wine Version: 10.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winewayland Assignee: wine-bugs@winehq.org Reporter: miles@milessimpson.com Distribution: ---
In dlls/winewayland.drv/wayland_keyboard.c, at line 831 (as of 10.13 sources), there is an unconditional Right Control forced when pressing the Right Alt key, regardless of keyboard layout, shown here:
/* NOTE: Windows normally sends VK_CONTROL + VK_MENU only if the layout has KLLF_ALTGR */ if (key == KEY_RIGHTALT) send_right_control(hwnd, state);
This interferes with "us" keyboard layouts and programs that treat left and right alt keys independently. This differs from XWayland where a R_ALT keypress is sent through unmodified for the "us" layout.
The line in question has a comment mentioning that this should only happen when KLLF_ALTGR is specified. There are layouts with that specified, but this check does not factor that in when deciding to send R_CTRL.
http://bugs.winehq.org/show_bug.cgi?id=58640
Miles Simpson miles@milessimpson.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |ArchLinux Regression SHA1| |df4cae2e30c2c061bc8b061e8d4 | |4207746c9fe48