Changeset 63587 in webkit


Ignore:
Timestamp:
Jul 16, 2010 2:49:35 PM (14 years ago)
Author:
commit-queue@webkit.org
Message:

2010-07-16 Sarah Strong <sarah.e.strong@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.

Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r63586 r63587  
     12010-07-16  Sarah Strong  <sarah.e.strong@gmail.com>
     2
     3        Reviewed by Gustavo Noronha Silva.
     4
     5        [GTK] Clipboard data is lost on exit
     6        https://bugs.webkit.org/show_bug.cgi?id=27411
     7
     8        No new tests. To manually test the bug fixed by this patch:
     9        1) Open an application that uses a webkit webview on a GNOME-based system
     10        2) Copy some text from that application
     11        3) Optional: paste it to another application. This should work properly with and without this patch.
     12        4) Exit the application completely.
     13        5) Paste:
     14                  Without this patch, you cannot because your clipboard is empty.
     15                  With this patch, pasting succeeds.
     16        I have not included an automated test because of the difficulty of testing behaviour after application exit.
     17
    1182010-07-16  Kent Tamura  <tkent@chromium.org>
    219
  • trunk/WebCore/platform/gtk/PasteboardHelper.cpp

    r63078 r63587  
    297297        gtk_clipboard_set_with_data(clipboard, table, numberOfTargets,
    298298            getClipboardContentsCallback, clearClipboardContentsCallback, callback);
     299        gtk_clipboard_set_can_store(clipboard, 0, 0);
    299300
    300301        settingClipboardDataObject = 0;
Note: See TracChangeset for help on using the changeset viewer.