Bug 39827 - [GTK] Text copied from a WebView cannot be pasted into gnome-terminal
Summary: [GTK] Text copied from a WebView cannot be pasted into gnome-terminal
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-27 04:18 PDT by Martin Robinson
Modified: 2010-05-31 10:32 PDT (History)
0 users

See Also:


Attachments
Patch for this issue (16.38 KB, patch)
2010-05-27 04:24 PDT, Martin Robinson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Robinson 2010-05-27 04:18:36 PDT
It seems that code in PasteboardGtk.cpp is advertising uri-list and image targets when they weren't available. The clipboard callback answered the request for uri-list data by filling the GtkSelectionData object with plain text data. I will attach a patch which simply uses the new clipboard code in PasteboardHelperGtk.cpp for all clipboard operations.
Comment 1 Martin Robinson 2010-05-27 04:24:30 PDT
Created attachment 57220 [details]
Patch for this issue
Comment 2 Gustavo Noronha (kov) 2010-05-31 08:13:13 PDT
Comment on attachment 57220 [details]
Patch for this issue

Keep rocking.
Comment 3 Martin Robinson 2010-05-31 10:31:28 PDT
Committed r60447: <http://trac.webkit.org/changeset/60447>