[Pkg-xfce-devel] Bug#856456: Bug#856456: xfce4-ter: Clipboard contents erased on child application exit (only when preference is copy on select)

Chris Tillman toff.tillman at gmail.com
Thu Mar 2 17:41:14 UTC 2017


On Thu, Mar 2, 2017 at 10:06 PM, Yves-Alexis Perez <corsac at debian.org>
wrote:

> On Thu, 2017-03-02 at 18:06 +1300, Chris Tillman wrote:
> > Thank you for the response.
>
> Please leave the bug on CC.
> >
> > It does work differently for me, if I turn the option off. Then I use
> > Ctrl-Shift C to copy, and that copy persists after exiting the program,
> so
> > it can be pasted later; rather than the text which was copied by just
> > highlighting with the option on, which disappears on exit. They seem to
> be
> > different mechanisms.
>
> Actually you're right, there's something more fishy. Assuming you're
> running
> Xfce, you already run a clipboard manager inside xfsettingsd anyway.
>
> On Linux/Unixes there are two clipboards: the X selection clipboard
> (select/middle click), and the GTK clipboard (ctrl-C/ctrl-V or, in
> terminals
> shift-ctrl-C/shift-ctrl-V). They are usually not persistent (if you
> unselect
> or quit the application they're gone), thus the need for a clipboard
> manager
> to handle persistence.
>
> In your case I have the feeling that when the application is quit, the
> selection is actually emptied, and it is then propagated to the GTK
> clipboard.
>
> I'll forward this upstream so they can have a look.
>
> Regards,
> --
> Yves-Alexis


Ah, that would make sense. I wasn't aware there were two different ways of
copying using the 2 different subsystems.

-- 
Chris Tillman
Developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20170303/61d8d057/attachment.html>


More information about the Pkg-xfce-devel mailing list