Key 9 from main keyboard behaves as 8 in Wine if Lithuanian (lt) keyboard mapping is active (Workaround exist)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Wine |
Invalid
|
Undecided
|
Unassigned | ||
Baltix |
Invalid
|
Medium
|
Mantas Kriaučiūnas | ||
wine1.2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
wine1.4 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: wine1.2
Key 9 from main keyboard acts as 8 in Wine if Lithuanian (lt) keyboard mapping is active. This bug exists 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 acts like key 8 :(
WORKAROUND: if US or RU keymap is active during startup of software, which uses WINE (like notepad), and You 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 Ū()
Lithuanian translation / Lietuviškai :
Norint, kad veiktų kairys skliaustelis ir skaičius 9 su lietuvišku klaviatūros išdėstymu Windows programose reikia, kad pagrindinis klaviatūros išdėstymas būtų nustatytas į anglišką, pvz JAV (US) ar kitokį, o lietuvišką išdėstymą įjungti tik tuomet, kai pasileidžia Windows programa.
Tai paprasčiausia padaryti nuėjus į Sistema-
Changed in wine: | |
importance: | Unknown → Low |
status: | Unknown → Confirmed |
Changed in baltix: | |
status: | Triaged → In Progress |
Wine version?