Apache OpenOffice (AOO) Bugzilla – Issue 67969
key release event in gtk vcl plugin
Last modified: 2006-08-07 10:36:26 UTC
In OOo's gtk plugin, only key press event is filtered for gtk_im_context. Some input methods need explicit key release event corresponding to key press in order to behave properly (such as uim-prime). In gtk+, gtk_im_context_filter_keypress() is used for key release event too (see http://developer.gnome.org/doc/API/2.0/gtk/GtkIMContext.html#gtk-im-context-filter-keypress), and all of normal gtk+ widget filter both key press and release event in its IM context. So please apply the attached patch. I've already signed to JCA. Cheers, -- Etsushi Kato
Created attachment 38138 [details] Patch against gtkframe.cxx r1.47.40.3
Good that they changed their mind. I found it unreasonable to only pass keypresss in the first place.
Do you happen to know when this change made it into gtk ? I'd want to have the old behaviour for older gtk versions.
I just checked gtk+-2.0.0, and found gtkentry and gtktextview do filter the key release event using gtk_im_context_filter_keypress(). So they seems to filter key release event since long time ago, but they didn't document explicitly. For the document, I requested them to update last year in http://bugzilla.gnome.org/show_bug.cgi?id=324996, and they are included in gtk+-2.8.10.
OK, then we don't need a version check. Thank you for looking into this.
committed in CWS vcl64
verified in CWS vcl64
seen in m181