Tk Source Code

View Ticket
Login
Ticket UUID: 3610491
Title: Keyboard is ignored with SCIM
Type: Patch Version: None
Submitter: eugene_cdn Created on: 2013-04-10 21:21:24
Subsystem: 67. Unix Window Operations Assigned To: jenglish
Priority: 5 Medium Severity:
Status: Deleted Last Modified: 2013-04-11 05:00:11
Resolution: None Closed By: eugene_cdn
    Closed on: 2013-04-10 22:00:11
Description:
This is a continuation of 905830 and, maybe, 1919791.
If there is environment variable XMODIFIERS is equal to "@im=SCIM" and scim is running, then in quite often Tk ignores keyboard input.
I am attaching a simple Tk testcase.  It fails with wish 8.4 and 8.5.  OS is Red Hat 5.3, desktop is Gnome.
We had several ways to reproduce the problem, but I selected a shortest one, using tool tips.  I am attaching a script implementing tool tips that
I found years ago and modified a little bit for us.
To reproduce the problem:
1) Find Gnome on Red Hat or possible other Linux.
2) copy both files to any place.
3) setenv XMODIFIERS "@im=SCIM"
4) wish s.tcl
5) move mouse to entry or text widget and wait till a tool tip appears
6) try to type
7) you may need to move mouse in and out the area to update tool tips.
That's it.
Clicking on other window and then back helps to restore input for a while.
User Comments: eugene_cdn added on 2013-04-11 05:00:11:

allow_comments - 1

I created a bug 3610493.

eugene_cdn added on 2013-04-11 04:57:00:
I filed the problem in wrong place.  I will move to bugs area.

eugene_cdn added on 2013-04-11 04:21:52:

File Added - 462471: balloon.tcl

eugene_cdn added on 2013-04-11 04:21:25:

File Added - 462470: s.tcl

Attachments: