https://bugzilla.redhat.com/show_bug.cgi?id=1004135
Bug ID: 1004135 Summary: ibus: can not enter text into gnome applications when using ssh Product: Fedora Version: 19 Component: ibus Severity: high Priority: medium Assignee: tfujiwar@redhat.com Reporter: harshula@redhat.com QA Contact: extras-qa@fedoraproject.org CC: i18n-bugs@lists.fedoraproject.org, petersen@redhat.com, shawn.p.huang@gmail.com, tfujiwar@redhat.com
Description of problem:
When IBus is enabled, there are problems with inputting text via ssh to gnome applications such as epiphany/gedit.
Steps to Reproduce:
0) Enable IBus 1) Enable SSH server so that you can SSH to your system 2) ssh -Y or ssh -X into your system 3) Open epiphany or gedit 4) Enter text
Actual results: * text does not appear in the application
Expected results: * text appears in the application
Additional info:
(gedit:20828): IBUS-WARNING **: Events queue growing too big, will start to drop.
https://bugzilla.redhat.com/show_bug.cgi?id=1004135
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |NOTABUG Last Closed| |2013-09-06 00:19:41
--- Comment #1 from fujiwara tfujiwar@redhat.com --- ibus is based on dbus and it does not support client-server connection. So you need to run ibus-daemon in the server side.
# ssh -Y server server% ibus-daemon --xim & server% env GTK_IM_MODULE=ibus gedit
https://bugzilla.redhat.com/show_bug.cgi?id=1004135
--- Comment #2 from Harshula Jayasuriya harshula@redhat.com --- BTW, the problem is that English text is not appearing. And you can verify this by using your own desktop system, enabling ssh server and logging into your own account on the same system.
https://bugzilla.redhat.com/show_bug.cgi?id=1004135
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |ASSIGNED Resolution|NOTABUG |--- Summary|ibus: can not enter text |ibus: cannot enter ASCII |into gnome applications |text into gnome |when using ssh |applications when using ssh Keywords| |Reopened
--- Comment #3 from Jens Petersen petersen@redhat.com --- This seems to be a regression - when one tries to test this with recent ibus one sees many warnings like:
(gedit:20828): IBUS-WARNING **: Events queue growing too big, will start to drop.
This happens at least with ibus-1.5.2-8.fc19.x86_64 and later, but not with ibus-1.5.1-2.fc18.
https://bugzilla.redhat.com/show_bug.cgi?id=1004135
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(petersen@redhat.c | |om)
--- Comment #4 from fujiwara tfujiwar@redhat.com --- (In reply to Jens Petersen from comment #3)
This seems to be a regression - when one tries to test this with recent ibus one sees many warnings like:
(gedit:20828): IBUS-WARNING **: Events queue growing too big, will start to drop.
This happens at least with ibus-1.5.2-8.fc19.x86_64 and later, but not with ibus-1.5.1-2.fc18.
I cannot reproduce your problem.
Did you see any errors with strace gedit?
https://bugzilla.redhat.com/show_bug.cgi?id=1004135
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(petersen@redhat.c | |om) |
--- Comment #5 from Jens Petersen petersen@redhat.com --- It is pretty easy to reproduce:
1. boot F19-x86_64-DESK-20130806.iso (F19 respin) 2. setup ibus 3. ssh -X localhost gedit 4. try to input ascii directly (and can't)
The ibus warnings "Events queue growing too big, will start to drop." suggest something is wrong.
https://bugzilla.redhat.com/show_bug.cgi?id=1004135
--- Comment #6 from Jens Petersen petersen@redhat.com --- I can also reproduce on my own desktop running current F19. ibus-1.5.2-7.fc19 also seems okay.
I forgot a couple of minor starts above:
2.1 su 2.2 systemctl start sshd 2.3 passwd liveuser
https://bugzilla.redhat.com/show_bug.cgi?id=1004135
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tiagomatos@gmail.com
--- Comment #7 from fujiwara tfujiwar@redhat.com --- OK, if ibus-daemon is running on another display, it can happen. The following is the tentative patch:
--- ibus-1.5.3/client/gtk2/ibusimcontext.c.orig +++ ibus-1.5.3/client/gtk2/ibusimcontext.c @@ -740,7 +740,13 @@ ibus_im_context_filter_keypress (GtkIMCo
IBusIMContext *ibusimcontext = IBUS_IM_CONTEXT (context);
- if (!_daemon_is_running) + /* If ibus-daemon is running and run ssh -X localhost, + * _daemon_is_running == TRUE but ibus_get_address() == NULL + * so IBusBus is not connected and ibusimcontext->ibuscontext == NULL + * and ibusimcontext->events_queue could go beyond MAX_QUEUED_EVENTS + * because hostname and display number are different between + * ibus-daemon and clients. */ + if (!_daemon_is_running || ibus_get_address () == NULL) return gtk_im_context_filter_keypress (ibusimcontext->slave, event);
/* If context does not have focus, ibus will process key event in
https://bugzilla.redhat.com/show_bug.cgi?id=1004135
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |POST
--- Comment #8 from fujiwara tfujiwar@redhat.com --- https://github.com/ibus/ibus/commit/98c7bdc5d92d5d2f25eb5f81fe90397664c2d435
https://bugzilla.redhat.com/show_bug.cgi?id=1004135
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|POST |MODIFIED
https://bugzilla.redhat.com/show_bug.cgi?id=1004135
--- Comment #9 from Fedora Update System updates@fedoraproject.org --- ibus-1.5.4-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/FEDORA-2013-17327/ibus-1.5.4-1.fc20
https://bugzilla.redhat.com/show_bug.cgi?id=1004135
--- Comment #10 from Fedora Update System updates@fedoraproject.org --- ibus-1.5.4-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/FEDORA-2013-17357/ibus-1.5.4-1.fc19
https://bugzilla.redhat.com/show_bug.cgi?id=1004135
--- Comment #11 from Fedora Update System updates@fedoraproject.org --- ibus-1.5.4-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/FEDORA-2013-17371/ibus-1.5.4-1.fc18
https://bugzilla.redhat.com/show_bug.cgi?id=1004135
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |CLOSED Fixed In Version| |ibus-1.5.4-1.fc20 Resolution|--- |ERRATA Last Closed|2013-09-06 00:19:41 |2013-09-28 21:40:11
--- Comment #12 from Fedora Update System updates@fedoraproject.org --- ibus-1.5.4-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1004135
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|ibus-1.5.4-1.fc20 |ibus-1.5.4-1.fc19
--- Comment #13 from Fedora Update System updates@fedoraproject.org --- ibus-1.5.4-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1004135
--- Comment #14 from Fedora Update System updates@fedoraproject.org --- ibus-1.5.4-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/ibus-1.5.4-2.fc19
https://bugzilla.redhat.com/show_bug.cgi?id=1004135
--- Comment #15 from Fedora Update System updates@fedoraproject.org --- ibus-1.5.4-2.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/ibus-1.5.4-2.fc18
https://bugzilla.redhat.com/show_bug.cgi?id=1004135
--- Comment #16 from Fedora Update System updates@fedoraproject.org --- ibus-1.5.4-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/ibus-1.5.4-2.fc20
https://bugzilla.redhat.com/show_bug.cgi?id=1004135
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |ON_QA Resolution|ERRATA |---
--- Comment #17 from Fedora Update System updates@fedoraproject.org --- Package ibus-1.5.4-2.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ibus-1.5.4-2.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-18298/ibus-1.5.4-2.fc20 then log in and leave karma (feedback).
https://bugzilla.redhat.com/show_bug.cgi?id=1004135
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Fixed In Version|ibus-1.5.4-1.fc19 |ibus-1.5.4-2.fc20 Resolution|--- |ERRATA Last Closed|2013-09-28 21:40:11 |2013-11-10 01:43:16
--- Comment #18 from Fedora Update System updates@fedoraproject.org --- ibus-1.5.4-2.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1004135
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|ibus-1.5.4-2.fc20 |ibus-1.5.4-2.fc19
--- Comment #19 from Fedora Update System updates@fedoraproject.org --- ibus-1.5.4-2.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1004135
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|ibus-1.5.4-2.fc19 |ibus-1.5.4-2.fc18
--- Comment #20 from Fedora Update System updates@fedoraproject.org --- ibus-1.5.4-2.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
i18n-bugs@lists.fedoraproject.org