Bug 65252 - [GTK] Copy and paste is broken in WebKit2
Summary: [GTK] Copy and paste is broken in WebKit2
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2011-07-27 06:24 PDT by Carlos Garcia Campos
Modified: 2011-07-28 08:22 PDT (History)
1 user (show)

See Also:


Attachments
Patch (2.54 KB, patch)
2011-07-27 06:29 PDT, Carlos Garcia Campos
mrobinson: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2011-07-27 06:24:16 PDT
The problem is that PasteboardHelper uses page client widget to get the GtkClipboard.
Comment 1 Carlos Garcia Campos 2011-07-27 06:29:52 PDT
Created attachment 102139 [details]
Patch

Use gtk_clipboard_get_for_display() instead of gtk_widget_get_clipboard().
Comment 2 Martin Robinson 2011-07-27 19:30:04 PDT
Comment on attachment 102139 [details]
Patch

Seems reasonable.
Comment 3 Carlos Garcia Campos 2011-07-28 08:22:55 PDT
Committed r91929: <http://trac.webkit.org/changeset/91929>