-
Notifications
You must be signed in to change notification settings - Fork 453
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
[Wayland] Failed to send all clipoard data to XWayland window #2233
Comments
Similar problem with Krita. Seem that it could be a problem with XWayland integration. Not sure if I can fix that in CopyQ. |
All works if I pass the image data to
There is some problem passing the data via pipe (it gets interrupted after 64k is written - buffer size?):
|
I checked the how wl-copy implements sending the data and it seems CopyQ is missing |
Thanks for the detailed report. I will release the fix in the next version. |
Describe the bug
When trying to paste large images, copyq shows a warning after pasting the first
65536
(2^16) bytesTo Reproduce
Steps to reproduce the behavior:
Expected behavior
The full image is pasted like when copying straigh from source to the XWayland program.
Screenshots
Demonstration.
https://user-images.githubusercontent.com/32853531/212791020-7f8a2788-5937-4cab-98f2-9748a086e9fe.mp4
copyq log
env
Version, OS and Environment
Additional context
This issue does not occur when using QT_QPA_PLATFORM=xbc or when pasting into wayland native programs.
I tried an online image editor on ungoogled-chromium under XWayland and native to deduce the above.
However due to #2224 using this workaround under wayland is undesirable.
The text was updated successfully, but these errors were encountered: