clip
clip copied to clipboard
Copied text cannot be pasted to Xed text editor immediately
I didn't test it yet, but it was reported that the text copied from a program using the clip library, cannot be pasted on the Xed text editor immediately (the text is copied when the program is closed).
Hey @dacap,
First of all, thank you for the great work! One of my users is currently experiencing the same issue, do you have any idea on what might be causing it? So far, what I can tell is that:
- The application hangs (Xed, Thunderbird and others) if the clipboard is copied with
clip
, and the operation takes multiple seconds - If we use the
xclip
command line utility instead, the clipboard operation works instantaneously
My guess is that for certain applications, some lock contention issue is taking place and that prevents clip
from working correctly...
Given that xclip
is not suffering from this issue, we might take inspiration from it to understand the underlying cause. What you think?
Hi @federico-terzi, I'll take this issue next month with more free time, I'll try to debug the Xed
text editor and some clip
example to check where everything hangs.
@dacap Thanks! I'll make sure to update the issue if I discover something new :)
Hi @federico-terzi, I have just pushed a fix to the main branch (4dee1eadd6ca178e4692d757cf2bc96c6dddec2b) that might be related to this issue in case that you want to give it a try.
Closing this as it looks fixed (tested with xed on WSL).