[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

commit-queue at webkit.org commit-queue at webkit.org
Wed Dec 22 11:17:37 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 0544216e543f8b98821315d5da7c0a894a48dbb3
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Jul 16 21:49:35 2010 +0000

    2010-07-16  Sarah Strong  <sarah.e.strong at gmail.com>
    
            Reviewed by Gustavo Noronha Silva.
    
            [GTK] Clipboard data is lost on exit
            https://bugs.webkit.org/show_bug.cgi?id=27411
    
            No new tests. To manually test the bug fixed by this patch:
            1) Open an application that uses a webkit webview on a GNOME-based system
            2) Copy some text from that application
            3) Optional: paste it to another application. This should work properly with and without this patch.
            4) Exit the application completely.
            5) Paste:
                      Without this patch, you cannot because your clipboard is empty.
                      With this patch, pasting succeeds.
            I have not included an automated test because of the difficulty of testing behaviour after application exit.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63587 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index df6491f..9a141ad 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,20 @@
+2010-07-16  Sarah Strong  <sarah.e.strong at gmail.com>
+
+        Reviewed by Gustavo Noronha Silva.
+
+        [GTK] Clipboard data is lost on exit
+        https://bugs.webkit.org/show_bug.cgi?id=27411
+
+        No new tests. To manually test the bug fixed by this patch:
+        1) Open an application that uses a webkit webview on a GNOME-based system
+        2) Copy some text from that application
+        3) Optional: paste it to another application. This should work properly with and without this patch.
+        4) Exit the application completely.
+        5) Paste:
+                  Without this patch, you cannot because your clipboard is empty.
+                  With this patch, pasting succeeds.
+        I have not included an automated test because of the difficulty of testing behaviour after application exit.
+
 2010-07-16  Kent Tamura  <tkent at chromium.org>
 
         Reviewed by Darin Fisher.
diff --git a/WebCore/platform/gtk/PasteboardHelper.cpp b/WebCore/platform/gtk/PasteboardHelper.cpp
index 111fb4e..2babe91 100644
--- a/WebCore/platform/gtk/PasteboardHelper.cpp
+++ b/WebCore/platform/gtk/PasteboardHelper.cpp
@@ -296,6 +296,7 @@ void PasteboardHelper::writeClipboardContents(GtkClipboard* clipboard, GClosure*
 
         gtk_clipboard_set_with_data(clipboard, table, numberOfTargets,
             getClipboardContentsCallback, clearClipboardContentsCallback, callback);
+        gtk_clipboard_set_can_store(clipboard, 0, 0);
 
         settingClipboardDataObject = 0;
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list