Bug 135210 - [GTK] clipboard data lost on exit (redux)
Summary: [GTK] clipboard data lost on exit (redux)
Status: RESOLVED DUPLICATE of bug 180122
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 420+
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-23 14:25 PDT by Jim Nelson
Modified: 2018-01-02 12:48 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Nelson 2014-07-23 14:25:44 PDT
After closing Epiphany (being sure that the process has exited), any clipboard data I copied from Epiphany is lost.  I found an older bug about this that is marked as fixed (bug #27411), so I assume this is a regression.
Comment 1 Isaque Galdino 2018-01-02 09:48:36 PST
Ok, this might not be the same related issue, but anyway.

Wayland clipboard support [0] doesn't allow clipboard content to be used after application quits.

For X11, that issue was really fixed on [1], but removed in [0].

Bijiben uses webkit_web_view_execute_editing_command function to deal with clipboard, but it only keeps content after application quits on X11, not Wayland [2].

[0] https://bugs.webkit.org/show_bug.cgi?id=146574
[1] https://bugs.webkit.org/show_bug.cgi?id=27411
[2] https://bugzilla.gnome.org/show_bug.cgi?id=775312
Comment 2 Michael Catanzaro 2018-01-02 12:48:10 PST
I think it was broken again in X11 around the time Jim reported this bug. Anyway, yes, nowadays this is a mutter issue; to fix it, someone needs to add a clipboard manager protocol to either Wayland or xdg-shell, and implement it in mutter and GTK+. Nothing more to do here in WebKit.

*** This bug has been marked as a duplicate of bug 180122 ***