-
Notifications
You must be signed in to change notification settings - Fork 24
Wayland clipboard sync (xvfb -> Wayland) #225
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
base: master
Are you sure you want to change the base?
Conversation
|
🚧 Test build enqueued. |
|
🚧 Started test build. |
|
🚧 Test build enqueued. |
|
❌ Test build was cancelled. Help
|
|
🚧 Started test build. |
|
✅ Test build succeeded. To test this build, install it from the testing repository: Built for aarch64 and x86_64 architectures. Warnings can be promoted to errors in the future. Please try to resolve them.
|
|
🚧 Test build enqueued. |
|
🚧 Started test build. |
|
✅ Test build succeeded. To test this build, install it from the testing repository: Built for aarch64 and x86_64 architectures. Warnings can be promoted to errors in the future. Please try to resolve them.
|
|
🚧 Test build enqueued. |
|
🚧 Started test build. |
|
✅ Test build succeeded. To test this build, install it from the testing repository: Built for aarch64 and x86_64 architectures. Warnings can be promoted to errors in the future. Please try to resolve them.
|
|
A window titled “wl-clipboard” may appear unexpectedly, which can cause focus issues (see bugaevc/wl-clipboard#268).
|
|
Unfortunately, QQ only supports proc = CompletedProcess(args=['xclip', '-selection', 'clipboard', '-out', '-target', 'TARGETS'], returncode=0, stdout='QQ_Unicode_RichEdit_Format\nx-special/gnome-copied-files\n', stderr='') |
|
Nesting xvfb, clipsync and zypak-wrapper together just for fixing QQ's misbehaving on Wayland, what a horrible thing I think. As for my personal opinion, I prefer doing what we have done in https://github.com/flathub/com.qq.QQ/blob/master/patch/rename.cpp, we inject something in QQ's native code to workaround this problem. But I do not do any research about it, hope we can find correct hook point if we have to do so. If we need to inject Electron part, there has already been a tool: https://github.com/ShellWen/v8_killer Using xvfb increases memory usage for about 40MB. It is acceptable here compared to QQ itself's memory usage. P.S.: If we have no choice, current implementation is also acceptable. |
Note: clipsync.py is generated by LLM.
Closes: #218.