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

Copy-to-clipboard not working on XFCE on Ubuntu 22.10 #32

Open
alexanderkjall opened this issue Feb 20, 2023 · 0 comments
Open

Copy-to-clipboard not working on XFCE on Ubuntu 22.10 #32

alexanderkjall opened this issue Feb 20, 2023 · 0 comments

Comments

@alexanderkjall
Copy link

My project recently tried switching from https://crates.io/crates/clipboard to https://crates.io/crates/cli-clipboard and both of them use the x11-clipboard crate.

The problem I see is that the set_content() function doesn't work on x11, this method: https://docs.rs/cli-clipboard/0.4.0/src/cli_clipboard/lib.rs.html#141-145

I did a bisect, and that gave this result:

267572e1a95fa59e3f326abd1269a3ba909a0254 is the first bad commit
commit 267572e1a95fa59e3f326abd1269a3ba909a0254
Author: quininer <[email protected]>
Date:   Tue May 18 23:56:38 2021 +0800

    Fix window leak

 src/run.rs           | 14 ++++++++++----
 tests/window-leak.rs | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+), 4 deletions(-)
 create mode 100644 tests/window-leak.rs

I tried looking at the code for that, but since I'm not familiar with the domain I didn't really see anything.

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

1 participant