Issue 1514 in ibus: ibus-daemon should reload when engines are added or removed.

33 views
Skip to first unread message

ib...@googlecode.com

unread,
Oct 1, 2012, 4:26:59 AM10/1/12
to ibus-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1514 by TiagoMa...@gmail.com: ibus-daemon should reload when
engines are added or removed.
http://code.google.com/p/ibus/issues/detail?id=1514

Currently ibus-daemon doesn't seem to notice that engines have been added
or removed. It would be nice if it did.

ib...@googlecode.com

unread,
Oct 1, 2012, 5:37:17 AM10/1/12
to ibus-...@googlegroups.com

Comment #1 on issue 1514 by daiki.u...@gmail.com: ibus-daemon should reload
when engines are added or removed.
http://code.google.com/p/ibus/issues/detail?id=1514

If you mean install or uninstall by "added or removed", ibus-daemon can
emit "RegistryChanged" D-Bus signal when any file under the component
directory is modified.

Old ibus gtk2 panel showed a notification:
https://github.com/ibus/ibus/blob/master/ui/gtk2/main.py#L61

Note that --monitor-timeout option is needed for this feature.

ib...@googlecode.com

unread,
Oct 1, 2012, 6:06:41 AM10/1/12
to ibus-...@googlegroups.com

Comment #2 on issue 1514 by TiagoMa...@gmail.com: ibus-daemon should reload
when engines are added or removed.
http://code.google.com/p/ibus/issues/detail?id=1514

Ugh, polling... and we'd have to tell the bus to restart. I don't think
that's acceptable, ibus should really handle all of this internally and
just emit a signal so that clients can reload when stuff changes.

ib...@googlecode.com

unread,
Oct 1, 2012, 7:14:09 AM10/1/12
to ibus-...@googlegroups.com

Comment #3 on issue 1514 by hade...@gmail.com: ibus-daemon should reload
when engines are added or removed.
http://code.google.com/p/ibus/issues/detail?id=1514

Why do we need to use monitor timeout? Can't ibus use inotify to get
directory change events? That's possible using GIO, or even using raw
inotify with glib, for example:
http://git.kernel.org/?p=bluetooth/bluez.git;a=blob;f=plugins/adaptername.c;h=cd0ffb2e2b59d6703f901a26adf44414571591bd;hb=HEAD#l274

ib...@googlecode.com

unread,
Oct 2, 2012, 6:42:32 PM10/2/12
to ibus-...@googlegroups.com
Updates:
Labels: Component-ibus

Comment #4 on issue 1514 by damage3...@gmail.com: ibus-daemon should reload
when engines are added or removed.
http://code.google.com/p/ibus/issues/detail?id=1514

Cool, you pointed out a long lasting issue!

ib...@googlecode.com

unread,
Oct 3, 2012, 3:53:16 AM10/3/12
to ibus-...@googlegroups.com

Comment #5 on issue 1514 by daiki.u...@gmail.com: ibus-daemon should reload
when engines are added or removed.
http://code.google.com/p/ibus/issues/detail?id=1514

As we discussed on IRC, it may be not so easy to reload engines list
implicitly, while using GFileMonitor would be straightforward.

So I would like to address this issue separately (1) avoid polling and (2)
reload engines list automatically.

Here is the first round of patch:
https://codereview.appspot.com/6589065

ib...@googlecode.com

unread,
Jul 1, 2014, 6:29:21 AM7/1/14
to ibus-...@googlegroups.com
Updates:
Status: Fixed

Comment #6 on issue 1514 by takao.fujiwara1: ibus-daemon should reload when
(No comment was entered for this change.)

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

ib...@googlecode.com

unread,
Jul 1, 2014, 9:24:49 AM7/1/14
to ibus-...@googlegroups.com
Updates:
Status: Accepted

Comment #7 on issue 1514 by daiki.u...@gmail.com: ibus-daemon should reload
when engines are added or removed.
http://code.google.com/p/ibus/issues/detail?id=1514

Obviously, not fixed yet.

ib...@googlecode.com

unread,
Oct 3, 2014, 2:07:07 AM10/3/14
to ibus-...@googlegroups.com

Comment #8 on issue 1514 by takao.fujiwara1: ibus-daemon should reload when
engines are added or removed.
https://code.google.com/p/ibus/issues/detail?id=1514

File a new bug for the left issue.

ib...@googlecode.com

unread,
May 27, 2015, 6:17:56 AM5/27/15
to ibus-...@googlegroups.com
Updates:
Status: WontFix

Comment #9 on issue 1514 by takao.fujiwara1: ibus-daemon should reload when
(No comment was entered for this change.)

Reply all
Reply to author
Forward
0 new messages