[Pkg-xfce-devel] Bug#856456: Bug#856456: xfce4-ter: Clipboard contents erased on child application exit (only when preference is copy on select)
corsac at debian.org
Thu Mar 2 09:06:40 UTC 2017
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: This is a digitally signed message part
More information about the Pkg-xfce-devel