Date: Sun, 20 Nov 2022 13:52:57 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 267876] textproc/fcitx5: can not have preedit dialog follow in Firefox, Chrome and VScode Message-ID: <bug-267876-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267876 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=3Dfcitx/xim export QT_IM_MODULE=3Dfcitx export XMODIFIERS=3D'@im=3Dfcitx' 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=3Dfcitx 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=3DENABLE_GTK$_IM_MODULE. and I checked the x11-toolkit/gtk40's pkg_plist files, unlike the gtk30, th= ere 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=3Dfcitx/xim, how could I get input dia= log cursor following in firefox, chrome, vscode? Or, If I set the GTK_IM_MODULE=3Dfcitx, how could I get the Chinese input m= ethod works under chrome and vscode? Somebody could help me? Sincerely, Thanks! --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267876-7788>