-
Notifications
You must be signed in to change notification settings - Fork 107
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
Enable wlr_data_control protocol #101
Conversation
@Drakulix what is the best way to test Wayland <-> X clipboard integration? I don't actually use any X clients. I tried |
You would have to use xclip with the You can start some terminals, text editors, browsers etc forcing them to go through Xwayland by unsetting |
First day of daily driving went fine. Experienced only a single crash 😄 |
Sounds good! Please give me a ping once this is ready for a proper review. :) |
@Drakulix I'm not planning to do any changes, unless I find some bugs. The crash I experienced today is unrelated, it's something about switching tilingmode + using fullscreen, but I'm not sure yet. I'll file a bug report, once I identify it more clearly. I still need to verify X-wayland clipboard integration, which I'm going to do sometime this week. But the PR may be considered ready for review. Although it's no rush as I'm already using it and don't care that much about when it's going to hit upstream. |
Selection sources used:
Results of manual testing (master): Results of manual testing (this PR): ✔️ xwayland clipboard -> data_control ✔️ data_control <-> data_device *behavior A - First time pressing CTRL-V inside the window works fine, then nothing happens and this being printed in logs: *behavior B - Similar to A, but we don't have this 100% working the first try, and we immediately get into the nondeterministic behavior when it sometimes work depending on how quick you are My general conclusion is: there is maybe one bug on my side related to (data_control -> xwayland primary) route. Everything else seems unrelated to this PR. There seem to be multiple bugs in |
Thanks for the detailed report and reproduction instructions, very much appreciated. |
The upstream smithay has support for this protocol now which works with any sort of direction. So this could be closed now, I guess. |
Switched to the Smithay implementation, works fine for my usecase. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Sorry this took so long, but with the new changes this is quite easy to review now. 😅
Hi sorry to necro bump this, but how can I use this, I saw this feature is behind a config |
Seems like it requires this env var to be set now Line 531 in afdb656
|
Resolves #99