[Webkit-unassigned] [Bug 27411] New: [GTK] Clipboard data is lost on exit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jul 18 04:16:15 PDT 2009


           Summary: [GTK] Clipboard data is lost on exit
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ickard at gmail.com

In gtk applications, one can use the clipboard in different ways: either just
using the two convenience functions (if you will) gtk_clipboard_set_text() and
gtk_clipboard_set_image(). When using these, clipboard data persists when one
exits a program( this is due to gtk automatically calling
gtk_clipboard_set_can_store() when one is calling these. If
gtk_clipboard_set_can_store() is set properly, clipboard data can be stored to
the freedesktop clipboard manager
(http://www.freedesktop.org/wiki/Specifications/clipboard-manager-spec) which
gnome implements. The transfer to the clipboard will happen once
gtk_clipboard_store() is called, or when the application main loop exits.

Steps to reproduce:
1. open a webkit-gtk browser( I used epiphany)
2. copy some text to the clipboard (not selection clipboard)
3. open gedit, paste it there (this should work)
4. quit epiphany, try to paste again (this does not work)

This bug affects a couple of programs in the linux desktop (for instance
firefox), so to see the clipboard manager working as intended try to use for
instance gedit in a gnome environment (if you quit gedit, its clipboard data
should persist).

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list