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

Bug #828833 reported by Ikuya Awashiro
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ibus (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Version:
1.3.99.20110419-1ubuntu1

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>
    main()
  File "/usr/share/ibus/ui/gtk/main.py", line 125, in main
    launch_panel(replace)
  File "/usr/share/ibus/ui/gtk/main.py", line 92, in launch_panel
    UIApplication(replace).run()
  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__
    self.__appindicator_update_menu()
  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'

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

Revision history for this message
Ikuya Awashiro (ikuya-fruitsbasket) wrote :
Revision history for this message
Ikuya Awashiro (ikuya-fruitsbasket) wrote :

same as 1.3.99.20110419-1ubuntu2

Revision history for this message
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.

Revision history for this message
Ikuya Awashiro (ikuya-fruitsbasket) wrote :

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

Steve Langasek (vorlon)
Changed in ibus (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ibus - 1.3.99.20110419-1ubuntu3

---------------
ibus (1.3.99.20110419-1ubuntu3) 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  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.