Slingshot won't search while ibus or fcitx is running

Bug #1213321 reported by Daeng Bo
100
This bug affects 22 people
Affects Status Importance Assigned to Milestone
Slingshot
Fix Released
Critical
Jeremy Wootten

Bug Description

Steps to reproduce:
1) install ibus and run ibus-daemon
2) configure ibus with some language
3) super-space or click "Applications"
4) Try to type -- search isn't focused
5) click on search box -- still isn't focused

I have this problem with Chinese configured. Another user commented about the same problem with Japanese. The input method for these languages doesn't need to be enabled for the problem to occur -- trying it in English is enough.

Tags: ibus slingshot

Related branches

Revision history for this message
asy (asypost) wrote :

not only ibus,but also fcitx.

Revision history for this message
Cody Garver (codygarver) wrote :

I hear about this a lot, so I confirmed it.

no longer affects: elementaryos
Changed in slingshot:
milestone: none → isis-beta1
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
dorkguy&@@&-)27 (bitchdoyoulikeswagorsomething) wrote :

I confirm this happen to me too.
To Cody.
Any idea about the patch of this bug will come to Luna stable instead updating to Isis beta?..
i don't want to go on beta in first place.

Revision history for this message
Cody Garver (codygarver) wrote :

The fix would be available to Luna users as well, it's just on Isis beta milestone so it gets seen.

Revision history for this message
Tigran Gabrielyan (tigrangab) wrote :

When you try to type with ibus-daemon running I get an infinite loop of :

[Gdk] Event with type 8 not holding a GdkDevice. It is most likely synthesized outside Gdk/GTK+

Happens after calling return base.key_press_event (event); anywhere inside the overridden key_press_event method in SlingshotView.vala

Revision history for this message
Tigran Gabrielyan (tigrangab) wrote :

Just for clarity, calling return base.key_press_event (event); gives that GDK message and then public override bool key_press_event (Gdk.EventKey event) in SlingshotView is called again and again it calls return base.key_pres_event. That's where the infinite loops is.

Revision history for this message
dorkguy&@@&-)27 (bitchdoyoulikeswagorsomething) wrote :

Ohh yeahh.. added some more about this bug... when ibus daemon is turned on, i can't use the hotkey to run the Terminal (Ctrl+Alt+T) .. does the hotkey is a part of slingshot too? ..

Revision history for this message
dorkguy&@@&-)27 (bitchdoyoulikeswagorsomething) wrote :

Hey.. sorry for double post, but... to ibus users on elementaryOS. i don't know if this work for you all or not, but it does something magic happen to me.
I suddenly can make the ibus work on search on slingshot, before that magic happen work. i quit the daemon first.. then i try to run the daemon back again by typing the daemon name "ibus-daemon" on the search bar and run it as command. then i try to type it and it works... :D..
i'm sorry i can't make a prove of the bugs is figured out, its because my desktop can't do a screenshot (black screen) after installing fglrx :( ..

Revision history for this message
dorkguy&@@&-)27 (bitchdoyoulikeswagorsomething) wrote :

I'm sorry again for my triple post.. but here it is for the screenshot of the prove.. It works to trigger the ibus character, but when the characters are finalized (non underlined) we still can't delete or backspace it if we made a mistake

Revision history for this message
Daeng Bo (daengbo) wrote :
Revision history for this message
Jung-Kyu Park (bagjunggyu) wrote :

I find also one at the scratch .
it is also unable to type in scrathch when ibus is running.

Revision history for this message
Jonathan Lumb (jonolumb) wrote :

There is already a bug filed for the problem in Scratch which may or may not be related:

https://bugs.launchpad.net/scratch/+bug/1198794

Changed in slingshot:
assignee: nobody → Jeremy Wootten (jeremywootten)
Revision history for this message
Cody Garver (codygarver) wrote :

From duplicate report #1220214:

"I bet all eastasia user have this problem.
If you want to reproduce this:
apt-get install fcitx-pinyin
then go to language panel, and change the input method to fcitx, logout,
login.
press Super + Space to open slingshot. You'll find you can not type in
anything.
Here is a video: http://www.youtube.com/watch?v=9QNrdtXdGmY

(ibus and fcitx are two input methods, widely use in eastasia)

Have a good day!"

Revision history for this message
Jung-Kyu Park (bagjunggyu) wrote :

Thank you Cody ,but unfortunately fcitx either doesn't wok for HANGUL ( Korean Laungae)
Actually For a Hangul nabi works propely

apt-get install nabi

but , I don't know hot to input nabi's indicator to the wingpanel
so that I son't use nabi yet

if you can show me how to move nabi's indicator to wingpanel
it will be a good news for us

Revision history for this message
Kevin (kevinshlee) wrote :

As far as I know, fcitx is only for Chinese and Chinese is not the only language used by east Asian people. Korea, Japan and Mongolia have their own languages. They also use different alphabets, although Mongolia uses Mongolian Cyrillic alphabet which is equivalent to Russian one with some additional characters.

For Korean alphabet, I don't think using nabi is a good alternative since it may not work well with some applications (I had this problem before). I'm not sure if the old nabi problem with several applications was already fixed though.

I think a proper and right solution would be making slingshot work well when ibus is running. So rather than suggesting some alternatives, this issue should be solved properly.

Revision history for this message
Jonathan Lumb (jonolumb) wrote :

Thanks for sharing your world knowledge with us Kevin...

Revision history for this message
Kevin (kevinshlee) wrote :

Well, I understand that if you don't use it, you can't easily know what it is or what the problem is.
By the way, speaking of knowledge, here is more enjoyable knowledge although you might not find it funny if you're not Asian. :)
http://www.youtube.com/watch?v=zAH8MgWk43w

Changed in slingshot:
status: Confirmed → Fix Committed
Changed in slingshot:
status: Fix Committed → In Progress
Revision history for this message
Jonathan Lumb (jonolumb) wrote :

Seems to be fixed in the latest version for me.

Cody Garver (codygarver)
Changed in slingshot:
milestone: isis-beta1 → 0.7.6
status: In Progress → Fix Released
Revision history for this message
Menci (menci) wrote :

Still have this problem on Loki (everything latest with daily PPA).

If I `killall fcitx`, It just works.

And I **can** paste text (both English and Chinese) from somewhere to search.

Revision history for this message
Duc (leloiboi1) wrote :

The problem re-appears in Loki.

I can only search in Slingshot if I kill ibus-deamon

Revision history for this message
Zisu Andrei (matzipan) wrote :

Hey Duc,

Can you please open a new bug report for this regression?

Revision history for this message
Jung-Kyu Park (bagjunggyu) wrote :

This is a duplicate of this report
https://bugs.launchpad.net/slingshot/+bug/1604483

Revision history for this message
Jung-Kyu Park (bagjunggyu) wrote :

In some language ,like Chinese , we've got mailed from Chinese user with workaround for this issue

$ sudo apt purge ibus-gtk3
Log out and Log in

However, for Korean and Japanese that workaround didn't work.

Revision history for this message
aquez (aquez1912) wrote :

with ibus-unikey, remove ibus-gtk3 seems work. Now I able to search in Slingshot again.

quequotion (quequotion)
summary: - Slingshot won't search while ibus is running
+ Slingshot won't search while ibus or fcitx is running
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.