Comment #8 on issue 16281 by james.su: arrow keys and backspace/delete keys move/delete two characters at a time when xim immodule is used http://code.google.com/p/chromium/issues/detail?id=16281
The reason of this issue should be: In chrome/browser/renderer_host/render_widget_host_view_gtk.cc KeyPressReleaseEvent() handler, the key event will be sent to GtkIMContext object by calling gtk_im_context_filter_keypress(). If xim immodule is used, then XFilterEvent() will be called to forward the key event to xim server. In xim server, if it can't handle the event, it'll forward the event back to application's window, which will be delivered to KeyPressReleaseEvent() again. Note that, the first event send to KeyPressReleaseEvent() is propgated from BrowserWindowGtk (browser_window_gtk.cc:332), but the second one is forwarded to RenderWidgetHostViewGtk directly by X server. I'll do further investigation to see how other application acts in this situation. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs -~----------~----~----~----~------~----~------~--~---
