http://bugs.winehq.org/show_bug.cgi?id=9681
Summary: Brasilian ABNT keyboard dead keys Product: Wine Version: 0.9.44. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-x11driver AssignedTo: wine-bugs@winehq.org ReportedBy: maurelioc@astrotec.com.br
Created an attachment (id=8100) --> (http://bugs.winehq.org/attachment.cgi?id=8100) screen shot of the problem description
Hi folks, I am using a brazilian ABNT2 keyboard with works fine with my Linux distribution. However some keys do not work with a program inside wine (like wordpad or other):
key:
normal: "=" main:0x aux:0x sh:0x (equal signal) rigth shift: "+" main:0x aux:0x sh:0x (plus signal) alt grey: "§" main:0x aux:0x sh:0x (paragraph/section sign)
problem: altgrey char § does not appear
key:
normal: "[" main:0x5b aux:0x00 sh:0x60 (open square bracket) rigth shift: "{" main:0x7b aux:0x00 sh:0x61 (open brace) alt grey: "ª" main:0xa6 aux:0x1b sh:0x68 (feminine ordinal indicator)
problem: altgrey char ª does not appear
key:
normal: "]" main:0x5d aux:0x00 sh:0x60 (close square bracket) rigth shift: "}" main:0x7d aux:0x00 sh:0x61 (close brace) alt grey: "º" main:0xa7 aux:0x2b sh:0x68 (masculine ordinal indicator)
problem: none of the 3 chars appear
key:
normal: "/" main:0x aux:0x sh:0x (slash) rigth shift: "?" main:0x aux:0x sh:0x (question mark) alt grey: "°" main:0x aux:0x sh:0x (degree sign)
problem: none of the 3 chars appear
key "." (dot) on numeric part of keyboard (main:0x2e aux:0x00 sh:0x60) problem: seen as key "," (comma)
http://bugs.winehq.org/show_bug.cgi?id=9681
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2007-09-17 06:34:04 --- What's the output of the command 'locale'? If your locale is not pt_BR try to change that.
http://bugs.winehq.org/show_bug.cgi?id=9681
--- Comment #2 from Marco Aurelio maurelioc@astrotec.com.br 2007-09-17 07:05:57 --- (In reply to comment #1)
What's the output of the command 'locale'? If your locale is not pt_BR try to change that.
My locale is already pt_BR. All other keys work fine and some of them are specific mapped to a brazilian keyboard. There must be an error in a key translation table.
http://bugs.winehq.org/show_bug.cgi?id=9681
--- Comment #3 from Dmitry Timoshkov dmitry@codeweavers.com 2007-09-17 10:14:31 ---
My locale is already pt_BR. All other keys work fine and some of them are specific mapped to a brazilian keyboard. There must be an error in a key translation table.
Please generate a log with +x11drv,+key,+keyboard,+event debug channels and in case you have problems figuring out how to patch dlls/winex11.drv/keyboard.c, main_key_PT_br to make keyboard input work for you attach the log here ('bzip2 -9' it before attaching).
http://bugs.winehq.org/show_bug.cgi?id=9681
--- Comment #4 from Marco Aurelio maurelioc@astrotec.com.br 2007-09-18 06:16:24 --- Created an attachment (id=8129) --> (http://bugs.winehq.org/attachment.cgi?id=8129) trace file with +key
http://bugs.winehq.org/show_bug.cgi?id=9681
--- Comment #5 from Marco Aurelio maurelioc@astrotec.com.br 2007-09-18 06:26:02 --- (In reply to comment #3)
My locale is already pt_BR. All other keys work fine and some of them are specific mapped to a brazilian keyboard. There must be an error in a key translation table.
Please generate a log with +x11drv,+key,+keyboard,+event debug channels and in case you have problems figuring out how to patch dlls/winex11.drv/keyboard.c, main_key_PT_br to make keyboard input work for you attach the log here ('bzip2 -9' it before attaching).
(In reply to comment #3)
My locale is already pt_BR. All other keys work fine and some of them are specific mapped to a brazilian keyboard. There must be an error in a key translation table.
Please generate a log with +x11drv,+key,+keyboard,+event debug channels and in case you have problems figuring out how to patch dlls/winex11.drv/keyboard.c, main_key_PT_br to make keyboard input work for you attach the log here ('bzip2 -9' it before attaching).
I made a log with only +key debug channel to reduce data. Please check if it is enough. The key sequence was: / (sh) ? (altgrey) ° ] (sh) } (altgrey) º (altgrey) º (altgrey) § a or A
In the begginning of the file there is a huge amount of repetitive warnings of key mismatch. I just openned wordpad and keyed the above keys.
I took a look at dlls/winex11.drv/keyboard.c sections where appears ABNT or pt_BR references. But I do not know if there is something wrong. I do not know how keyboards are handled in a PC.
Before I forget, thanks very much for your attention.
http://bugs.winehq.org/show_bug.cgi?id=9681
--- Comment #6 from Dmitry Timoshkov dmitry@codeweavers.com 2007-09-18 07:04:28 --- +key log is not enough, please regenerate the log using all requested debug channels. If the log becomes too large compress it with 'bzip2 -9'.
http://bugs.winehq.org/show_bug.cgi?id=9681
--- Comment #7 from Marco Aurelio maurelioc@astrotec.com.br 2007-09-19 20:43:32 --- Created an attachment (id=8149) --> (http://bugs.winehq.org/attachment.cgi?id=8149) Another trace with more debbug channels
This trace has all the requested debbug channels. I opened notepad and keyed:
/ normal ? rigth shift ° alt grey
] normal } rigth shift º alt grey
ª alt grey
§ alt grey
a
b
c
and closed notepad
http://bugs.winehq.org/show_bug.cgi?id=9681
--- Comment #8 from Dmitry Timoshkov dmitry@codeweavers.com 2007-09-20 00:58:52 --- What keyboard layout is specified in your xorg.conf file? Does it help if you execute 'setxkbmap br' before running notepad?
http://bugs.winehq.org/show_bug.cgi?id=9681
Marco Aurelio maurelioc@astrotec.com.br changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #9 from Marco Aurelio maurelioc@astrotec.com.br 2007-09-20 13:42:26 --- (In reply to comment #8)
What keyboard layout is specified in your xorg.conf file?
xorg.conf spec: Section "InputDevice" Identifier "Keyboard1" Driver "kbd" Option "XkbModel" "abnt2" Option "XkbLayout" "br" Option "XkbOptions" "compose:rwin" EndSection
Does it help if you execute 'setxkbmap br' before running notepad?
YEEAAAAHH it solved the problem!!! GREAT!! Just insert the command setxkbmap br; wine .... and it works fine with all keys. Thanks a lot!
http://bugs.winehq.org/show_bug.cgi?id=9681
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |INVALID
--- Comment #10 from James Hawkins truiken@gmail.com 2007-09-20 15:04:00 --- It's not fixed, it's invalid.
http://bugs.winehq.org/show_bug.cgi?id=9681
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from James Hawkins truiken@gmail.com 2007-09-20 15:04:13 --- Closing