Bug 25685 - [GTK] Middle click paste form the pasteboard
Summary: [GTK] Middle click paste form the pasteboard
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk
: 17267 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-11 00:19 PDT by Holger Freyther
Modified: 2009-05-13 07:05 PDT (History)
2 users (show)

See Also:


Attachments
Paste from GDK_SELECTION_PRIMARY (9.57 KB, patch)
2009-05-11 00:22 PDT, Holger Freyther
xan.lopez: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Freyther 2009-05-11 00:19:45 PDT
On X11 paste from the pasteboard...
Comment 1 Holger Freyther 2009-05-11 00:22:07 PDT
Created attachment 30175 [details]
Paste from GDK_SELECTION_PRIMARY

Handle middle button press for PLATFORM(X11) after going through the event handler. We can call paste() without any guards as the Editor::paste implementation will verify that we can properly paste...
Comment 2 Xan Lopez 2009-05-12 08:21:27 PDT
Comment on attachment 30175 [details]
Paste from GDK_SELECTION_PRIMARY


I think you can do without the new private function, since you can access the private data of the view from PasteBoardHelperGtk.cpp (we also access the 'disposing' flag from FrameLoaderClientGtk.cpp in a similar way). But it's not really important, so r=me either way.
Comment 3 Gustavo Noronha (kov) 2009-05-12 10:14:27 PDT
*** Bug 17267 has been marked as a duplicate of this bug. ***
Comment 4 Xan Lopez 2009-05-13 07:05:01 PDT
Landed as rr43624, closing.