SCIM eats X11 KeyRelease event

Bug #243399 reported by Qishuai Liu
12
Affects Status Importance Assigned to Milestone
SCIM
Fix Released
Undecided
Unassigned
Wine
Invalid
Undecided
Unassigned
scim (Ubuntu)
Fix Released
Undecided
Rolf Leggewie
scim-pinyin (Ubuntu)
Invalid
Undecided
Unassigned
scim-tables (Ubuntu)
Invalid
Undecided
Unassigned
wine (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: scim

Ubuntu 8.04.

Steps to reproduce:

$ sudo apt-get install scim scim-pinyin wine
$ wine notepad

switch the input method to scim-pinyin, and press and release Ctrl key.

Now you can't use Backspace key to delete a previous character because wine didn't receive the KeyRelease event and keeps the Ctrl key pressed.

run notepad again with:
$ WINEDEBUG=trace+event wine notepad

and found that the KeyRelease event is missing after releasing each keys.

It seems this bug exists in all scim engines except scim-anthy.

Revision history for this message
Pablo Castellano (pablocastellano) wrote :

Thanks for your bug report.
Could you check if this issue is still happening in Ubuntu Intrepid Beta?

Changed in scim:
status: New → Incomplete
Revision history for this message
Loïc Martin (loic-martin3) wrote :

I can't reproduce this bug on Intrepid with wine 1.1.8 from winehq.

To get scim input in wine, since I'm using a fr_FR session, I run this command first:
export LANG="zh_CN.UTF-8"

Then:
wine notepad

I can still use the backspace kay, and I get that on the terminal when I type in a notepad launched with :
WINEDEBUG=trace+event wine notepad

trace:event:process_events processed 1 events
trace:event:call_event_handler KeyRelease for hwnd/window 0x10028/5600008
trace:event:process_events processed 2 events
trace:event:process_events processed 1 events
trace:event:call_event_handler KeyPress for hwnd/window 0x10028/5600008
trace:event:process_events processed 2 events
trace:event:process_events processed 1 events
trace:event:call_event_handler KeyRelease for hwnd/window 0x10028/5600008
trace:event:process_events processed 2 events

LI Daobing (lidaobing)
Changed in scim-tables (Ubuntu):
status: New → Incomplete
Revision history for this message
Scott Ritchie (scottritchie) wrote :

Is the bug reproducible in Jaunty?

Changed in wine (Ubuntu):
status: New → Incomplete
Revision history for this message
ChM (christophe-meessen) wrote :

I encounter a problem apparently due to SCIM which has the effect that the keybord focus is apparently loss. I'm using Ubuntu 8.04 and have to stay with it.

In Eclipse, when a tooltip windows shows up and disapear, keybpard entry are ignore afterward. I have to switch edited text (clicking tabs) to get back the focus.

I saw the same problem when switching from gedit to a shell. The shell would ignore keyboard entries until I click in the top window bar or switch session tabls.

I saw the same problem with a java application. I suspected a problem in Java, but I'm now pretty sure it is a problem due to SCIM.

I tried removing the SCIM package but I was then unable to type ê characters which I need. Reinstalling SCIM resolved this problem, but also restored the keyboard focus loss.

Another weird behavior is that now whenever I switch the front most window, SCIM pops up on the bottom right on my screen. Changing the setup to not show this windows, seem to worsen the problem.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

LiU and ChM, thank you for reporting. I think this may be fixed in 1.4.9 which is about to be released in Karmic. Please verify.

https://launchpad.net/~r0lf/+archive/hardy/+sourcepub/678492/+listing-archive-extra

Changed in scim (Ubuntu):
assignee: nobody → Rolf Leggewie (r0lf)
Liu Chunhui (chunhui201)
Changed in scim-pinyin (Ubuntu):
assignee: nobody → Liu Chunhui (chunhui201)
Revision history for this message
Rolf Leggewie (r0lf) wrote :

Liu, please don't assign to yourself unless you plan to work on bringing the ticket forward. Are you affected? We still lack confirmation that this is still an issue.

Changed in scim-pinyin (Ubuntu):
assignee: Liu Chunhui (chunhui201) → nobody
Revision history for this message
Rolf Leggewie (r0lf) wrote :

I will close this ticket in about two weeks if nobody steps up and confirms they are still affected.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

Closing as fixed

Changed in scim (Ubuntu):
status: Incomplete → Fix Released
Changed in scim:
status: New → Fix Released
Changed in wine:
status: New → Invalid
Changed in scim-tables (Ubuntu):
status: Incomplete → Invalid
Changed in wine (Ubuntu):
status: Incomplete → Invalid
Changed in scim-pinyin (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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