http://bugs.winehq.org/show_bug.cgi?id=3057
Summary: MS Word doesn't work well with mixed language input Product: Wine Version: unspecified Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-x11driver AssignedTo: wine-bugs@winehq.org ReportedBy: krakov@gmail.com
X11DRV_ KeyboardLayout functions not working / working incorrectly
X11DRV_GetKeyboardLayout and X11DRV_GetKeyboardLayoutList work not as specified (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI..., http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui...). Other KeyboardLayout functions are stubs.
GetKeyboardLayout doesn't return current XKB keyboard layout / group - it returns the layout of the curent locale, of all things.
Affected programs: Microsoft Word,Powerpoint (2000, maybe other version) * Word decides paragraph language - thus spell checker to apply, paragraph direction (right-to-left/left-to-right) and other properties - by the return value of GetKeyboardLayout. Changing language of input doesn't change Word's handling. Even using setxkbmap to change the map doesn't work, as the layout is decided by locale. * Trying to use Word under any RTL locale as Hebrew makes any LTR text rendered backwards and caret location incorrect. The language of a paragraph can be specified manually, but it keeps changing back any time Word checks the keyboard layout. * Spell checker sometimes fails to decide which dictionary to use when writing mixed language text. * List of possible languages is incorrect. * Changing language using the language applet in the Word toolbar doesn't work.
Steps to reproduce: * export LANG=he_IL.UTF-8 * run Word * try writing in English
[ Note: might not mess paragraph directions if Word version is installed without BiDi support ? ]