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

Error: load selection timeout #54

Open
krzystof opened this issue Apr 12, 2018 · 2 comments
Open

Error: load selection timeout #54

krzystof opened this issue Apr 12, 2018 · 2 comments

Comments

@krzystof
Copy link

Hey,
I have a "load selection timeout" error when doing ctx.get_contents(). I am sorry I don't get much output, but happy to provide more (I am new to Rust).
I am using ubuntu 17.10, rust 1.23.
I could not find anything related to that on the issues.
Let me know what I can do to give you more information.
Cheers

@brownjohnf
Copy link

I'm not sure exactly how you're using rust-clipboard, but in X11 clipboard contents are not actually stored in the clipboard. Applications make the content available to the clipboard. If the clipboard is empty, or the most recent application (process) to have provided clipboard contents has exited, the clipboard will be empty, and you'll see this timeout error (at least I do, when using rust-clipboard).

You can verify this by copying something into the clipboard prior to running your code.

@brownjohnf
Copy link

See #61. That's how I wound up here :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants