After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 759083 - IBus and Fcitx would not work in a GNOME Flashback session
IBus and Fcitx would not work in a GNOME Flashback session
Status: RESOLVED FIXED
Product: gnome-flashback
Classification: Other
Component: general
3.18.x
Other Linux
: Normal major
: ---
Assigned To: GNOME Flashback Maintainers
GNOME Flashback Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-12-06 08:25 UTC by Jeff Bai
Modified: 2016-01-19 11:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Working IBus indicator (39.05 KB, image/png)
2015-12-06 23:23 UTC, Jeff Bai
Details

Description Jeff Bai 2015-12-06 08:25:04 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.
Comment 1 Jeff Bai 2015-12-06 08:26:00 UTC
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.
Comment 2 Alberts Muktupāvels 2015-12-06 11:08:43 UTC
Does IBus starts to work after you run (from terminal):
gnome-flashback --replace
Comment 3 Mingye Wang 2015-12-06 18:25:22 UTC
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.
Comment 4 Jeff Bai 2015-12-06 20:06:30 UTC
(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.
Comment 5 Alberts Muktupāvels 2015-12-06 20:22:45 UTC
(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.
Comment 6 Mingye Wang 2015-12-06 20:37:28 UTC
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.
Comment 7 Jeff Bai 2015-12-06 20:39:16 UTC
(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
Comment 8 Alberts Muktupāvels 2015-12-06 20:58:42 UTC
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?
Comment 9 Jeff Bai 2015-12-06 21:19:35 UTC
(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.
Comment 10 Alberts Muktupāvels 2015-12-06 21:31:36 UTC
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>.
Comment 11 Jeff Bai 2015-12-06 21:35:19 UTC
(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?
Comment 12 Sebastian 2015-12-06 21:40:21 UTC
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.
Comment 13 Jeff Bai 2015-12-06 21:44:46 UTC
(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
Comment 14 Alberts Muktupāvels 2015-12-06 23:00:11 UTC
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...
Comment 15 Jeff Bai 2015-12-06 23:17:17 UTC
> 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.
Comment 16 Jeff Bai 2015-12-06 23:23:07 UTC
(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!
Comment 17 Jeff Bai 2015-12-06 23:23:30 UTC
Created attachment 316857 [details]
Working IBus indicator
Comment 18 Jeff Bai 2015-12-06 23:23:46 UTC
Added a screenshot to show the indicator working.
Comment 19 Alberts Muktupāvels 2015-12-07 13:52:21 UTC
Lets close this bug when this bug will be fully fixed - we still need to implement candidate popup...
Comment 20 Alberts Muktupāvels 2016-01-19 11:00:52 UTC
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.