IBus applet, toolbar, lookup table don't show on Oneiric

Bug #828833 reported by Ikuya Awashiro on 2011-08-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ibus (Ubuntu)

Bug Description


How to reproduce:
1. Installing Oneiric with Japanese environment.
2. Log in. keyboard applet doesn't show.
3. An application starts on.
4. Press Ctrl+Space key.
5. Press some word like わたしのなまえはなかのです
6. Press space key. Lookup table doesn't show. see also attached screenshot.

Traceback (most recent call last):
  File "/usr/share/ibus/ui/gtk/main.py", line 130, in <module>
  File "/usr/share/ibus/ui/gtk/main.py", line 125, in main
  File "/usr/share/ibus/ui/gtk/main.py", line 92, in launch_panel
  File "/usr/share/ibus/ui/gtk/main.py", line 52, in __init__
    self.__panel = panel.Panel(self.__bus)
  File "/usr/share/ibus/ui/gtk/panel.py", line 137, in __init__
  File "/usr/share/ibus/ui/gtk/panel.py", line 549, in __appindicator_update_menu
    if not self.__previous_focus_ic:
AttributeError: 'Panel' object has no attribute '_Panel__previous_focus_ic'

I built ibus without debian/patches/05_appindicator.patch and installed them.
It worked FINE.
So I think 05_appindicator.patch is guilty.

Related branches

same as

Mingming Ren (portis25) wrote :

Adding a line
        self.__previous_focus_ic = None
at line 70 of /usr/share/ibus/ui/gtk/panel.py
solves this problem.

Hi Mingming, thank you for your advice. It is exactly what I wanted to know.
This patch will fix this issue.

Steve Langasek (vorlon) on 2011-08-20
Changed in ibus (Ubuntu):
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ibus -

ibus ( oneiric; urgency=low

  * debian/xinput/ibus: check for GTK2+ and GTK3+ IMModules separately,
    otherwise the file globbing fails us. Thanks to Ikuya Awashiro
    <email address hidden> for the initial patch. LP: #823202.

  [ Ikuya Awashiro ]
  * debian/patches/05_appindicator.patch: fix crash issue. LP: #828833.
 -- Steve Langasek <email address hidden> Sat, 20 Aug 2011 11:07:06 -0700

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

Other bug subscribers

Bug attachments