Comment #4 on issue 1759 by [email protected]: ibus doesnt show up tray icon
https://code.google.com/p/ibus/issues/detail?id=1759

Hi, i have two PCs with Archlinux x86_64, on both I have installed KDE 4.14.3, ibus 1.5.9 and kimpanel 4.14.3. They have identical configurations but only one of them is affected by this issue.

Digging a bit into ibus source code, I found that it uses the glib function [i]g_dir_read_name[/i] to retrieve the names of the ibus component files but, according to glib documentation, the the order of entries returned from this function is not defined.

Now, if there is another panel component file (like kimpanel.xml) and this is loaded first of gtkpanel.xml, then the default ibus-ui-gtk3 user interface is overridden and the tray icon is not shown, even if that panel is not used and even on other desktop sessions other than KDE.

I made a simple program that prints out in which order the component files are loaded (see the attachment) and this is the output that I obtain on the PC affected by this issue:

filename: simple.xml
filename: kimpanel.xml
filename: gtkpanel.xml
filename: anthy.xml
filename: dconf.xml

on the contrary, on the PC where the tray icon is shown correctly I obtain the following output:

filename: gtkpanel.xml
filename: dconf.xml
filename: simple.xml
filename: kimpanel.xml
filename: anthy.xml

I hope this can help,
best regards

Attachments:
        ibus-glibtest.tar.gz  533 bytes

--
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

--
--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en
--- You received this message because you are subscribed to the Google Groups "ibus-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

回复