GNOME Bugzilla – Bug 759083
IBus and Fcitx would not work in a GNOME Flashback session
Last modified: 2016-01-19 11:00:52 UTC
As a GNOME user who uses Chinese as his daily language, I am using IBus as my default input method framework, and as recommended by GNOME. And all works fine on my machine with some simple configurations via gnome-control-center and its Regional settings (input sources). Unfortunately however, this is not the case for GNOME Flashback. IBus, of its ibus-setup or gnome-control-center input sources settings seems to be disregarded. That is to say that the input framework is totally unusable. And one of my friends suggested that Fcitx won't work either. From what I can see, the IBus daemon is running in the background (or else ibus-setup would not work in the first place). For further reference, the case as this issue occurs with GNOME Flashback 3.18.1.
I have noticed several patches prior to GNOME Flashback 3.18.1 tagging at https://git.gnome.org. But we do have the newest 3.18.1 installed.
Does IBus starts to work after you run (from terminal): gnome-flashback --replace
In Ubuntu's GNOME Fallback and GNOME w/ xMonad, here is a similar bug: https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/1258778 This bug is marked as resolved, but a further comment states that it still persists. It looks like there is tons of crap with IBus to deal with.
(In reply to Alberts Muktupāvels from comment #2) > Does IBus starts to work after you run (from terminal): > gnome-flashback --replace That did not help.
(In reply to Jeff Bai from comment #4) > (In reply to Alberts Muktupāvels from comment #2) > > Does IBus starts to work after you run (from terminal): > > gnome-flashback --replace > > That did not help. Please write list / steps how to reproduce your problem - what input sources should I add, should I install some extra software... So after reading your list I can configure my pc with configuration that should work, but it does not. Also what distribution do you use? Ubuntu by default does not use input-source module from gnome-flashback. (In reply to Mingye Wang from comment #3) > In Ubuntu's GNOME Fallback and GNOME w/ xMonad, here is a similar bug: > > https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/1258778 > > This bug is marked as resolved, but a further comment states that it still > persists. It looks like there is tons of crap with IBus to deal with. Candidate popup is not implemented in gnome-flashback, but ubuntu currently does not us input-source module from gnome-flashback so your problem is ubuntu specific not upstream... --- On ubuntu input-sources can be enabled with: gsettings set org.gnome.gnome-flashback input-sources true But then notification-area applet must be added to gnome-panel to see language icon/indicator.
Jeff Bai uses a custom-built distro called AOSC OS (and just like him, I am (at least supposed to be) a maintainer of that distro.) According to https://github.com/AOSC-Dev/aosc-os-abbs/blob/staging/extra-gnome/gnome-flashback/spec, the gnome-flashback version used is 3.18.1. https://github.com/AOSC-Dev/aosc-os-abbs/blob/staging/extra-gnome/gnome-flashback/autobuild/defines doesn't mention any special flags, therefore it can be assumed that the normal build procedure at https://github.com/AOSC-Dev/autobuild3/blob/v1.5.1/build/10-autotools.sh (with AUTOTOOLS_DEF flags from https://github.com/AOSC-Dev/autobuild3/blob/v1.5.1/etc/autobuild/ab3_defcfg.sh#L84) are used. You can also find definitions for other packages at https://github.com/AOSC-Dev/aosc-os-abbs/find/staging.
(In reply to Alberts Muktupāvels from comment #5) > (In reply to Jeff Bai from comment #4) > > (In reply to Alberts Muktupāvels from comment #2) > > > Does IBus starts to work after you run (from terminal): > > > gnome-flashback --replace > > > > That did not help. > > Please write list / steps how to reproduce your problem - what input sources > should I add, should I install some extra software... So after reading your > list I can configure my pc with configuration that should work, but it does > not. > > Also what distribution do you use? Ubuntu by default does not use > input-source module from gnome-flashback. To reproduce this issue: 1. Install ibus, and ibus-rime (the one I used). 2. Start GNOME flashback. 3. Go to GNOME control center, Regional settings, and add Rime as an input source under Chinese (China). Now by default, IBus uses <Super>+<Space> to switch input method. Nothing happens in this case. I am using AOSC OS, which is availabe from https://aosc.io. This is an independently built distribution, but I assure you that other parts of GNOME is working perfectly fine. Best regards, Jeff Bai
I installed ibus-rime, but it looks like I don't have it listed as input-source: - Chinese - Chinese (Bopomofo) - Chinese (Intelligent Pinyin) Do I need to install something else? Just in case... Input sources does work in default GNOME session, right?
(In reply to Alberts Muktupāvels from comment #8) > I installed ibus-rime, but it looks like I don't have it listed as > input-source: > - Chinese > - Chinese (Bopomofo) > - Chinese (Intelligent Pinyin) > > Do I need to install something else? > > Just in case... Input sources does work in default GNOME session, right? Yes, it seems good here. It works in default GNOME session and GNOME Classic, yes.
What should I do to get / add Rime as an input source? I added Chinese (Bopomofo) and Chinese (Intelligent Pinyin). After restarting gnome-flashback I can switch to these input sources with <Super>+<Space>.
(In reply to Alberts Muktupāvels from comment #10) > What should I do to get / add Rime as an input source? I added Chinese > (Bopomofo) and Chinese (Intelligent Pinyin). After restarting > gnome-flashback I can switch to these input sources with <Super>+<Space>. What distribution are you using? Most distributions provides this input method. However this is not an issue just with Rime, it happens with Intelligent Pinyin here too. What did you do after you'd installed IBus?
If you add some other language like German or French, can you switch to those under Gnome Flashback, is the problem only Rime or can you not switch the language at all.
(In reply to Sebastian from comment #12) > If you add some other language like German or French, can you switch to > those under Gnome Flashback, is the problem only Rime or can you not switch > the language at all. Hi Sebastian! It is as if IBus is there, but would not be able to be controlled. I am currently away from my machine, if you would excuse me for an hour or so... Best Regards, Jeff Bai
I just pushed one fix: https://git.gnome.org/browse/gnome-flashback/commit/?id=4d1ae32b4ffabd7e091281b88c93637880dc12f9 Now ibus sources are loaded for me always. I can even kill ibus-daemon and it will be restarted. So at least one small problem is now fixed. Jeff, do you see your language / input source when you right click on language indicator / status icon? If not then does it work applying that patch? Anyway... we have not implemented candidate popup so you wont be able to select correct character...
> Jeff, do you see your language / input source when you right click on language indicator / status icon? If not then does it work applying that patch? Funny that you asked... the indicator is not there. But I will apply your patch anyways, give me a minute.
(In reply to Alberts Muktupāvels from comment #14) > I just pushed one fix: > https://git.gnome.org/browse/gnome-flashback/commit/ > ?id=4d1ae32b4ffabd7e091281b88c93637880dc12f9 > > Now ibus sources are loaded for me always. I can even kill ibus-daemon and > it will be restarted. So at least one small problem is now fixed. > > Jeff, do you see your language / input source when you right click on > language indicator / status icon? If not then does it work applying that > patch? > > Anyway... we have not implemented candidate popup so you wont be able to > select correct character... And yes the patch made the input method indicator working! However, just like you said, character selection is not available. This is a good start nonetheless. Keep up the good work guys!
Created attachment 316857 [details] Working IBus indicator
Added a screenshot to show the indicator working.
Lets close this bug when this bug will be fully fixed - we still need to implement candidate popup...
Ok, candidate popup is now in both gnome-3-18 and master. There are still theme problems that must be fixed, but functionality should work now.