Discussion:
[opensuse-m17n] IBus 1.5.10: new indicator does not show icons of some engines
Fuminobu TAKEYAMA
2015-02-26 13:56:36 UTC
Permalink
Hi all,

I am working to update IBus to 1.5.10.

This version starts to provide a new indicator supporting Plasma 5.
However, it does not show icons of some ibus engines such as Mozc.
ibus-anthy works fine.

The latest package can be found in home:ftake:branches:M17N.
If you notice the cause of this problem, please tell me.

I will read the code tomorrow.

Best regards,
Fuminobu TAKEYAMA
--
To unsubscribe, e-mail: opensuse-m17n+***@opensuse.org
To contact the owner, e-mail: opensuse-m17n+***@opensuse.org
Fuminobu TAKEYAMA
2015-03-04 14:14:15 UTC
Permalink
Hi,

I found the cause of this problem.

The new indicator requires that engine icons must be installed in a theme directory.
We need to fix ibus-* engines or disable this new indicator (by setting environment
variable) for KDE4.

For Plasma 5, this indicator seems to be better than nothing.

https://github.com/ibus/ibus/commit/aab56c25356e3d036db8d3ffcef272a2b69c17d3#diff-498e61e4c9c641bf36042acdbb2eee53R1261

+ if (icon_name[0] == '/') {
+ if (m_icon_type == IconType.STATUS_ICON) {
+ m_status_icon.set_from_file(icon_name);
+ }
+ else if (m_icon_type == IconType.INDICATOR) {
+ warning("appindicator requires an icon name in a theme " +
+ "path instead of the full path: %s", icon_name);
+ m_indicator.set_icon_full("ibus-engine", "");
+ }
+ }

--
Fuminobu Takeyama
--
To unsubscribe, e-mail: opensuse-m17n+***@opensuse.org
To contact the owner, e-mail: opensuse-m17n+***@opensuse.org
Loading...