Fcitx cannot be loaded in Jabref5.0

environment: Debian GNU/Linux 10, bullseye
version: 5.0

I cannot input Chinese in Jabref5.0 with fcitx. While it could be done in default version 3.8.2 in Debian 10.
Please show me any clues.

I think, this is related to the following issue: https://github.com/JabRef/jabref/issues/5255. Can you please post your system details there. Thanks!

openjdk 11.0.5-ea 2019-10-15
OpenJDK Runtime Environment (build 11.0.5-ea+6-post-Debian-2)
OpenJDK 64-Bit Server VM (build 11.0.5-ea+6-post-Debian-2, mixed mode, sharing)
  • Fcitx : 4.2.9.6 with “wbpy” input method

I did some research and found the following

To obtain a better experience in GTK and Qt programs, install the fcitx-gtk2, fcitx-gtk3, fcitx-qt4AUR and fcitx-qt5 input method modules as your need, or the fcitx-im group to install all of them. Without those modules, the input method may work on most applications but you may experience input method hang up, preview window screen location error or no preview error.

Can you please make sure that fcitx-gtk3 is installed. Moreover, you can try to run JabRef with the additional command argument -Djdk.gtk.version=2.

Thank you for your concerning my problem.

There is no fcitx-gtk3 in Debian. I install fcitx-frontend-gtk3 instead. While I still cannot launch fcitx in Jabref after this operation, even with -Djdk.gtk.version=2.

BTW, I installed fcitx-frontend-qt5 instead of fcitx-qt5.

Does fcitx works in gedit?

It does work. I installed it for testing its performance.