Bug 118709 - [Linux] REGRESSION(r129750): Middle-clicking on a link can paste into a text field if it's focused during the click
Summary: [Linux] REGRESSION(r129750): Middle-clicking on a link can paste into a text ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BlinkMergeCandidate
Depends on:
Blocks:
 
Reported: 2013-07-15 21:34 PDT by Ryosuke Niwa
Modified: 2013-07-23 10:55 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2013-07-15 21:34:19 PDT
Consider merging https://chromium.googlesource.com/chromium/blink/+/3df333dde854facbf7253312181db1d399249569

Fix for pasting content into a text area when middle clicking on a link in Linux which has an event handler that focuses a textarea.

When adding the unified version of middle mouse button pres in rev 129750 a bug was introduced that also pasted the text from
the clipboard in a focused input field when clicking on a link with the middle mouse button, if the link focused an input field in its click event handler.
Comment 1 Allan Sandfeld Jensen 2013-07-23 01:32:00 PDT
The patch is slightly wrong since it removes the GTK+ codepath, but I guess it makes sense.
Comment 2 Tony Chang 2013-07-23 10:55:14 PDT
(In reply to comment #1)
> The patch is slightly wrong since it removes the GTK+ codepath, but I guess it makes sense.

Blink only targets Chromium, so I removed the GTK+ codepath there.  I wouldn't merge that part to WebKit.