Description of problem: OpenOffice.org applications does not follows xkb at switching of input language. If I am typing in Russian keyboard layout and OpenOffice is configured to use Russian by default spell checking is ok, because words are being marked as Russian. When I switch keyboard layout (using xkb keyboard shortcut) into English, OpenOffice.org continues to mark words as Russian. I saw more correct behaviour of OpenOffice build in Ubuntu, which follows current language of xkb layout. Version-Release number of selected component (if applicable): openoffice.org-1.1.2-24.6.0.EL4 openoffice.org-1.9.117-3.1.0.fc4 How reproducible: Always Steps to Reproduce: 1.setxkbmap us,ru -option grp:shift_toggle,grp_led:scroll 2.oowriter 3.turn on AutoSpellCheck (underscored ABC button) 4.type in: test ntcn 5.switch into Russin (press two shifts) 6.type in: ntcn (word "test" in Russian) 7.press spacebar Actual results: Word ntcn is underscored, word test is not. Word test in Russian (typed as nctn) is underscored too. Expected results: Only word nctn is underscored. Additional info: The same error is in FC4
References: http://qa.openoffice.org/issues/show_bug.cgi?id=1035 http://qa.openoffice.org/issues/show_bug.cgi?id=21019 http://qa.openoffice.org/issues/show_bug.cgi?id=10043 Does ubuntu have a custom patch to do this ?
Created attachment 118150 [details] possible patch in theory a patch such as this might do the right thing, more exploration required
I just tested Debian 3.1 with their build of OpenOffice - it doesn't have such feature. So, there should be a patch for Ubuntu.
I tried to reproduce the behaviour in Ubuntu with no success. Maybe I made something differently previous time. I'll try to find it out.
May be I made a mistake and Ubuntu does not have desired feature. If it does not - I am sorry for misinformation.