Bug 717845

Summary: [abrt] ibus-1.3.99.20110419-2.fc15: connection.py:630:call_blocking:DBusException: org.freedesktop.DBus.Error.Failed: Context which does not has focus can not change engine to scj6.
Product: [Fedora] Fedora Reporter: John Lau <jlau>
Component: ibusAssignee: fujiwara <tfujiwar>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: i18n-bugs, shawn.p.huang, tfujiwar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:a9737195776ec3f022d1efbd519d447c15ae2520
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-22 01:36:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description John Lau 2011-06-30 07:17:41 UTC
abrt version: 2.0.1
architecture:   x86_64
cmdline:        /usr/bin/python /usr/share/ibus/ui/gtk/main.py
component:      ibus
executable:     /usr/share/ibus/ui/gtk/main.py
kernel:         2.6.38.6-26.rc1.fc15.x86_64
os_release:     Fedora release 15 (Lovelock)
package:        ibus-1.3.99.20110419-2.fc15
reason:         connection.py:630:call_blocking:DBusException: org.freedesktop.DBus.Error.Failed: Context which does not has focus can not change engine to scj6.
time:           Thu Jun 30 15:16:30 2011
uid:            500
username:       johnlau

backtrace:
:connection.py:630:call_blocking:DBusException: org.freedesktop.DBus.Error.Failed: Context which does not has focus can not change engine to scj6.
:
:Traceback (most recent call last):
:  File "/usr/share/ibus/ui/gtk/panel.py", line 526, in __im_menu_item_activate_cb
:    self.__focus_ic.set_engine(engine)
:  File "/usr/lib/python2.7/site-packages/ibus/inputcontext.py", line 259, in set_engine
:    return self.__context.SetEngine(engine.name)
:  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in __call__
:    **keywords)
:  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
:    message, timeout)
:DBusException: org.freedesktop.DBus.Error.Failed: Context which does not has focus can not change engine to scj6.
:
:Local variables in innermost frame:
:byte_arrays: False
:self: <dbus.connection.Connection object at 0x128ad10>
:args: (dbus.String(u'scj6'),)
:utf8_strings: False
:bus_name: 'org.freedesktop.IBus'
:get_args_opts: {'byte_arrays': False, 'utf8_strings': False}
:object_path: dbus.ObjectPath('/org/freedesktop/IBus/InputContext_20')
:timeout: -1.0
:signature: u's'
:dbus_interface: 'org.freedesktop.IBus.InputContext'
:message: <dbus.lowlevel.MethodCallMessage object at 0x11f0af8>
:method: 'SetEngine'

Comment 1 John Lau 2011-06-30 07:31:27 UTC
I try this bug a few times. It happened when I use "Ctrl-space" to switch input method.

Comment 2 John Lau 2011-06-30 07:31:58 UTC
I mean I triggered this bug a few times.

Comment 3 fujiwara 2011-07-05 09:45:57 UTC
I cannot reproduce your problem.
Are you able to see the same problem when you use a new user account instead of the current account?

Comment 4 John Lau 2011-07-05 09:51:43 UTC
I will try to create a new user account and test later.

I remember that I hit this problem more frequently when setting "Share the same input method among all applications". And the problem happens when I switch input focus between windows and then use "Ctrl-space" to switch input method. Hope it helps.

Comment 5 fujiwara 2011-07-11 10:36:32 UTC
(In reply to comment #4)
> I remember that I hit this problem more frequently when setting "Share the same
> input method among all applications". And the problem happens when I switch

I don't see any problems with "Share the same input method among all applications".
Do you mean "Use system keyboard layout" instead?

Comment 6 fujiwara 2011-07-22 01:36:22 UTC

*** This bug has been marked as a duplicate of bug 707370 ***