https://bugzilla.gnome.org/show_bug.cgi?id=759626

--- Comment #8 from Michael Catanzaro <[email protected]> ---
(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.
_______________________________________________
wayland-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to