Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1289 by [email protected]: IBus-hangul engine ignores key events when any mouse button is down
http://code.google.com/p/ibus/issues/detail?id=1289

What version of the product are you using? On what operating system?
OS (Linux distributions, UNIX or ...): Fedora 14
Architecture (i386, x86_64): i386
IBus version: 1.3.9
Input method name and version: hangul-1.3.9
Python version: 2.7
dbus version: 1.4.0
dbus-python version: 0.83.0
gtk version (if bug is about gtk applications):
qt version (if bug is about qt applications):

What steps will reproduce the problem?
The problem is when using ibus-hangul with a virtual on-screen keyboard. When the keypress event is handled by the ibus-hangul engine, the "modifiers" variable has the bit IBUS_BUTTON1_MASK set, which makes the engine to ignore the key event. The code in engine.c only omits the following bits:

IBUS_SHIFT_MASK | IBUS_LOCK_MASK | IBUS_MOD2_MASK

You can easily reproduce the problem by keeping the left-button down while typing with a real keyboard.

What is the expected output? What do you see instead?
One should be able to use the ibus-hangul engine with a virtual on-screen keyboard.

Please provide any additional information below.


--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en

回复