[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 13:11:54 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=759626
--- Comment #7 from Jonas Ådahl <jadahl at gmail.com> ---
(In reply to Matthias Clasen from comment #5)
> (In reply to Michael Catanzaro from comment #4)
> > (In reply to Jonas Ådahl from comment #3)
> > > Why would there be a need for a new request? Is it for making the client
> > > control what selections would be more "persistent" than others or something?
> > > Otherwise, it should work already, the way same clipboard.c in weston works.
> >
> > Oooh, didn't know about this.
> >
> > Yeah, it's clearly not necessary if we store selection data automatically...
> > my mind jumped to it because it's required in ICCM. So we can avoid this
> > complexity.
> >
> > The original purpose of the separate store request was to avoid unnecessary
> > clipboard IPC overhead, but it's surely not relevant in 2016.
>
> We will want an explicit Store for the same reasons it is necessary in X:
> You don't want a clipboard manager eagerly collecting megabytes of data
> because you happened to hit Ctrl-A in a big spreadsheet.
FWIW, one would have to press Ctrl-A then Ctrl-C to actually set the selection
(selection here is the Wayland protocol term, not the user interface term).
So when would one do a wl_data_device.set_selection() but not a
wp_clipboard_manager.store()?
--
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/5db09b97/attachment.html>
More information about the wayland-bugs
mailing list