Japanese cannot be input on any of libreoffice writer, calc, impress, after any of the input fields of any other GUI applications like leafpad or iceweasel (firefox) is clicked. I use debian jessie upgraded from wheezy and squeeze. I use ibus-anthy to input Japanese. Maybe due to my misconfiguration of ibus-anthy. I am not sure.
I use openbox as a window manager and I do not use explicitly any desktop environment, such as GNOME, KDE, nor Xfce.
I can't help about language config but 4.X LO versions are EOL (so not maintained). Please give a try with a recent LO version (last stable one is 5.1.3) by using testing repo for LO. Indeed, stable Debian is above all for servers so the versions are stable of course but quite old. If I remember well, the only backports concern security issues.
Also, I don't know if it can help but I found this: https://wiki.archlinux.org/index.php/IBus#LibreOffice (ok you're not on ArchLinux but sometimes it may help to read about tips on other distros).
Thank you, Julien Nabet I used LO version 5 or so from debian jessie backports until 3 months ago, but I found that LO impress version 5 from debian jessie backports could not display properly some animation effect like rubber or so at that time. Thus, I removed LO version 5 and installed 4.2.2.3 from usual jessie repository 3 months ago. But I will install LO version 5.1 or so from jessie backports and check if it works correctly. And also, I will read https://wiki.archlinux.org/index.php/IBus#LibreOffice and try to solve my problem.
I have not removed LO version 4.3.3.2 yet. $ grep ibus ~/.bashrc gives: export GTK_IM_MODULE=ibus export XMODIFIERS=@im=ibus export QT_IM_MODULE=ibus $ echo $XMODIFIERS gives: @im=ibus $ ps auwwx|grep ibus tells that the followings are running: ibus-daemon -d -x -r /usr/lib/ibus/ibus-dconf /usr/lib/ibus/ibus-ui-gtk3 /usr/lib/ibus/ibus-x11 --kill-daemon python3 /usr/share/ibus-anthy/engine/main.py --ibus $ LANG=C apt-cache policy libreoffice-still gives: N: Unable to locate package libreoffice-still I will try removing LO 4.3.3.2+deb8u3 and installing LO 5.1.3-1~bpo8+1 from backports.
I installed LO 5.1.3-1~bpo8+1 from backports by # apt install -t jessie-backports libreoffice libreoffice-l10n-ja The above command removed LO 4.3.3.2. I rebooted the debian. I started LO 5.1.3 by $ localc at an gnome-terminal window on GUI. The exact same problem as that written in former post of mine happens. I maybe will remove LO 5.1.3 and will install LO 4.3.3.2 later.
Suzukiyos0: thank you for your feedback. Takeshi Abe: thought you might give some hints for this tracker as you're in Japanese language team.
Created attachment 125629 [details] A screencast on Jessie, Openbox with ibus I could not reproduce the behavior on Debian Jessie / Openbox / LibO 4.3.3-2+deb8u4. Attached the screencast recorded in the session FYI. BTW ibus sometimes stopped working, i.e. became impossible to toggle input sources, when switching windows regardless whether one of them was LibO's or not. So I doubt if ibus on Openbox is somewhat unreliable.
Thank you, Takeshi Abe, for trying to reproducing the problem. Ibus become impossible to toggle input sources. Libreoffice uses English (direct input) after I type something to an input field in another window. I will purge ibus and libreoffice and then will install them and will check if I can input Japanese on libreoffice even after typing something to an input field in another window.
You would be interested in a recent discussion about this issue in ja-discuss mailing-list: http://listarchives.libreoffice.org/ja/discuss/msg04117.html
*** This bug has been marked as a duplicate of bug 99833 ***
*** This bug has been marked as a duplicate of bug 91375 ***
Applying the following patch to ibus solved the issue. https://build.opensuse.org/package/view_file/M17N/ibus/ibus-xim-fix-re-focus-after-lock.patch?expand=1 Thank you, Mr. Takeshi Abe, for informing me the patch :)