shuaiqingli / fcitx

Automatically exported from code.google.com/p/fcitx
GNU General Public License v2.0
1 stars 0 forks source link

fcitx behaves improperly in urxvt #371

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.In archlinux with wm 'awesome'.
2.In rxvt-unicode(installed package 'rxvt-unicode-chinese' in aur)
3.Let mouse pointer on the input bar,then type in Chinese characters,fcitx 
doesn't response properly.

What is the expected output? What do you see instead?
When I want to input '你好',then I type nihao,if the pointer isn't on the 
input bar,everything is ok,if it is,'nihao' will be put in the input area 
directly and fcitx won't give candidate Chinese characters to select.

What version of the product are you using? On what operating system?
archlinux wihout desktop environment but wm 'awesome'

Please provide any additional information below.

Original issue reported on code.google.com by odayf...@gmail.com on 29 Dec 2010 at 6:37

GoogleCodeExporter commented 8 years ago
What is the "input bar"? My urxvt will cancel you preediting when you move the 
cursor to the "input bar" and urxvt loses focus. I think this is appropriate.

Original comment by xianglin...@gmail.com on 25 Jun 2011 at 7:47

GoogleCodeExporter commented 8 years ago
Hi!

I am using a similar setup as you are. I have fcitx-git from AUR and awesomewm. 
However, fcitx doesn't work _at all_ for me.

I get:

[INFO] /builds/fcitx-git/src/fcitx/src/lib/fcitx/addon.c:100-Load Addon Config 
File:fcitx-kimpanel-ui.conf
[INFO] /builds/fcitx-git/src/fcitx/src/lib/fcitx/addon.c:100-Load Addon Config 
File:fcitx-classic-ui.conf
[INFO] /builds/fcitx-git/src/fcitx/src/lib/fcitx/addon.c:100-Load Addon Config 
File:fcitx-imselector.conf
[INFO] /builds/fcitx-git/src/fcitx/src/lib/fcitx/addon.c:100-Load Addon Config 
File:fcitx-fullwidth-char.conf
[INFO] /builds/fcitx-git/src/fcitx/src/lib/fcitx/addon.c:100-Load Addon Config 
File:fcitx-autoeng.conf
[INFO] /builds/fcitx-git/src/fcitx/src/lib/fcitx/addon.c:100-Load Addon Config 
File:fcitx-dbus.conf
[INFO] /builds/fcitx-git/src/fcitx/src/lib/fcitx/addon.c:100-Load Addon Config 
File:fcitx-punc.conf
[INFO] /builds/fcitx-git/src/fcitx/src/lib/fcitx/addon.c:100-Load Addon Config 
File:fcitx-chttrans.conf
[INFO] /builds/fcitx-git/src/fcitx/src/lib/fcitx/addon.c:100-Load Addon Config 
File:fcitx-keyboard.conf
[INFO] /builds/fcitx-git/src/fcitx/src/lib/fcitx/addon.c:100-Load Addon Config 
File:fcitx-ipc.conf
[INFO] /builds/fcitx-git/src/fcitx/src/lib/fcitx/addon.c:100-Load Addon Config 
File:fcitx-table.conf
[INFO] /builds/fcitx-git/src/fcitx/src/lib/fcitx/addon.c:100-Load Addon Config 
File:fcitx-vk.conf
[INFO] /builds/fcitx-git/src/fcitx/src/lib/fcitx/addon.c:100-Load Addon Config 
File:fcitx-xim.conf
[INFO] /builds/fcitx-git/src/fcitx/src/lib/fcitx/addon.c:100-Load Addon Config 
File:fcitx-xkbdbus.conf
[INFO] /builds/fcitx-git/src/fcitx/src/lib/fcitx/addon.c:100-Load Addon Config 
File:fcitx-x11.conf
[INFO] /builds/fcitx-git/src/fcitx/src/lib/fcitx/addon.c:100-Load Addon Config 
File:fcitx-remote-module.conf
[INFO] /builds/fcitx-git/src/fcitx/src/lib/fcitx/addon.c:100-Load Addon Config 
File:fcitx-quickphrase.conf
[INFO] /builds/fcitx-git/src/fcitx/src/lib/fcitx/addon.c:100-Load Addon Config 
File:fcitx-pinyin.conf
[INFO] /builds/fcitx-git/src/fcitx/src/lib/fcitx/addon.c:100-Load Addon Config 
File:fcitx-xkb.conf
[INFO] /builds/fcitx-git/src/fcitx/src/lib/fcitx/addon.c:100-Load Addon Config 
File:fcitx-qw.conf
[INFO] /builds/fcitx-git/src/fcitx/src/im/table/table.c:155-Load Table Config 
File:wbx.conf
[INFO] /builds/fcitx-git/src/fcitx/src/im/table/table.c:155-Load Table Config 
File:cangjie.conf
[INFO] /builds/fcitx-git/src/fcitx/src/im/table/table.c:155-Load Table Config 
File:wanfeng.conf
[INFO] /builds/fcitx-git/src/fcitx/src/im/table/table.c:155-Load Table Config 
File:wbpy.conf
[INFO] /builds/fcitx-git/src/fcitx/src/im/table/table.c:155-Load Table Config 
File:qxm.conf
[INFO] /builds/fcitx-git/src/fcitx/src/im/table/table.c:155-Load Table Config 
File:erbi.conf
[INFO] /builds/fcitx-git/src/fcitx/src/im/table/table.c:155-Load Table Config 
File:zrm.conf
[INFO] /builds/fcitx-git/src/fcitx/src/im/table/table.c:155-Load Table Config 
File:db.conf
[ERROR] /builds/fcitx-git/src/fcitx/src/lib/fcitx/ui.c:162-no usable user 
interface.

Original comment by Alexande...@gmail.com on 31 May 2012 at 6:02

GoogleCodeExporter commented 8 years ago
Hi, Alexander.Ververis,
the problem for you seems you didn't compile any usable ui module in fcitx.

Did you disable both cairo and dbus? If you want to use simple UI, you should 
enable cairo, and if you want to use kimpanel, you need to enable dbus at least.

I think aur dependency is complete, did you explicitly disable some ?

Original comment by wen...@gmail.com on 31 May 2012 at 6:22

GoogleCodeExporter commented 8 years ago
Hi!

Thanks for your fast reply!

I have both dbus and cairo installed on my system. I did not change anything 
from the PKGBUILD, here are the depends:

depends=('pango' 'gtk2' 'qt' 'gtk3' 'dbus-core' 'libxinerama'
  'gtk-update-icon-cache' 'shared-mime-info' 'hicolor-icon-theme'
  'desktop-file-utils' 'icu' 'enchant' 'libxml2' 'libxkbfile' 'iso-codes'
  'gobject-introspection')

All I did was makepkg -si, it checked out from github, installed. I attached 
the .install file and the complete PKGBUILD for your convenience.

Original comment by Alexande...@gmail.com on 31 May 2012 at 6:29

Attachments:

GoogleCodeExporter commented 8 years ago
Did you disable any fcitx addon by accident?

Try fcitx -u fcitx-classic-ui -r

Or clean up ~/.config/fcitx/addon/

Original comment by wen...@gmail.com on 31 May 2012 at 6:34

GoogleCodeExporter commented 8 years ago
fcitx -u fcitx-classic-ui -r

This works.

Now I just need to get it working inside rxvt-unicode-chinese and get rid of 
wierd spacing when fcitx i��
� being used to type englis�
��.

Thanks!

Original comment by Alexande...@gmail.com on 31 May 2012 at 6:41

GoogleCodeExporter commented 8 years ago
Ok, the second issue was taken care of by removing my .config/fcitx/ 
configuration files.

Is there a way to control on what screen the character selection box is shown?

Original comment by Alexande...@gmail.com on 31 May 2012 at 6:43

GoogleCodeExporter commented 8 years ago
#6, 
check the ")" "O" like icon on the bar.

This is represent the full with character mode, there is a default hotkey 
(shift+space) for this in the past (which is disabled by default in git, but if 
you have tried fcitx before I check in the change, you might still have it set)

You can use fcitx-configtool(GTK)/kcm-fcitx(KDE) to disable it (install them 
and use the , option is under global setting->hotkey->"Switch Full width 
character mode".

By the way, feel free to ask question (In any language, though most of existing 
on is Chinese) on fcitx@googlegroups.com. Issue tracker is for bug mostly.

You might want to check:
http://fcitx-im.org/wiki/Configure_%28Other%29
http://fcitx-im.org/wiki/Input_method_related_environment_variables

Original comment by wen...@gmail.com on 31 May 2012 at 7:06

GoogleCodeExporter commented 8 years ago
#7
It depends on where you input.

Original comment by wen...@gmail.com on 31 May 2012 at 7:22

GoogleCodeExporter commented 8 years ago
#6
Your explain simply demostrate that fullwidth mode is useless for English user, 
I explicitly disable it for keyboard-layout IM.

Original comment by wen...@gmail.com on 31 May 2012 at 7:37