<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body><span class="vcard"><a href="page.cgi?id=describeuser.html&login=mcatanzaro%40gnome.org" title="Michael Catanzaro <mcatanzaro@gnome.org>"> <span class="fn">Michael Catanzaro</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Clipboard (copy-and-paste) Wayland→Wayland or Wayland→X11 from closed applications is broken"
href="https://bugzilla.gnome.org/show_bug.cgi?id=759626">bug 759626</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>mcatanzaro@gnome.org
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Clipboard (copy-and-paste) Wayland→Wayland or Wayland→X11 from closed applications is broken"
href="https://bugzilla.gnome.org/show_bug.cgi?id=759626#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Clipboard (copy-and-paste) Wayland→Wayland or Wayland→X11 from closed applications is broken"
href="https://bugzilla.gnome.org/show_bug.cgi?id=759626">bug 759626</a>
from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=mcatanzaro%40gnome.org" title="Michael Catanzaro <mcatanzaro@gnome.org>"> <span class="fn">Michael Catanzaro</span></a>
</span></b>
<pre>(In reply to Olivier Fourdan from <a href="show_bug.cgi?id=759626#c1">comment #1</a>)
<span class="quote">> Carlos, can we have data remaining after a client is gone? The selection
> data offer ends with the client, doesn't it?</span >
Yes, there is currently no equivalent of a clipboard manager in Wayland. But
there's fundamentally no reason it couldn't exist. That role would belong to
mutter, of course. We would need to add a Wayland request that says "hey
compositor, eat my clipboard now please and thank you," probably
wl_data_source::store with no parameters. I think that would probably be
upstreamable. Then, trigger that from gtk_wayland_display_store_clipboard() and
flip the return value of gdk_wayland_display_request_selection_notification().
mutter would then drain the wl_data_source (triggering wl_data_source::send in
the client) for each supported MIME type (inefficient, but that's the nature of
clipboard managers, right?), and use it to respond to any future
wl_data_offer::receive requests from other clients. We really ought to do
something along these lines sooner or later, as users do not expect clipboard
data to disappear when an app is closed.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>