http://bugs.winehq.org/show_bug.cgi?id=30984
Bug #: 30984 Summary: Some keys do not work in Trine and Skyrim Product: Wine Version: 1.5.7 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv AssignedTo: wine-bugs@winehq.org ReportedBy: yves.embil@orange.fr Classification: Unclassified Regression SHA1: 43984f355a2905e16075a9df3d7fbe463761e853
Created attachment 40666 --> http://bugs.winehq.org/attachment.cgi?id=40666 result of the regression test
In Trine the key to select the thief and Skyrim the key to open the console does not work,with wine-1.5.5 it works.
http://bugs.winehq.org/show_bug.cgi?id=30984
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #40666|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=30984
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression CC| |ken@codeweavers.com
--- Comment #1 from Vincent Povirk madewokherd@gmail.com 2012-06-23 15:02:35 CDT --- No need to attach bisect results.
43984f355a2905e16075a9df3d7fbe463761e853 is the first bad commit commit 43984f355a2905e16075a9df3d7fbe463761e853 Author: Ken Thomases ken@codeweavers.com Date: Thu May 31 15:33:23 2012 -0500
winex11: Be more conservative when matching keys from built-in layout tables.
http://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #2 from Ken Thomases ken@codeweavers.com 2012-06-23 15:08:40 CDT --- (In reply to comment #0)
Created attachment 40666 [details] result of the regression test
In Trine the key to select the thief and Skyrim the key to open the console does not work,with wine-1.5.5 it works.
Can you attach the output from "xmodmap -pk" and a +key,+keyboard,+event log. Do the minimum necessary to reproduce the issue and then exit. Also, what key is supposed to perform each of those functions?
http://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #3 from yves64 yves.embil@orange.fr 2012-06-24 05:44:19 CDT --- (In reply to comment #2)
(In reply to comment #0)
Created attachment 40666 [details] result of the regression test
In Trine the key to select the thief and Skyrim the key to open the console does not work,with wine-1.5.5 it works.
Can you attach the output from "xmodmap -pk" and a +key,+keyboard,+event log. Do the minimum necessary to reproduce the issue and then exit. Also, what key is supposed to perform each of those functions?
(In reply to comment #2)
(In reply to comment #0)
Created attachment 40666 [details] result of the regression test
In Trine the key to select the thief and Skyrim the key to open the console does not work,with wine-1.5.5 it works.
Can you attach the output from "xmodmap -pk" and a +key,+keyboard,+event log. Do the minimum necessary to reproduce the issue and then exit. Also, what key is supposed to perform each of those functions?
I do xmodmap-pk with the version of wine that not work? How do I log the + key, + event, + keyboard event? I understand the question I am with google translate and the translation is difficult to understand.
http://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #4 from yves64 yves.embil@orange.fr 2012-06-24 05:45:17 CDT ---
Can you attach the output from "xmodmap -pk" and a +key,+keyboard,+event log. Do the minimum necessary to reproduce the issue and then exit. Also, what key is supposed to perform each of those functions?
I do xmodmap-pk with the version of wine that not work? How do I log the + key, + event, + keyboard event? I understand the question I am with google translate and the translation is difficult to understand.
http://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #5 from yves64 yves.embil@orange.fr 2012-06-24 06:29:56 CDT --- Created attachment 40677 --> http://bugs.winehq.org/attachment.cgi?id=40677 xmodmap result
http://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #6 from yves64 yves.embil@orange.fr 2012-06-24 06:36:17 CDT --- I understood xmodmap is part of xorg. But the problem just wine, in a qwerty keyboard is the key "~" and "2". The keys are recognized as beings that a keyboard is English or French In the key configuration of the trine games for example button "~" and "2" are not recognized since wine 1.5.6, I redo the test with wine 1.5.5 it works. I can not do the logs. Sorry to post poorly.
http://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #7 from yves64 yves.embil@orange.fr 2012-06-24 11:54:13 CDT --- Here are the keys that are not recognized, I make a list on a qwerty keyboard ~ 2 4 7 8 9 0 + In my French keyboard key 6 and key _ or - are recognized as + I use wine-git (wine-1.5.7) I do git show 43984f355a2905e16075a9df3d7fbe463761e853 | patch-p1-R The keys function
http://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #8 from yves64 yves.embil@orange.fr 2012-06-24 12:09:43 CDT --- (In reply to comment #7)
Here are the keys that are not recognized, I make a list on a qwerty keyboard ~ 2 4 7 8 9 0 + In my French keyboard key 6 and key _ or - are recognized as + I use wine-git (wine-1.5.7) I do git show 43984f355a2905e16075a9df3d7fbe463761e853 | patch-p1-R The keys function
keys 4 8 and + do not work
http://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #9 from Ken Thomases ken@codeweavers.com 2012-06-24 13:22:42 CDT --- (In reply to comment #3)
How do I log the + key, + event, + keyboard event?
Please see items 10.1 and 10.2 here: http://wiki.winehq.org/FAQ#get_log
In other words, please do:
WINEDEBUG=+key,+keyboard,+event wine trine.exe >&/tmp/output.log
Thank you for the xmodmap output.
http://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #10 from yves64 yves.embil@orange.fr 2012-06-24 13:44:59 CDT --- Created attachment 40686 --> http://bugs.winehq.org/attachment.cgi?id=40686 +key,+keyboard,+event trine log
http://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #11 from Ken Thomases ken@codeweavers.com 2012-07-05 16:51:15 CDT --- Created attachment 40876 --> http://bugs.winehq.org/attachment.cgi?id=40876 proposed fix
Thanks for the logs. Please try the attached patch to see if it fixes the problem.
Also, running Wine with LC_ALL=fr_FR.ISO-8859-1 would have avoided the issue, because Wine's built-in keyboard layout tables use ISO-8859-1 for French keyboards.
http://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #12 from yves64 yves.embil@orange.fr 2012-07-06 05:32:03 CDT --- (In reply to comment #11)
Created attachment 40876 [details] proposed fix
Thanks for the logs. Please try the attached patch to see if it fixes the problem.
Also, running Wine with LC_ALL=fr_FR.ISO-8859-1 would have avoided the issue, because Wine's built-in keyboard layout tables use ISO-8859-1 for French keyboards.
Hello By setting LC_ALL = fr_FR.ISO-8859-1, ~ and 2 keys works but keys 4, 8 and + do not work and 6 = + and _-=+
By putting the patch, the keys work as being in fr_FR.utf8, but not the keys 4, 8 ,+ I also tried in fr_FR.ISO-8859-1
In both cases 4, 8 ,+ keys do not work,6 = + and -_ = +
The patch works for keys that I use in trine and Skyrim.
Until now I was trying not all keys.
http://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #13 from yves64 yves.embil@orange.fr 2012-07-13 07:43:18 CDT --- In Skyrim, a quest for debugging console I can not write the number 4
In wine notepad all the keys work and are recognized in French keyboard
http://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #14 from yves64 yves.embil@orange.fr 2012-07-19 06:38:46 CDT --- I found the solution:
"setxkbmap us "
all keys are working in trine and skyrim by being fr_FR.UTF-8
http://bugs.winehq.org/show_bug.cgi?id=30984
Ken Thomases ken@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #40876|0 |1 is obsolete| |
--- Comment #15 from Ken Thomases ken@codeweavers.com 2012-07-24 19:57:45 CDT --- Created attachment 41141 --> http://bugs.winehq.org/attachment.cgi?id=41141 match keyboard in Unicode
Interesting about "setxkbmap us" helping. I don't quite understand what's happening there.
Can you reverse that change and then try this new patch?
http://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #16 from yves64 yves.embil@orange.fr 2012-07-25 00:25:45 CDT --- (In reply to comment #15)
Created attachment 41141 [details] match keyboard in Unicode
Interesting about "setxkbmap us" helping. I don't quite understand what's happening there.
Can you reverse that change and then try this new patch?
With the patch, the 8 key does not work.
In the skyrim console 4 is % and 6 is +
In the skyrim console to write a number I have to press Shift
http://bugs.winehq.org/show_bug.cgi?id=30984
Brandon Corujo haku08879@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |haku08879@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=30984
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |turotl@gmail.com
--- Comment #17 from Hans Leidekker hans@meelstraat.net 2013-06-20 10:19:54 CDT --- *** Bug 32557 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=30984
Ziktofel ziktofel@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ziktofel@gmail.com
--- Comment #18 from Ziktofel ziktofel@gmail.com --- have toy tried git bisect like at this bug: http://bugs.winehq.org/show_bug.cgi?id=32999
maybe it will hint the same commit, if it does, try to revert it against current version and say if the bug is still present
http://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #19 from Ziktofel ziktofel@gmail.com --- (In reply to comment #18)
have toy tried git bisect like at this bug: http://bugs.winehq.org/show_bug.cgi?id=32999
maybe it will hint the same commit, if it does, try to revert it against current version and say if the bug is still present
hm, it does as I looked more carefully, a work-around is to revert that buggy commit (which worked for me with Star Trek Online
https://bugs.winehq.org/show_bug.cgi?id=30984
Johan johan.heikkila@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |johan.heikkila@gmail.com
--- Comment #20 from Johan johan.heikkila@gmail.com --- This is still a problem in Wine 1.7.30 and Skyrim. With a scandic keyboard (sv-FI.UTF8) the console doesn't work and sometimes TAB stops working, even during game play. TAB works fine otherwise, because I can Alt-TAB switch between windows after TAB stops working in-game. Changing the keyboard setting in Gnome to en-US is unpredictable, sometimes console works, sometimes not. Only "setxkbmap us" seems reliable. It makes the console key work consistently and I haven't dropped TAB so far.
https://bugs.winehq.org/show_bug.cgi?id=30984
marc.bessieres@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |marc.bessieres@gmail.com
--- Comment #21 from marc.bessieres@gmail.com --- Hello,
Gothic2 Gold (with the Night of the Raven extension) french version also suffers from this bug.
Reverting 43984f355a2905e16075a9df3d7fbe463761e853 makes it work and the '2' key can be used to use the arrow with a french keyboard.
I see that this bug is still in UNCONFIRMED status. As this has been confirmed by several persons, could someone with enough rights set it to NEW?
Thanks in advance, Marc
https://bugs.winehq.org/show_bug.cgi?id=30984
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #22 from Bruno Jesus 00cpxxx@gmail.com --- Confirmed by multiple users.
https://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #23 from Bruno Jesus 00cpxxx@gmail.com --- *** Bug 32999 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=30984
Benjamin BELLEC b.bellec@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |b.bellec@gmail.com
--- Comment #24 from Benjamin BELLEC b.bellec@gmail.com --- *** Bug 36229 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=30984
Pacho Ramos pachoramos1@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pachoramos1@gmail.com
--- Comment #25 from Pacho Ramos pachoramos1@gmail.com --- I was suffering a similar problem with MS Office 2007 but, in my case, it looks to be related with ibus. Cleaning XMODIFIERS solves it for me, I am not sure if it could be related with https://code.google.com/p/ibus/issues/detail?id=526 then
https://bugs.winehq.org/show_bug.cgi?id=30984
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |scrimekiler@yahoo.fr
--- Comment #26 from Bruno Jesus 00cpxxx@gmail.com --- *** Bug 33545 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #27 from Someone scrimekiler@yahoo.fr --- This bug also affect Dragon Age Origins and Dragon Age 2.
The revert of commit 43984f355a2905e16075a9df3d7fbe463761e853 fixes it.
More details can be seen on that duplicate : Bug 33545
https://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #28 from Someone scrimekiler@yahoo.fr --- bug 15350 seems to be a duplicate of this bug
https://bugs.winehq.org/show_bug.cgi?id=30984
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Some keys do not work in |Some keys do not work in |Trine and Skyrim |different games (Trine, | |Skyrim, Dragon Age Origins, | |Dragon Age 2, Star Trek | |Online, Gothic 2)
https://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #29 from Rosanne DiMesio dimesio@earthlink.net --- (In reply to Someone from comment #28)
bug 15350 seems to be a duplicate of this bug
No. That bug is much older, and the regression test there identifed a completely different commit than the one for this bug.
https://bugs.winehq.org/show_bug.cgi?id=30984
Yannick Baro yannick.baro@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |yannick.baro@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=30984
Linards linards.liepins@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |linards.liepins@gmail.com
--- Comment #30 from Linards linards.liepins@gmail.com --- Is this bug still present in latest wine?
https://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #31 from Benjamin BELLEC b.bellec@gmail.com --- (In reply to Linards from comment #30)
Is this bug still present in latest wine?
Yes. I tested with wine 1.7.46 from Fedora 22.
https://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #32 from Turo Lamminen turotl@gmail.com --- Yes. Tested with wine 1.7.47-47-ga8f45df (latest master) and Skyrim on a finnish keyboard. Console key still doesn't work.
https://bugs.winehq.org/show_bug.cgi?id=30984
Sebastian Hörberg sebastian@cozycabin.se changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@cozycabin.se
--- Comment #33 from Sebastian Hörberg sebastian@cozycabin.se --- This is still present on 1.7.51 with a Swedish keyboard.
setxkbmap us brings back the functionality for the console in Skyrim.
https://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #34 from Luis Alvarado luisalvaradox@gmail.com --- Confirmed happening in Skyrim with latest Wine 1.8 RC version and for 1.7.55, 1.7.54 and 1.7.53.
It happens very random where the keys simply stay pressed and sometimes do not even stop until I repeatedly press the same keys again to remove them from a stuck state.When I leave two keys pressed (Like going diagonally by pressing up and right or up and left using de WASD combination) they tend to get stuck together.
VID - Nvidia GT 440 RAM - 32GB CPU - Intel 4700K Wine 32 Bit
https://bugs.winehq.org/show_bug.cgi?id=30984
tt_1 herrtimson@yahoo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |herrtimson@yahoo.de
https://bugs.winehq.org/show_bug.cgi?id=30984
TOM l12436@yahoo.com.tw changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |l12436@yahoo.com.tw
--- Comment #35 from TOM l12436@yahoo.com.tw --- I also has some hotkey problem in skyrim too. my LAlt hotkey is not working in some game HUD screen. by reverting 43984f355a2905e16075a9df3d7fbe463761e853 also fix my issue.
https://bugs.winehq.org/show_bug.cgi?id=30984
matt87075 register001@free.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |register001@free.fr
--- Comment #36 from matt87075 register001@free.fr --- I have also that problem in wine 3.6 where i run PortWoT (a wine port for world of tanks). My keyboard is a french one and keys œ 2 and 7 are not working in game. setupxkbmap us make the keys work again.
https://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #37 from matt87075 register001@free.fr --- I have also that problem in wine version 3.6 where i run PortWoT (a wine port for World of Tanks). My keyboard is a french one and keys & 2 and 7 are not working in the game, other default keys are ok. Running "setxkbmap us" in the console make the keys work again.
https://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #38 from matt87075 register001@free.fr --- Updated comment added below, can remove this one
(In reply to matt87075 from comment #36)
I have also that problem in wine 3.6 where i run PortWoT (a wine port for world of tanks). My keyboard is a french one and keys œ 2 and 7 are not working in game. setupxkbmap us make the keys work again.
https://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #39 from Matteo Bruni matteo.mystral@gmail.com --- *** Bug 44991 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=30984
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=30984
Joel Holdsworth joel@airwebreathe.org.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joel@airwebreathe.org.uk
https://bugs.winehq.org/show_bug.cgi?id=30984
Philippe Valembois lephilousophe@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lephilousophe@users.sourcef | |orge.net
--- Comment #40 from Philippe Valembois lephilousophe@users.sourceforge.net --- Created attachment 62629 --> https://bugs.winehq.org/attachment.cgi?id=62629 Remove errors and fix LT mapping in attachment 41141
Hello,
Problem is still present with Wine 3.19 Reverting commit 43984f355a2905e16075a9df3d7fbe463761e853 works but breaks for other languages (lt).
Patch in attachment 41141 (match keyboard in Unicode) should fix some problems. I tested it with layouts fr, fi, cz and mapping is fixed (virtual keys and scancodes are determined correctly). Layout lt doesn't work because the mapping in Wine is wrong (a simple patch could fix it). Last bug remaining is with dead keys. Wine uses Xlib to listen for keyboard events and it filters dead key events to generate composite KeyPress. That means that using dead keys in games doesn't work well. The fix for this would be to switch to XCB which generates raw events and using xkbcommon to generate WM_CHAR events for text editors.
I have made modifications to patch 41141 that remove some errors, improve matching and fixes LT mapping. To test it you must apply 41141 then this new patch.
https://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #41 from matt87075 register001@free.fr --- Thank you Philippe, this sounds great! Any idea on when we can expect this fix in production please?
https://bugs.winehq.org/show_bug.cgi?id=30984
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/winex11-key_tran | |slation Status|NEW |STAGED
https://bugs.winehq.org/show_bug.cgi?id=30984
Joe joebauers@bk.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joebauers@bk.ru
--- Comment #42 from Joe joebauers@bk.ru --- I have the same problem with Final Fantasy XI with Wine 4.8. Using french keyboard layout, I can't use some macros in the game : CTRL + 2, CTRL + 7, CTRL + 9, CTRL + 0, ALT + 2, ALT + 7, ALT + 9, CTRL + 0 (or any keys shortcuts with 2, 7, 9 and 0).
However If I set "setxkbmap us", everything works correctly.
https://bugs.winehq.org/show_bug.cgi?id=30984
Leopard yurnerolinux@yandex.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |yurnerolinux@yandex.com
--- Comment #43 from Leopard yurnerolinux@yandex.com --- Same problem on my end too. Turkish layout and i also know that is broken for GER and FR layouts too. Basically you will be greeted with broken layouts on Wine , except en-us. And that is a long term issue , staged patch doesn't fix it.
https://bugs.winehq.org/show_bug.cgi?id=46102
https://bugs.winehq.org/show_bug.cgi?id=30984
Thibault Molleman thibaultmolleman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thibaultmolleman@gmail.com
--- Comment #44 from Thibault Molleman thibaultmolleman@gmail.com --- I'm having this problem as well I think. i've got a belgian Azerty keyboard (and also set to that in the OS) And when I type the letter h, it output è instead (happens on all wine gaming including Warframe launched trough steam with Proton-5.8-GE-2-MF
Operating System: Manjaro Linux KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.70.0 Qt Version: 5.15.0 Kernel Version: 5.6.16-1-MANJARO OS Type: 64-bit Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor Memory: 31,3 GiB of RAM
~ >>> setxkbmap -query rules: evdev model: pc105 layout: be options: terminate:ctrl_alt_bksp ~ >>> setxkbmap -print xkb_keymap { xkb_keycodes { include "evdev+aliases(azerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+be+inet(evdev)+terminate(ctrl_alt_bksp)" }; xkb_geometry { include "pc(pc105)" }; };
https://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #45 from Thibault Molleman thibaultmolleman@gmail.com --- (oh and 'i' turns into 'é')
https://bugs.winehq.org/show_bug.cgi?id=30984
Giovanni Mascellani gmascellani@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gmascellani@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=30984
David Wilken david.wilken@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |david.wilken@web.de
--- Comment #46 from David Wilken david.wilken@web.de --- Same goes for me.
I had opened a bug about 6 months ago and thought I might have fixed it. I believe it has to do with the locale settings of KDE.
I use the german keyboard layout (QWERTZ) and when typing "v" or "V" it becomes in "ö" and "Ö" (respectively). When typing "ä" and "Ä" they get converted into "d" and "D".
Interestingly these issues only appear in chats or any other situation I have to type. The hotkeys itself work flawlessly (WoW: Setting the hotkey to "v" works fine, but typing in to the chat makes it become "ö").
After I deleted my "~/.config/plasma-localerc" (Manjaro KDE) it worked after restarting for a while, but obviously messed up my locale-settings and eventually stopped working as a "fix" for this whole thing.
After switching my DXVK version yesterday to 1.7.3L-03f11ba (over Lutris) it worked for the next start of the game. As soon as I booted my PC today it went back to the same problem.
https://bugs.winehq.org/show_bug.cgi?id=30984
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pepe@bloodkings.eu
--- Comment #47 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- *** Bug 33660 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=30984
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |o.dierick@piezo-forte.be
--- Comment #48 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
Also affects Lord of the Rings Online and Dungeons & Dragons Online.
fr_BE (french belgian) keyboard keys "é2@", "§6^", "è7", "ç9{" and "à0}" are recognized and working while in-game and correctly saved in the keybinding configuration file, but on subsequent application startup, the loading of the keybindings fails because Wine doesn't return proper keynames for those keys, so the application disables those keybindings, and the user has to rebind those keys to use them.
The staged patchset, applied alone on upstream wine, works around the issue. The key don't even need to be rebound because they are already correctly stored. Simply upgrading wine to the staged patchset is enough to validate the existing stored keybindings and the game can use them right from the start.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=30984
riso riso90@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |riso90@gmail.com
--- Comment #49 from riso riso90@gmail.com --- I think I am having the same issue after switching from gnome to kde my "2" key on num row registers as "6" my "6" registers as "=" and "=" is not registered at all I tried different wine versions and removing my ~/.wine folder When I run battle.net and type in chat my "2" behaves as it should - writes "ľ" and "2" with holding shift. However when I start diablo for example and press 2 on keybindings it registers as "6".
setxkbmap -query
rules: evdev model: pc105 layout: sk options: terminate:ctrl_alt_bksp
setxkbmap -print
xkb_keymap { xkb_keycodes { include "evdev+aliases(qwertz)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+sk+inet(evdev)+terminate(ctrl_alt_bksp)" }; xkb_geometry { include "pc(pc105)" }; };
https://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #50 from riso riso90@gmail.com --- My wine version is:
wine --version
wine-6.22 (Staging)
https://bugs.winehq.org/show_bug.cgi?id=30984
--- Comment #51 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Created attachment 72979 --> https://bugs.winehq.org/attachment.cgi?id=72979 Hack makes the staged patchset work again on Debian (default utf8 locale)
Hello,
The staged patchset is disabled in staging (see [1]).
The patchset fail to compile because kernelbase was converted to PE and MultiByteToWideChar() and GetLocaleInfoW() are no more directly accessible to non-PE winex11.drv.
The attached hack 'fixes' the staging patchset for me on system using UTF-8 locales by replacing the calls to those functions with workarounds.
For the first call to MultiByteToWideChar(), I just considered that the locale is UTF-8 (That's what CP_UNIXCP amounts to if WINEUNIXCP is not set which I think is the general case).
For the others calls to MultiByteToWideChar(), I couldn't understand what the format of the localized layout tables was but it didn't look like multi-byte encoded, so I just removed the call to MultiByteToWideChar() and copied the 4 char values as 1-byte Unicode codepoints.
With that change, there was no need to call GetLocaleInfoW() to get the ANSI codepage so I removed that part.
It was tested with wine-staging 7.15 and the game 'Lord of the Rings Online' (and also in the output of WINEDEBUG=+key,+keyboard wine notepad).
Note that it won't work if the current locale is not 'UTF-8' (as in LANG="fr_BE.UTF-8" for example), or if the values in the localized layout table are not 1-byte Unicode codepoints equivalent to the current locale Unicode codepoints 128..256. It is the case for the Belgian keyboard layout I tested, but it may be different for others.
I believe that the format of the data in the localized layout tables needs to be decided/clarified.
[1] https://github.com/wine-staging/wine-staging/blob/master/patches/winex11-key...
https://bugs.winehq.org/show_bug.cgi?id=30984
Alexander Olofsson ace@haxalot.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ace@haxalot.com
https://bugs.winehq.org/show_bug.cgi?id=30984
Timo Zuccarello timo@zuccarello.eu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |timo@zuccarello.eu
https://bugs.winehq.org/show_bug.cgi?id=30984
Benjamin BELLEC b.bellec@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|b.bellec@gmail.com |
https://bugs.winehq.org/show_bug.cgi?id=30984
Neko-san nekoNexus@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nekoNexus@protonmail.ch
https://bugs.winehq.org/show_bug.cgi?id=30984
Maxime berillions@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |berillions@gmail.com
--- Comment #52 from Maxime berillions@gmail.com --- *** Bug 45305 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=30984
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Staged patchset|https://github.com/wine-sta |https://github.com/wine-sta |ging/wine-staging/tree/mast |ging/wine-staging/tree/mast |er/patches/winex11-key_tran |er/patches/winex11-Fixed_sc |slation |ancodes
https://bugs.winehq.org/show_bug.cgi?id=30984
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Staged patchset|https://github.com/wine-sta |https://github.com/wine-sta |ging/wine-staging/tree/mast |ging/wine-staging/tree/mast |er/patches/winex11-Fixed_sc |er/patches/winex11-Fixed-sc |ancodes |ancodes
https://bugs.winehq.org/show_bug.cgi?id=30984
Lorenzo Ferrillo lorenzofer@live.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lorenzofer@live.it
--- Comment #53 from Lorenzo Ferrillo lorenzofer@live.it --- Patchset is preventing sending PrintScr to TES4:Oblivion unless "Enable keyboard scancode auto detection" is enabled in winecfg.