[Wayland-bugs] [Bug 759626] Clipboard (copy-and-paste) Wayland→Wayland or Wayland→X11 from closed applications is broken
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Tue May 17 14:27:14 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=759626
--- Comment #8 from Michael Catanzaro <mcatanzaro at gnome.org> ---
(In reply to Jonas Ådahl from comment #7)
> So when would one do a wl_data_device.set_selection() but not a
> wp_clipboard_manager.store()?
The clipboard manager only ever needs data if the original client is going to
quit or crash.
If we do not tolerate data loss when the client crashes, then I suppose we
always have to do wp_clipboard_manager.store() and it serves no useful purpose.
I think it's reasonable to tolerate clipboard data loss if the application
crashes (i.e. if the application is broken). Then GTK+ need only use
wp_clipboard_manager.store() when it's quitting (and would hang around long
enough to finish that operation after hiding its window). That way we don't
wind up doing extra IPC except when really needed.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160517/779d3112/attachment-0001.html>
More information about the wayland-bugs
mailing list