http://bugs.winehq.org/show_bug.cgi?id=23494
Summary: X11 Network and keyboard layouts Product: Wine Version: 1.2-rc6 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: public.avatar@gmail.com
When wine program runs with from remote server with X Forwarding (or NX, doesn't matter), only US xkb input layout works. Symptoms and way to reproduce: 0. First layout: US, Second layout: RU 1. ssh -X remotehost notepad 2. Input text 3. Change layout 4. Input text: about wine 1.1.44: no any input (any device) wine 1.2-rc6: get text with US on n810 (used all 8 Levels, russian laoyt on top levels) no any input (standard configuration with groups)
http://bugs.winehq.org/show_bug.cgi?id=23494
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|X11 Network and keyboard |Remote X11 doesn't support |layouts |non US keyboard layouts Severity|normal |minor
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2010-07-04 02:39:57 --- You may try to look at the +key,+keyboard,+xim,+event log, probably a problem with either locale or keyboard layout in the remote X. Testing with 'xev' would be helpful as well.
http://bugs.winehq.org/show_bug.cgi?id=23494
--- Comment #2 from Alexey Shevchuck public.avatar@gmail.com 2010-07-04 03:01:38 --- Created an attachment (id=29329) --> (http://bugs.winehq.org/attachment.cgi?id=29329) Key events
With all other applications (not wine) all ok
http://bugs.winehq.org/show_bug.cgi?id=23494
--- Comment #3 from Alexey Shevchuck public.avatar@gmail.com 2010-07-04 03:15:30 --- Way to fix: set full specified locale, not alias. LC_ALL=ru_RU => LC_ALL=ru_RU.utf8
Strange, but only wine doesn't work with this alias
http://bugs.winehq.org/show_bug.cgi?id=23494
--- Comment #4 from Dmitry Timoshkov dmitry@codeweavers.com 2010-07-04 03:51:32 --- (In reply to comment #2)
Created an attachment (id=29329)
--> (http://bugs.winehq.org/attachment.cgi?id=29329) [details]
Key events
With all other applications (not wine) all ok
You forgot (or omitted) +xim, I suspect that X11 doesn't recognize proper locale, and that's not a Wine bug of course.
http://bugs.winehq.org/show_bug.cgi?id=23494
--- Comment #5 from Alexey Shevchuck public.avatar@gmail.com 2010-07-04 04:23:55 --- with WINEDEBUG=xim
ru_RU.utf8: trace:xim:open_xim xim = 0x7c8c44b8 trace:xim:open_xim X display of IM = 0x7c929e58 trace:xim:open_xim Using ru_RU.utf8 locale of Input Method trace:xim:open_xim ximStyles->count_styles = 2 trace:xim:open_xim ximStyles[0] = XIMPreeditNone trace:xim:open_xim ximStyles[1] = XIMPreeditNothing trace:xim:open_xim Setting Style: ximStyleRoot = STYLE_ROOT trace:xim:open_xim No callback style avalable trace:xim:X11DRV_CreateIC xim = 0x7c8c44b8
ru_RU: trace:xim:open_xim xim = 0x7d783490 trace:xim:open_xim X display of IM = 0x7d7e8e30 trace:xim:open_xim Using ru_RU locale of Input Method trace:xim:open_xim ximStyles->count_styles = 2 trace:xim:open_xim ximStyles[0] = XIMPreeditNone trace:xim:open_xim ximStyles[1] = XIMPreeditNothing trace:xim:open_xim Setting Style: ximStyleRoot = STYLE_ROOT trace:xim:open_xim No callback style avalable trace:xim:X11DRV_CreateIC xim = 0x7d783490
http://bugs.winehq.org/show_bug.cgi?id=23494
--- Comment #6 from Dmitry Timoshkov dmitry@codeweavers.com 2010-07-04 05:08:26 --- And what does 'xev' show?
http://bugs.winehq.org/show_bug.cgi?id=23494
--- Comment #7 from Alexey Shevchuck public.avatar@gmail.com 2010-07-04 05:23:45 --- KeyRelease event, serial 33, synthetic NO, window 0x4800001, root 0x10f, subw 0x0, time 9626136, (834,471), root:(842,568), state 0x2000, keycode 66 (keysym 0xfe08, ISO_Next_Group), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False
KeyPress event, serial 33, synthetic NO, window 0x4800001, root 0x10f, subw 0x0, time 9626826, (834,471), root:(842,568), state 0x2000, keycode 38 (keysym 0x6c6, Cyrillic_ef), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x4800001, root 0x10f, subw 0x0, time 9626928, (834,471), root:(842,568), state 0x2000, keycode 38 (keysym 0x6c6, Cyrillic_ef), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False
http://bugs.winehq.org/show_bug.cgi?id=23494
--- Comment #8 from Alexey Shevchuck public.avatar@gmail.com 2010-07-04 05:25:54 --- Yeah, I see. XLookupString failed.
http://bugs.winehq.org/show_bug.cgi?id=23494
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #9 from Dmitry Timoshkov dmitry@codeweavers.com 2010-07-04 06:33:49 --- As expected, not a Wine bug.
http://bugs.winehq.org/show_bug.cgi?id=23494
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Dmitry Timoshkov dmitry@codeweavers.com 2010-07-04 06:34:01 --- Closing invalid.