-
-
Notifications
You must be signed in to change notification settings - Fork 897
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
Invalid data when calling recieve
using wlr-data-control-unstable-v1 to retrieve clipboard selections
#6464
Comments
recieve
using wlr-data-control-unstable-v1 to retrieve clipboard eventsrecieve
using wlr-data-control-unstable-v1 to retrieve clipboard selections
patch.txt |
unfortunately not. same issue :(
|
I'm seeing this error in the debug logs that might be related?
I know this same library works on sway so I'm not sure why its having trouble finding a data_device. |
Not sure if my issue is related, but my clipboard broke for vscodium after the update, everything else seems to work fine. Related or shall a post a separate issue? |
possibly related |
Okay. It's kinda strange... I've tested all the other applications I use regularly, and they all work fine, its only vscodium. And I can paste to vscodium from other applications, but if I copy within vscodium it wipes the clipboard. |
I've used brave-browser, vencord, signal-desktop, and gimp to copy images all with the same issue. Edit: Interestingly, copying buffer using nomacs works as intended vs all the other apps I've used. |
I'll just pin it under #6247 then. XWayland's clipboard is buggy and incremental copying is not supported so it's very likely it's that. likely "wontfix", please switch to using wayland. all of the above apps can use native wayland. |
I see, that's rather unfortunate. If that's the case then I have another bug to report which I will open an issue for lol. brave-browser running directly under wayland has a lot of very weird artifacts and issues under Hyprland that I have not seen using sway. Here's a short vid demonstrating some of them I've encountered in just the small bit of testing I've done. I'm not sure that all the apps I use have native wayland alternatives so It sounds like I may need to move back to sway until some of these things get fixed or a solution is found :/ Edit: issue created at #6524 |
Switched vscodium over to wayland and it fixed the clipboard, so seems like your right. Oh damn, i need chatterino for my stream, and it doesnt work with wayland currently, hopefully it can be reopened at a later date; even outside of my specific use case, being able to use legacy x11 applications in the future would be useful. |
Bug or Regression?
Bug
System Info and Version
System/Version info
Description
Hyprland's Implementation of the wlr-data-control-unstable-v1 protocol handles reporting selections for images improperly. On Hyprland, when using a script to listen for non-text clipboard events, the protocol returns a 4byte array which seems to be some sort of memory-address rather than the contents of the image as expected.
Here's an example of a script running on hyprland after copying a few images:
The contents of
context: File([...])
should contain the entire contents of the image which is the behavior on other compositors like sway.How to reproduce
Crash reports, logs, images, videos
No response
The text was updated successfully, but these errors were encountered: