Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copied text cannot be pasted to Xed text editor immediately #27

Closed
dacap opened this issue Jul 1, 2019 · 5 comments
Closed

Copied text cannot be pasted to Xed text editor immediately #27

dacap opened this issue Jul 1, 2019 · 5 comments
Assignees
Labels

Comments

@dacap
Copy link
Owner

dacap commented Jul 1, 2019

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).

@dacap dacap added the bug label Jul 1, 2019
@federico-terzi
Copy link

federico-terzi commented Jan 15, 2022

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?

@dacap dacap self-assigned this Jan 16, 2022
@dacap
Copy link
Owner Author

dacap commented Jan 16, 2022

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.

@federico-terzi
Copy link

@dacap Thanks! I'll make sure to update the issue if I discover something new :)

@dacap
Copy link
Owner Author

dacap commented Oct 24, 2023

Hi @federico-terzi, I have just pushed a fix to the main branch (4dee1ea) that might be related to this issue in case that you want to give it a try.

@dacap dacap self-assigned this Oct 24, 2023
@dacap
Copy link
Owner Author

dacap commented Jan 10, 2024

Closing this as it looks fixed (tested with xed on WSL).

@dacap dacap closed this as completed Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants