WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 106045
106081
REGRESSION(
r138544
): [GTK] Clicking on selected text in a text editable deletes the selection
https://bugs.webkit.org/show_bug.cgi?id=106081
Summary
REGRESSION(r138544): [GTK] Clicking on selected text in a text editable delet...
Carlos Garcia Campos
Reported
2013-01-04 03:34:12 PST
The problem is that GtkInputMethodFilter::notifyMouseButtonPress() in WebKit2 always confirms a text composition, instead of the current composition.
Attachments
Patch
(2.71 KB, patch)
2013-01-04 03:37 PST
,
Carlos Garcia Campos
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Carlos Garcia Campos
Comment 1
2013-01-04 03:37:34 PST
Created
attachment 181286
[details]
Patch
WebKit Review Bot
Comment 2
2013-01-04 03:41:55 PST
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
Martin Robinson
Comment 3
2013-01-04 08:34:17 PST
I think the patch I posted yesterday might be more complete. *** This bug has been marked as a duplicate of
bug 106045
***
Martin Robinson
Comment 4
2013-01-04 08:37:22 PST
Comment on
attachment 181286
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=181286&action=review
> Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp:626 > - priv->inputMethodFilter.notifyMouseButtonPress(); > - > if (!priv->clickCounter.shouldProcessButtonEvent(buttonEvent)) > return TRUE; > > // If it's a right click event save it as a possible context menu event. > if (buttonEvent->button == 3) > priv->contextMenuEvent.set(gdk_event_copy(reinterpret_cast<GdkEvent*>(buttonEvent))); > + > + priv->inputMethodFilter.notifyMouseButtonPress();
I think either way, it makes sense to cancel the composition. clickCounter.shouldProcessButtonEvent just discards "extra" events that happen during the process of multi-clicking, so the chances of this making a difference are pretty small.
Eric Seidel (no email)
Comment 5
2013-03-01 02:49:23 PST
Comment on
attachment 181286
[details]
Patch Cleared review? from
attachment 181286
[details]
so that this bug does not appear in
http://webkit.org/pending-review
. If you would like this patch reviewed, please attach it to a new bug (or re-open this bug before marking it for review again).
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug