Comment #9 on issue 17504 by [email protected]: [Linux] Middle click  
link in gmail chat pastes primary selection
http://code.google.com/p/chromium/issues/detail?id=17504

The following revision refers to this bug:
     http://src.chromium.org/viewvc/chrome?view=rev&revision=21553

------------------------------------------------------------------------
r21553 | [email protected] | 2009-07-24 11:32:43 -0700 (Fri, 24 Jul 2009)  
| 10 lines
Changed paths:
    M  
http://src.chromium.org/viewvc/chrome/trunk/src/webkit/glue/webview_impl.cc?r1=21553&r2=21552

Paste at the beginning of a middle click rather than after letting the page  
handle it.

The problem is that the page changes the focused area in the mouse release  
handler.

Even after this fix, it is possible to paste into the wrong place. The  
place that gets the text is whichever text input is focused when the  
browser sends back the clipboard contents, not the text input that is  
focused when the middle click is handled. This has always been true but  
seems harmless in most cases.

BUG=17504
TEST=open gmail chat. Put something in your PRIMARY. Click in the text  
entry area. Middle click in the chat display area. The selection shouldn't  
paste into the text entry. Otherwise, middle click paste should still work.
TEST=the reduction in the bug acts as expected
Review URL: http://codereview.chromium.org/160065
------------------------------------------------------------------------


--
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to