Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=947318
Bug ID: 947318 Summary: $ ibus restart -> cannot input in gnome-shell widget Product: Fedora Version: 19 Component: ibus Severity: medium Priority: unspecified Assignee: tfujiwar@redhat.com Reporter: sangu.fedora@gmail.com QA Contact: extras-qa@fedoraproject.org CC: i18n-bugs@lists.fedoraproject.org, shawn.p.huang@gmail.com, tfujiwar@redhat.com Category: ---
Description of problem: $ ibus restart -> cannot input in gnome-shell widget
After ibus restarting, input in gnome-shell widget, # journalctl -n -f
4월 02 15:45:40 None /etc/gdm/Xsession[1138]: (gnome-shell:4915): IBUS-WARNING **: Events queue growing too big, will start to drop. 4월 02 15:45:40 None /etc/gdm/Xsession[1138]: (gnome-shell:4915): IBUS-WARNING **: Events queue growing too big, will start to drop. 4월 02 15:45:40 None /etc/gdm/Xsession[1138]: (gnome-shell:4915): IBUS-WARNING **: Events queue growing too big, will start to drop. 4월 02 15:45:40 None /etc/gdm/Xsession[1138]: (gnome-shell:4915): IBUS-WARNING **: Events queue growing too big, will start to drop. 4월 02 15:45:40 None /etc/gdm/Xsession[1138]: (gnome-shell:4915): IBUS-WARNING **: Events queue growing too big, will start to drop.
Version-Release number of selected component (if applicable): 1.5.1-3.fc19.x86_64
How reproducible: Whenever ibus restart, always
Steps to Reproduce: 1. $ ibus restart 2. click super key 3. input
Actual results:
Expected results:
Additional info:
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=947318
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
--- Comment #1 from fujiwara tfujiwar@redhat.com --- Thanks for the report.
I thought if this problem can be handled in the client applications and checked StIMText in gnome-shell and it seems StIMText does not touch the bus connection.
Probably the following is the suggested fix.
--- ibus-1.5.1/client/gtk2/ibusimcontext.c.orig 2013-04-09 16:16:38.288866593 +0900 +++ ibus-1.5.1/client/gtk2/ibusimcontext.c 2013-04-09 17:17:34.137417132 +0900 @@ -1467,6 +1467,25 @@ _ibus_context_destroy_cb (IBusInputConte
g_signal_emit (ibusimcontext, _signal_preedit_changed_id, 0); g_signal_emit (ibusimcontext, _signal_preedit_end_id, 0); + + /* This destroy callback can be called when the client app connects to + * IBusBus and the app is disconnected. E.g. gnome-shell connects to + * IBusBus and it has StEntry input text and ibus can be restarted. + * And each ibusimcontext also needs to reconnect IBusBus here. */ + if (!ibus_bus_is_connected (_bus)) { + g_signal_handlers_disconnect_by_func (_bus, + G_CALLBACK (_bus_connected_cb), + ibusimcontext); + g_object_unref (_bus); + _bus = ibus_bus_new_async (); + + if (ibus_bus_is_connected (_bus)) { + _create_input_context (ibusimcontext); + } + + g_signal_connect (_bus, "connected", G_CALLBACK (_bus_connected_cb), + ibusimcontext); + } }
static void
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=947318
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=947318
--- Comment #2 from Fedora Update System updates@fedoraproject.org --- ibus-1.5.2-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/FEDORA-2013-6200/ibus-1.5.2-2.fc19
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=947318
--- Comment #3 from Fedora Update System updates@fedoraproject.org --- ibus-1.5.2-2.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/FEDORA-2013-6209/ibus-1.5.2-2.fc18
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=947318
--- Comment #4 from Fedora Update System updates@fedoraproject.org --- ibus-1.5.2-2.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/FEDORA-2013-6220/ibus-1.5.2-2.fc17
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=947318
Rui Matos tiagomatos@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tiagomatos@gmail.com
--- Comment #5 from Rui Matos tiagomatos@gmail.com --- I consider this a bug in gnome-shell. See https://bugzilla.gnome.org/show_bug.cgi?id=699189 .
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=947318
--- Comment #6 from fujiwara tfujiwar@redhat.com --- OK, I will remove the patch in ibus.
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=947318
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |admiller@redhat.com, | |fmuellner@redhat.com, | |otaylor@redhat.com, | |samkraju@gmail.com, | |walters@redhat.com Component|ibus |gnome-shell Assignee|tfujiwar@redhat.com |otaylor@redhat.com
--- Comment #7 from fujiwara tfujiwar@redhat.com --- ibus-1.5.2-3 removed the patch. Transferring to gnome-shell.
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=947318
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ASSIGNED
https://bugzilla.redhat.com/show_bug.cgi?id=947318
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution|--- |CURRENTRELEASE Last Closed| |2013-09-23 22:47:52
i18n-bugs@lists.fedoraproject.org