Ibus applet in unity does not allow selection of menu entries by mouse.

Bug #645724 reported by Narayanan N
64
This bug affects 12 people
Affects Status Importance Assigned to Milestone
ibus (Ubuntu)
Fix Released
Undecided
Unassigned
Maverick
Fix Released
Undecided
Unassigned

Bug Description

Menu items in the ibus application indicator do not respond to clicks. This happens on both GNOME and Unity.

Fixing this required changes to the appindicator patch as well as a fix provided by upstream to use glib for spawning external processes. All caused by signal handling problems internal to ibus.

Test case:
 * run ibus-daemon
 * click on the indicator in the panel and select preferences, and add input methods (you may need to install some using gnome-language-selector)
 * Try changing input types, or even opening the preferences menu again.

In ibus 1.3.7-1ubuntu3, the menu would only respond to clicks sometimes and it would cause the cpu load to hit 100%. Changing input methods didn't work at all.

Binary package hint: ibus

This problem seems to be there for some time now. I am not able to select entries of ibus by clicking on the icon and selecting the desired item (language/restart/quit etc). If I want to set preferences, I need to manually start ibus-setup. similarly, to change languages I need to use keyboard shortcuts.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: ibus 1.3.7-1ubuntu3
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
Date: Thu Sep 23 11:10:11 2010
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: ibus

Related branches

Revision history for this message
Narayanan N (narayana) wrote :
Revision history for this message
Narayanan N (narayana) wrote :

Edit: Quit/restart seem to work sometimes if I try 2-3 times.

Revision history for this message
dazza5000 (darran-kelinske) wrote :

Dear Narayanan N,

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:

* Is this reproducible?
* If so, what specific steps should we take to recreate this bug?

This will help us to find and resolve the problem.

Sincerely,

Darran

Revision history for this message
Narayanan N (narayana) wrote : Re: [Bug 645724] Re: Ibus applet in unity does not allow selection of menu entries by mouse.

 It was always the case with me if the daemon is automatically started. I
had migrated from lucid, so to make sure that the problem is not with old
account settings, I created a new account to check. The same problem is
there also.

Then I though of using strace to get some info. Strangely enough when I
start strace ibus-daemon, it works fine. Then I tried ibus-daemon on the
terminal without strace. It does not work then. If I try strace ibus-daemon
-d, the strace info is not displayed after it goes to daemon mode.

So i am at loss of what can be done to get to the problem. I can always
reproduce it. But I am not sure how or why. If you have any ideas that I can
try, I would be happy to try it out.

thanks
narayanan

On Thu, Sep 23, 2010 at 12:06 PM, drizzle <email address hidden> wrote:

> Dear Narayanan N,
>
> Thank you for taking the time to report this bug and helping to make
> Ubuntu better. Please answer these questions:
>
> * Is this reproducible?
> * If so, what specific steps should we take to recreate this bug?
>
> This will help us to find and resolve the problem.
>
> Sincerely,
>
> Darran
>
> --
> Ibus applet in unity does not allow selection of menu entries by mouse.
> https://bugs.launchpad.net/bugs/645724
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “ibus” package in Ubuntu: New
>
> Bug description:
> Binary package hint: ibus
>
> This problem seems to be there for some time now. I am not able to select
> entries of ibus by clicking on the icon and selecting the desired item
> (language/restart/quit etc). If I want to set preferences, I need to
> manually start ibus-setup. similarly, to change languages I need to use
> keyboard shortcuts.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.10
> Package: ibus 1.3.7-1ubuntu3
> ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
> Uname: Linux 2.6.35-22-generic i686
> Architecture: i386
> Date: Thu Sep 23 11:10:11 2010
> ProcEnviron:
> PATH=(custom, user)
> LANG=en_GB.utf8
> SHELL=/bin/bash
> SourcePackage: ibus
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/645724/+subscribe
>

--
+++++++++++++++++++++

Narayanan / നാരായണന്‍ / नारायणन् / னாராயணன் / 那拉亞南
+++++++++++++++++++++
Post-Doctoral Fellow,
Dept. of Mathematics,
National Taiwan University,
Taipei, Taiwan.
+++++++++++++++++++++

Revision history for this message
Karl Lattimer (karl-qdh) wrote :

This problem is caused by a race condition occurring between the ibus-daemon focus in/focus out dbus events, and the menu item activated signals.

I am currently working on a fix for this bug

Changed in ibus (Ubuntu):
assignee: nobody → Karl Lattimer (karl-qdh)
status: New → In Progress
Revision history for this message
Karl Lattimer (karl-qdh) wrote :

This bug is *mostly fixed* in the related branch.

There appears to be a bug remaining where one of the menu items activates if you click outside of the menu to dismiss, and also it is impossible to select "No input method" from the menu.

These issues are possibly related, further updates to the branch will be made as I continue to hack on this.

Revision history for this message
Karl Lattimer (karl-qdh) wrote :

Revision 28 on my branch fixes all remaining selection/focus issues

Changed in ibus (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Didier, do you think you could sponsor that patch update as a SRU?

Changed in ibus (Ubuntu):
assignee: Karl Lattimer (karl-qdh) → Didier Roche (didrocks)
status: Fix Committed → Triaged
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

So, the patch doesn't apply as told to Karl. It seems the tarball isn't good. Let's see with ken once he's available.

Changed in ibus (Ubuntu):
status: Triaged → Confirmed
assignee: Didier Roche (didrocks) → nobody
description: updated
Revision history for this message
Colin Watson (cjwatson) wrote : Please test proposed package

Accepted ibus into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in ibus (Ubuntu Maverick):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Sebastien Bacher (seb128) wrote :

I just tried the described step a few times, with the maverick version ibus starts using 100% cpu when the preference dialog is open, with the update the cpu doesn't move and switching the input methods seems to work, set it verification-done

tags: added: verification-done
removed: verification-needed
Revision history for this message
Sebastien Bacher (seb128) wrote :

the fix is in natty as well

Changed in ibus (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ibus - 1.3.7-1ubuntu4

---------------
ibus (1.3.7-1ubuntu4) maverick-proposed; urgency=low

  [ Karl Lattimer ]
  * debia/patches/05_appindicator.patch
    - Fixed unresponsive menu, (LP: #645724)
    - Fixed 100% cpu usage properly, (LP: #637671)
    - Fixed focus tracking issue, (LP: #522079)

  [ Ikuya Awashiro ]
  * debian/patches/03_fix1104.patch: added.
    - http://code.google.com/p/ibus/issues/detail?id=1104
    - This patch fixed (LP: #637671) finally.

  [ Ken VanDine ]
  * debian/README.source
    - Removed, it was outdated and no longer correct
 -- Ken VanDine <email address hidden> Tue, 16 Nov 2010 09:57:35 -0500

Changed in ibus (Ubuntu Maverick):
status: Fix Committed → Fix Released
Revision history for this message
ghormax (aisuru2001) wrote :

I have this problem in Ubuntu 11.04, Natty Narwhal. I can only switch between input methods with my keyboard. Clicking on it with my mouse does not work. This is a serious problem because it worked in previous versions and Asian input is crucial-

Revision history for this message
Frederic the wise (fredericthewise) wrote :

I still have this problem in ubuntu 11.04. My IBus version is 1.3.9. I use both Unity and Unity2d and the problem appears in both.

Revision history for this message
Jo Jaeyoung (jaeyoungse) wrote :

I have this problem in ubuntu 12.04 release version with refresh install. Been using for 2 days and menu items respond to click only sporadically.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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