http://bugs.winehq.org/show_bug.cgi?id=18289
Summary: wine gets some wrong charcodes on some keyboard mappings Product: Wine Version: unspecified Platform: All OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: jurgis.pralgauskis@gmail.com
wine gets some wrong charcodes on some keyboard mappings
for example if You set Lithuanian keyboard mapping
$ setxkbmap lt $ LANG=lt_LT.UTF8 notepad
and press "9" (not on numeric keyboard, but on laptop) you get "8" :/
more "fun" happens with NotePad++ or MS Word http://appdb.winehq.org/objectManager.php?sClass=version&iId=13427&i... http://appdb.winehq.org/objectManager.php?sClass=version&iId=2735&iT...
http://bugs.winehq.org/show_bug.cgi?id=18289
Jurgis Pralgauskis jurgis.pralgauskis@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mantas@akl.lt
http://bugs.winehq.org/show_bug.cgi?id=18289
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor Platform|All |Other
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2009-04-29 22:17:05 --- Wine version?
http://bugs.winehq.org/show_bug.cgi?id=18289
Jurgis Pralgauskis jurgis.pralgauskis@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|Other |PC Version|unspecified |1.1.20
--- Comment #2 from Jurgis Pralgauskis jurgis.pralgauskis@gmail.com 2009-05-13 16:24:05 --- problem was noticed ~2 years ago now I have installed wine-1.1.20 (deb for Ubuntu 9.04) and it persists ...
ps.: most annoying is that, people can't normaly use let's say Word or NotePad++, if they need to type parentheses.
http://bugs.winehq.org/show_bug.cgi?id=18289
--- Comment #3 from Austin English austinenglish@gmail.com 2009-11-19 12:53:26 --- This is your friendly reminder that there has been no bug activity for 6 months. Is this still an issue in current (1.1.33 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=18289
Mantas Kriaučiūnas mantas@akl.lt changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #4 from Mantas Kriaučiūnas mantas@akl.lt 2010-12-03 01:22:42 CST --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=18289
--- Comment #5 from Mantas Kriaučiūnas mantas@akl.lt 2010-12-03 03:19:10 CST --- I can confirm this bug in all wine versions, including 1.2 and 1.3.8 (tested with Ubuntu Linux 10.04.1)
It's very easy to reproduce (you must have lt_LT.UTF-8 locale definition files installed in your system, run 'locale -a |grep lt'):
1. Set keyboard mapping to Lithuanian and start Wine notepad in lt_LT locale: ubuntu@ubuntu:~$ setxkbmap lt ubuntu@ubuntu:~$ LANG=lt_LT.UTF8 notepad
2. Hold AltGr (right Alt) key and press 9 key (from main keyboard, bellow F7-F9, not from numeric keyboard) and you will see number 8 in notepad instead of 9
3. Hold Shift key and press 8, then 9, then 0 keys (from main keyboard, bellow F7-F9) and you will see ŪŪ) instead of Ū()
This is very important problem for Lithuanians, as we can't write number 9 and left round bracket when Lithuanian keymap is active during startup of WINE, because key 9 from main keyboard works like key 8 :(
Btw, I just found strange workaround for this bug - if US or RU keymap is active during startup of software, which uses WINE (like notepad), and I change keymap to Lithuanian only when WINE is already running, then key 9 works correctly:
1. Set keyboard mapping to US and LT, then start Wine notepad in lt_LT locale: ubuntu@ubuntu:~$ setxkbmap us,lt ubuntu@ubuntu:~$ LANG=lt_LT.UTF8 notepad
2. Change keyboard mapping from US to LT with GNOME keyboard indicator (it appears in gnome panel's notification area when you run setxkbmap us,lt)
3. Now key 9 works correctly - Hold AltGr (right Alt) key and press 9 key (from main keyboard) and you will see number 9 ; Hold Shift key and press 8, then 9, then 0 keys (from main keyboard) and you will see Ū()
http://bugs.winehq.org/show_bug.cgi?id=18289
Remis NNK remis@nnk.lt changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |remis@nnk.lt
http://bugs.winehq.org/show_bug.cgi?id=18289
--- Comment #6 from Jörg Höhle hoehle@users.sourceforge.net 2011-02-13 15:57:27 CST --- Created an attachment (id=33281) --> (http://bugs.winehq.org/attachment.cgi?id=33281) tiny bugfix: Lithuanian keyboard detection
Dear Lithuanians,
please report whether this patch improves the Lithuanian keyboard detection. I'd especially appreciate feedback from Mac users (because the German Mac keyboard is very different from the PC one, so I suspect there may be differences in other countries as well).
Here is was I get (on a German keyboard) using setxkbmap lt WINEDEBUG=+key,+keyboard wine notepad trace:keyboard:X11DRV_KEYBOARD_DetectLayout Attempting to match against "Lithuanian (Baltic) keyboard layout" trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keycode 10, got ±”1! trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keycode 12, got źŹ3# [...] # note that key 2 between 1 and 3 matched (8 as well, not shown) trace:keyboard:X11DRV_KEYBOARD_DetectLayout matches=39, mismatches=12, seq=37, score=31
Sorry, this patch will not fix the reported bug. BTW, I can confirm the work-around from comment #5 about switching after Wine started. I have no Lithuanian locale on my system, however setxkbmap de wine notepad setxkbmap lt manages to make 890 appear with Alt-Gr instead of 880.
http://bugs.winehq.org/show_bug.cgi?id=18289
butraxz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |butraxz@gmail.com
--- Comment #7 from butraxz@gmail.com 2013-08-05 12:21:41 CDT --- This ticket has not been updated for over 900 days. Development recommends to check the status on your bug every release or two and let to be known if the bug is still present. If not, mark it fixed.
Is this still an issue with 1.7.0 or higher ?
http://bugs.winehq.org/show_bug.cgi?id=18289
--- Comment #8 from Mantas Kriaučiūnas mantas@akl.lt 2013-08-18 11:52:46 CDT --- It seems this issue is fixed in WINE 1.6 (tested on Ubuntu 12.04.3 with latest X.org and Linux kernel 3.8) - key 9 from main keyboard behaves correctly in Wine even if Lithuanian (lt) keyboard layout is active in X Window system. I will do additional tests with older (and newer) Xorg next month and mark this bug as fixed if Lithuanian keyboard will work correctly.
Btw, I've found similar bugreport about Swedish keyboard layout, it seems that bug is also fixed in 1.5.x series, see https://launchpad.net/ubuntu/+source/wine1.4/+bug/990547 (Swedish letters åäö don't work in Wine)
(In reply to comment #7)
This ticket has not been updated for over 900 days. Development recommends to check the status on your bug every release or two and let to be known if the bug is still present. If not, mark it fixed. Is this still an issue with 1.7.0 or higher ?
https://bugs.winehq.org/show_bug.cgi?id=18289
roger@mailinator.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roger@mailinator.com
--- Comment #9 from roger@mailinator.com --- No additional info was posted, but reported to be fixed once.
https://bugs.winehq.org/show_bug.cgi?id=18289
--- Comment #10 from Austin English austinenglish@gmail.com --- (In reply to Mantas Kriaučiūnas from comment #8)
It seems this issue is fixed in WINE 1.6 (tested on Ubuntu 12.04.3 with latest X.org and Linux kernel 3.8) - key 9 from main keyboard behaves correctly in Wine even if Lithuanian (lt) keyboard layout is active in X Window system. I will do additional tests with older (and newer) Xorg next month and mark this bug as fixed if Lithuanian keyboard will work correctly.
Reported fixed.
https://bugs.winehq.org/show_bug.cgi?id=18289
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #11 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Austin English from comment #10)
Reported fixed.
https://bugs.winehq.org/show_bug.cgi?id=18289
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.31.