Selecting a word in an editable region and then clicking causes the word to be deleted.
Created attachment 181231 [details] Patch
*** Bug 106081 has been marked as a duplicate of this bug. ***
Created attachment 181315 [details] Another patch I think both patches can be complementary. this patch ensures we do the same than we currently in wk1. GtkInputMethodFilter::notifyMouseButtonPress() calls confirmCurrentComposition() which ends up calling Editor::confirmComposition(), the version without receiving a String. In WebKit2, we are using a single message ConfirmComposition. When confirmCurrentComposition is called in WebKit2 ConfirmComposition message is sent with a NULL String, and the web process ends up calling Editor::confirmComposition(String). We need to handle the special case of the NULL string to call Editor::confirmComposition() without the string.
Adding Simon and Kenneth to the CC because Qt might be affected by this too.
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Comment on attachment 181231 [details] Patch This looks sane to me, and we save an IPC message when we are not composing. Thanks!
Comment on attachment 181231 [details] Patch Clearing flags on attachment: 181231 Committed r138806: <http://trac.webkit.org/changeset/138806>
Should we close this?
The GTK+ parts of this look good to me, but a WebKit2 OWNER needs to look at the other change.
Are we going to move this one forward?
Comment on attachment 181315 [details] Another patch No, this is working fine now