Firefox will continuely sending key press event when doing some key press operation inside drop down list when using XIM




Widget: Gtk
5 years ago
5 years ago


(Reporter: Weng Xuetian, Unassigned)


16 Branch

Firefox Tracking Flags

(Not tracked)




5 years ago
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0
Build ID: 20121012155924

Steps to reproduce:

1. Using any xim input method, trigger it on.
2. Typing in address bar, make sure the thing you're typing in have some match entry.
3. Press down. (not hold down, release it after press it).

Actual results:

The X will continuously receive KeyRelease event until drop down box disappears, which will make X, firefox, and the input method goes wild. Related suspicious change it this: 

Expected results:

Key release repeat should not happen.

Comment 1

5 years ago
Now I remove out that part of the code, and seems problem is solved.

I wonder the hack in is still required or not? 

Without that patch 301029 is still not reproducible for me. But modify timestamp in this way seems that it will trigger auto-key-repeat.

Comment 2

5 years ago
Sorry I carelessly use non-xim to test... this issue seems unrelated to that part of code.
Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Might be worth trying the next nightly, as it will have the fix for bug 707623.
(I suspect that change won't work so well if applied to Firefox 16.)
You need to log in before you can comment on or make changes to this bug.