Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415203 - app-i18n/fcitx does not work with kde-base/konqueror khtml (but does work with webkit)
Summary: app-i18n/fcitx does not work with kde-base/konqueror khtml (but does work wit...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-09 07:16 UTC by linuxboy
Modified: 2013-10-24 18:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description linuxboy 2012-05-09 07:16:37 UTC
1. Open a new konqueror(khtml) tab or window, and put the cursor into the text area of the web page form.
2. You can see some little odd lattices on the screen  as hitting "ctrl+space" to activate fcitx to input chinese.
3. Finally, the fcitx input window cannot follow with the cursor.

When I use konqueror(webkit), the fcitx works perfectly.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-09 14:43:14 UTC
Please post your `emerge --info kde-base/konqueror app-i18n/fcitx' output in a comment.
Comment 2 linuxboy 2012-05-10 00:46:24 UTC
emerge --info kde-base/konqueror app-i18n/fcitx
Portage 2.3.3-r4 (default/linux/x86/2008.0/desktop, gcc-4.6.2, glibc-2.13-r4, 3.2.15-1 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.15-1-i686-Pentium-R-_Dual-Core_CPU_E5800_@_3.20GHz-with-gentoo-2.1.8
Timestamp of tree: Wed, 09 May 2012 18:00:01 +0000
app-shells/bash:          4.2_p24
dev-lang/python:          2.7.4_pre20120506, 3.2.4_pre20120506
dev-util/cmake:           2.8.8-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1.8-r3
sys-apps/openrc:          0.8.3-r8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.5
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.6.2-r1
sys-devel/gcc-config:     1.5
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo local
Installed sets: 
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en en_US zh zh_CN"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="git://github.com/funtoo/ports-2012.git"
SYNC_USER="root"
USE="X a52 aac acl acpi alac alsa berkdb bluetooth branding bzip2 cairo cdda cdr cjk cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr dvdread emboss encode exif fam firefox flac fortran gdbm gdu gif gpm iconv ipv6 jpeg kde lame lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap ncurses nls nptl ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl semantic-desktop session spell ssl startup-notification svg tcpd tiff truetype udev unicode usb vorbis wavpack win32codecs wxwidgets x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="stage sheets words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US zh zh_CN" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK

=================================================================
                        Package Settings
=================================================================

kde-base/konqueror-4.8.3 was built with the following:
USE="bookmarks handbook svg (-aqua) -debug"


app-i18n/fcitx-4.2.3 was built with the following:
USE="cairo dbus opencc pango qt -debug -gtk -gtk3"
Comment 3 linuxboy 2012-05-10 00:48:53 UTC
I made a app-i18n/fcitx-4.2.3 ebuild in my own local portage.
Comment 4 Naohiro Aota gentoo-dev 2012-05-13 01:01:13 UTC
I don't know much about fcitx, but could you try "fcitx -D" to print the debug message?
Comment 5 linuxboy 2012-05-14 04:06:10 UTC
fcitx -D
[INFO] /var/tmp/portage/app-i18n/fcitx-4.2.3/work/fcitx-4.2.3/src/lib/fcitx/addon.c:99-Load Addon Config File:fcitx-fullwidth-char.conf
[INFO] /var/tmp/portage/app-i18n/fcitx-4.2.3/work/fcitx-4.2.3/src/lib/fcitx/addon.c:99-Load Addon Config File:fcitx-table.conf
[INFO] /var/tmp/portage/app-i18n/fcitx-4.2.3/work/fcitx-4.2.3/src/lib/fcitx/addon.c:99-Load Addon Config File:fcitx-chttrans.conf
[INFO] /var/tmp/portage/app-i18n/fcitx-4.2.3/work/fcitx-4.2.3/src/lib/fcitx/addon.c:99-Load Addon Config File:fcitx-classic-ui.conf
[INFO] /var/tmp/portage/app-i18n/fcitx-4.2.3/work/fcitx-4.2.3/src/lib/fcitx/addon.c:99-Load Addon Config File:fcitx-sunpinyin.conf
[INFO] /var/tmp/portage/app-i18n/fcitx-4.2.3/work/fcitx-4.2.3/src/lib/fcitx/addon.c:99-Load Addon Config File:fcitx-ipc.conf
[INFO] /var/tmp/portage/app-i18n/fcitx-4.2.3/work/fcitx-4.2.3/src/lib/fcitx/addon.c:99-Load Addon Config File:fcitx-vk.conf
[INFO] /var/tmp/portage/app-i18n/fcitx-4.2.3/work/fcitx-4.2.3/src/lib/fcitx/addon.c:99-Load Addon Config File:fcitx-dbus.conf
[INFO] /var/tmp/portage/app-i18n/fcitx-4.2.3/work/fcitx-4.2.3/src/lib/fcitx/addon.c:99-Load Addon Config File:fcitx-kimpanel-ui.conf
[INFO] /var/tmp/portage/app-i18n/fcitx-4.2.3/work/fcitx-4.2.3/src/lib/fcitx/addon.c:99-Load Addon Config File:fcitx-quickphrase.conf
[INFO] /var/tmp/portage/app-i18n/fcitx-4.2.3/work/fcitx-4.2.3/src/lib/fcitx/addon.c:99-Load Addon Config File:fcitx-autoeng.conf
[INFO] /var/tmp/portage/app-i18n/fcitx-4.2.3/work/fcitx-4.2.3/src/lib/fcitx/addon.c:99-Load Addon Config File:fcitx-pinyin.conf
[INFO] /var/tmp/portage/app-i18n/fcitx-4.2.3/work/fcitx-4.2.3/src/lib/fcitx/addon.c:99-Load Addon Config File:fcitx-xim.conf
[INFO] /var/tmp/portage/app-i18n/fcitx-4.2.3/work/fcitx-4.2.3/src/lib/fcitx/addon.c:99-Load Addon Config File:fcitx-punc.conf
[INFO] /var/tmp/portage/app-i18n/fcitx-4.2.3/work/fcitx-4.2.3/src/lib/fcitx/addon.c:99-Load Addon Config File:fcitx-remote-module.conf
[INFO] /var/tmp/portage/app-i18n/fcitx-4.2.3/work/fcitx-4.2.3/src/lib/fcitx/addon.c:99-Load Addon Config File:fcitx-qw.conf
[INFO] /var/tmp/portage/app-i18n/fcitx-4.2.3/work/fcitx-4.2.3/src/lib/fcitx/addon.c:99-Load Addon Config File:fcitx-x11.conf
[INFO] /var/tmp/portage/app-i18n/fcitx-4.2.3/work/fcitx-4.2.3/src/im/table/table.c:153-Load Table Config File:zrm.conf
[INFO] /var/tmp/portage/app-i18n/fcitx-4.2.3/work/fcitx-4.2.3/src/im/table/table.c:153-Load Table Config File:cangjie.conf
[INFO] /var/tmp/portage/app-i18n/fcitx-4.2.3/work/fcitx-4.2.3/src/im/table/table.c:153-Load Table Config File:erbi.conf
[INFO] /var/tmp/portage/app-i18n/fcitx-4.2.3/work/fcitx-4.2.3/src/im/table/table.c:153-Load Table Config File:wanfeng.conf
[INFO] /var/tmp/portage/app-i18n/fcitx-4.2.3/work/fcitx-4.2.3/src/im/table/table.c:153-Load Table Config File:db.conf
[INFO] /var/tmp/portage/app-i18n/fcitx-4.2.3/work/fcitx-4.2.3/src/im/table/table.c:153-Load Table Config File:wbx.conf
[INFO] /var/tmp/portage/app-i18n/fcitx-4.2.3/work/fcitx-4.2.3/src/im/table/table.c:153-Load Table Config File:wbpy.conf
[INFO] /var/tmp/portage/app-i18n/fcitx-4.2.3/work/fcitx-4.2.3/src/im/table/table.c:153-Load Table Config File:qxm.conf
Comment 6 Mu Qiao (RETIRED) gentoo-dev 2012-05-15 02:06:15 UTC
(In reply to comment #3)
> I made a app-i18n/fcitx-4.2.3 ebuild in my own local portage.

fcitx-4.2.3 has been added to the main tree. Please try if it solves the problem. Thanks.
Comment 7 linuxboy 2012-05-17 09:15:04 UTC
I have just reinstalled fcitx-4.2.3 from the main portage, but fcitx still does not work with konqueror khtml properly -- the input window cannot follow with the cursor.
fcitx author holds that the problem is caused by khtml, but not fcitx itself.
(In reply to comment #6)
> (In reply to comment #3)
> > I made a app-i18n/fcitx-4.2.3 ebuild in my own local portage.
> 
> fcitx-4.2.3 has been added to the main tree. Please try if it solves the
> problem. Thanks.
Comment 8 Naohiro Aota gentoo-dev 2012-05-26 14:56:14 UTC
I reproduced the same issue with 

QT_IM_MODULE=fcitx tea (small Qt editor)

and had no problem with uim nor ibus.
Comment 9 Michael Palimaka (kensington) gentoo-dev 2012-10-24 17:21:12 UTC
Is this fixed with a newer version? (fcitx 4.2.5 is in the tree, and 4.2.6.1 is available upstream).

(In reply to comment #8)
> I reproduced the same issue with 
> 
> QT_IM_MODULE=fcitx tea (small Qt editor)
> 
> and had no problem with uim nor ibus.
Does that mean the bug has nothing to do with konqueror or KDE?
Comment 10 Ben de Groot (RETIRED) gentoo-dev 2012-10-27 05:51:46 UTC
Is this issue still present in 4.2.6.1 which I just committed? Please report back, so we know if this is an ongoing issue or not. Otherwise I'd like to go ahead with stabilization of 4.2.5.
Comment 11 Ben de Groot (RETIRED) gentoo-dev 2012-10-29 07:45:03 UTC
Also please test if toggling the icu useflag helps.
Comment 12 fantasticfears 2013-01-01 12:12:14 UTC
(In reply to comment #10)
> Is this issue still present in 4.2.6.1 which I just committed? Please report
> back, so we know if this is an ongoing issue or not. Otherwise I'd like to
> go ahead with stabilization of 4.2.5.

The problem remains with 4.2.6.1.

Portage 2.1.11.31 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.4, glibc-2.15-r3, 3.6.11-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.6.11-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E3-1230_V2_@_3.30GHz-with-gentoo-2.1
Timestamp of tree: Tue, 01 Jan 2013 06:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo betagarden
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.163.com/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/betagarden"
SYNC="rsync://rsync.cn.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apm bash-completion berkdb branding bzip2 cairo cdda cjk cli consolekit cracklib crypt cups cxx dbus declarative djvu dri dts dvd emacs emboss encode exif fam firefox flac fortran gdbm gif gpm hal iconv icu idn ipv6 jpeg kde kipi latex lcms ldap libnotify lzo mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg openal opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pppd qt3support qt4 readline sdl semantic-desktop session spell sqlite sse sse2 sse3 ssl startup-notification svg symlink tcpd threads tiff truetype udev udisks unicode upower usb vnc vorbis wxwidgets x264 xcb xcomposite xft xinerama xml xmlrpc xscreensaver xv xvid zeroconf zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="zh_CN en en_US zh" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

kde-base/konqueror-4.9.3-r1 was built with the following:
USE="bookmarks (consolekit) handbook (multilib) (policykit) svg (-aqua) -debug"


app-i18n/fcitx-4.2.6.1 was built with the following:
USE="cairo (consolekit) gtk gtk3 icu (multilib) pango (policykit) qt4 table xml -debug -introspection -lua -opencc -snooper -static-libs -test"
Comment 13 Wang Jiajun 2013-02-02 05:50:49 UTC
http://code.google.com/p/fcitx/issues/detail?id=569

It is a bug of khtml, has nothing to do with fcitx.
Comment 14 Ben de Groot (RETIRED) gentoo-dev 2013-02-02 07:47:41 UTC
Since this seems to be a KHTML bug, reassigning to KDE team.
Comment 15 Michael Palimaka (kensington) gentoo-dev 2013-02-11 15:34:09 UTC
Since this is a KHTML bug, can someone familiar with what's happening please report this to KDE upstream?
Comment 16 Johannes Huber (RETIRED) gentoo-dev 2013-10-24 18:34:10 UTC
(In reply to Michael Palimaka (kensington) from comment #15)
> Since this is a KHTML bug, can someone familiar with what's happening please
> report this to KDE upstream?

Please report upstream. Seems not a distribution specific bug.