-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Unable to paste from clipboard while egui application is running #2109
Comments
Pasting images is not yet supported (see #2108), but copy-pasting of text should work. Since nobody else has reported copy-paste not working on Windows, I would suggest this is something weird with your system. Look in Also: run with |
Thank you for your answer! Maybe my issue was a bit non-specific: I tried this on several computers running Windows 10 and the issue happens everywhere. |
I guess this is related to #1031 EDIT: This seems to be the issue in arboard 1Password/arboard#84 I managed to get my application to work again by reverting to commit 2b0bf82 and I'll try to get a pull request done that requests a new arboard Clipboard for each clipboard operation in egui/crates/egui-winit/src/clipboard.rs Line 112 in 041f2e6
|
Oh wow, that's an "interesting" breaking change in |
The commit that broke it should be #2067 |
Closes #2109 Since arboard 3.0 you must absolutely not hold onto `arboard::Clipbaord` longer than you are using it. See 1Password/arboard#84
Closes #2109 Since arboard 3.0 you must absolutely not hold onto `arboard::Clipbaord` longer than you are using it. See 1Password/arboard#84
Thank you for the quick fix! |
Closes emilk/egui#2109 Since arboard 3.0 you must absolutely not hold onto `arboard::Clipbaord` longer than you are using it. See 1Password/arboard#84
Describe the bug
I'm building an application based on egui (master branch).
While this application is running, I am unable to use the clipboard on Windows 10.0.19043.
If I copy text, I can not paste it.
When I take a screenshot with Win-Shift-S, I get the pop-up, even showing the screenshot, but I am unable to paste it.
If it helps, it seems the application I'm pasting into hangs for a very short time (500ms?) after Ctrl-V.
To Reproduce
Steps to reproduce the behavior:
cargo run --release -p egui_demo_app
Expected behavior
The copied content is inserted.
The text was updated successfully, but these errors were encountered: