Bug 135210

Summary: [GTK] clipboard data lost on exit (redux)
Product: WebKit Reporter: Jim Nelson <jim>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: adam, bugs-noreply, igaldino, mcatanzaro
Priority: P2    
Version: 420+   
Hardware: Unspecified   
OS: Unspecified   

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 ***