[Bug 267876] textproc/fcitx5: can not have preedit dialog follow in Firefox, Chrome and VScode
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 20 Nov 2022 13:52:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267876 Bug ID: 267876 Summary: textproc/fcitx5: can not have preedit dialog follow in Firefox, Chrome and VScode Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: khng@freebsd.org Reporter: marshall.ruanel@qq.com Assignee: khng@freebsd.org Flags: maintainer-feedback?(khng@freebsd.org) I'm under KDE5 desktop enviorment. I've installed fcitx5 one year ago, everything looks fine until these days after I do 'pkg upgrade', the fcitx5 chinese input can not be activated. So I reinstalled the fcitx5 and the pkg give me information to set the env-vals as follows: export GTK_IM_MODULE=fcitx/xim export QT_IM_MODULE=fcitx export XMODIFIERS='@im=fcitx' I put that's information before the 'exec ck-launch-session /usr/local/bin/startplasma-x11' in ~/.xinitrc file. Now, I can input Chinese characters in firefox, chrome and vscode, but the input box location always stay on the left bottom of these softwares. If I change the first line as: export GTK_IM_MODULE=fcitx then, firefox works fine, the input dialog will follow the cursor inside the controls in firefox UI, but both chrome and vscode can not activate Chinese input method. I ran fcitx5-diagnose, and everything look ok, except some red lines as: (1) **Cannot find fcitx5 input method module for Qt4.** (2) **Cannot find immodules cache for gtk 4** I check this Makefile in the port textproc/fcitx5-gtk, it looks like there is no gtk4-immodule is banned on the last line with CMAKE_OFF=ENABLE_GTK$_IM_MODULE. and I checked the x11-toolkit/gtk40's pkg_plist files, unlike the gtk30, there is no gtk_query_immodules file would build. So, Does this is related with the situation I encountered? If I have to setup the GTK_IM_MODULE=fcitx/xim, how could I get input dialog cursor following in firefox, chrome, vscode? Or, If I set the GTK_IM_MODULE=fcitx, how could I get the Chinese input method works under chrome and vscode? Somebody could help me? Sincerely, Thanks! -- You are receiving this mail because: You are the assignee for the bug.