Comments (9)
@aweinstock314 awesome to see this fixed with the recent PRs ! Thanks π
from rust-clipboard.
I wasn't able to reproduce this issue on Debian8 with XFCE (either with https://github.com/conradkleinespel/rust-clipboard-issue or embedded in Servo), it works in both debug and release mode for me.
Specifically, I've tested (with each of rust-clipboard-issue's builds running in the background):
- CTRL-V in mousepad (the XFCE built in text editor)
- middle click in xterm (with "Select to clipboard" enabled in xterm via CTRL-middleclick)
- Servo (pasting into the textbox on './mach run -r https://wikipedia.org')
I've also tried a few pasting into mousepad/servo/xterm under similar conditions with text copied in servo via CTRL-C.
Could you share more details of your setup/which programs you've tried pasting into?
from rust-clipboard.
Thanks for taking the time to test this @aweinstock314. I will test again shortly and get back on this thread with more information about my setup.
from rust-clipboard.
@aweinstock314 I just tested again, this time on Ubuntu 16.04. Seems to work fine in release mode too. Maybe this was just an issue with my specific Arch setup. Anyway, this seems to rule out rust-clipboard itself being the issue.
Thanks again for taking the time to test this.
from rust-clipboard.
I've run into this problem on Arch Linux as well. Pasting content from other programs works fine in release mode, but copying (essentially, calling set_contents
) doesn't work for me. π
from rust-clipboard.
@jmacdonald I'm having the same problem on Ubuntu 16.04 now again. So I'm re-opening in case anyone else has more information about this.
from rust-clipboard.
Even in debug mode I'm noticing strange behaviour:
- Copy some text to the clipboard.
- Paste text. This seems fine.
- Copy another bit of text.
- Paste text. The first bit of text (from step 1) is pasted.
- Paste text again. The second bit of text (from step 3) is pasted.
It's almost as if the clipboard is behaving as a stack (albeit inconsistently). For what it's worth, xclip
works fine on this system (and its copied content pastes correctly through rust-clipboard
).
from rust-clipboard.
I too suffer from this bug using KDE Neon (based on Ubuntu 16.04).
If I compile in --release what I send to the clipboard using .set_contents( ) doesn't get caught by my systems clipboard manager, however it seems like .get_contents() gets the updated result.
If I compile in cargo's debug-profile however the updated clipboard gets caught by my systems clipboard manager.
Strange, and likely to present a problem to me later on but for now I can just stick with the debug profile.
from rust-clipboard.
I've run into this bug too, and as far as I can tell it only affects pasting in qt-based programs. I suggest using e.g. kate to test this.
from rust-clipboard.
Related Issues (20)
- Handling trailing \u{0} from the [Windows] clipboard HOT 4
- Error: load selection timeout HOT 2
- Use enums instead of Box<Error> for failure HOT 8
- Is this repo still maintained? HOT 1
- Please publish 5.0 HOT 1
- Clipboard is cleared when the process exits on Linux HOT 8
- Getting Err value on provider.get_contents().unwrap() HOT 1
- Only installing xorg-dev does not fetch all dependencies HOT 4
- How to automatically output snippets to the cursorοΌ HOT 1
- clipboard not compiling on Travis CI linux targets
- NSPasteboard#generalPasteboard returned null when called from macOS launchd Launch Daemon HOT 1
- Thank you π
- test failed in copr HOT 1
- Incorrect behaviour on Linux with two clipboards HOT 1
- set_contents doesnt work for me HOT 3
- Can't run example on FreeBSD HOT 2
- Security advisory: please release with upgraded `xcb` dependencies
- Please clarify maintenance status HOT 4
- Dependency issue on official docker rust image
- Shouldn't failure conditions return `Err`?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust-clipboard.