ibus cannot show icon in panel without appindicator

Bug #920834 reported by Xu Zhen on 2012-01-24
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ibus (Ubuntu)
Low
Unassigned

Bug Description

ibus version : 1.4.0-3ubuntu3

If appindicator is not installed, ibus will not show icon in panel.

$ ibus-daemon -v
** Message: Use database /usr/share/ibus-pinyin/db/open-phrase.db

** WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 230, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/share/ibus/ui/gtk/main.py", line 78, in __name_acquired_cb
    self.__panel.show()
  File "/usr/share/ibus/ui/gtk/panel.py", line 225, in show
    self.__config_load_show_icon_on_systray()
  File "/usr/share/ibus/ui/gtk/panel.py", line 345, in __config_load_show_icon_on_systray
    if self.__appindicator:
AttributeError: 'Panel' object has no attribute '_Panel__appindicator'

this bug is introduced by 05_appindicator.patch. I added 'self.__appindicator = None' to it, then everything works well

Xu Zhen (xuzhen666) wrote :

The attachment "05_appindicator.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Sebastien Bacher (seb128) wrote :

Thank you for your work, could you attach a diff of the changes to the bug? The patch seems to change some icon names over the current version, is that wanted?

Changed in ibus (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Xu Zhen (xuzhen666) wrote :

Here is the diff file for 05_appindicator.patch
I tested with ibus_1.4.1-7ubuntu1 and ibus_1.4.2-0ubuntu1, both worked

Launchpad Janitor (janitor) wrote :

[Expired for ibus (Ubuntu) because there has been no activity for 60 days.]

Changed in ibus (Ubuntu):
status: Incomplete → Expired
You-Sheng Yang (vicamo) wrote :

Still there for ibus 1.4.2-0ubuntu2.

Changed in ibus (Ubuntu):
status: Expired → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers