You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
libvncserver always enables ExtendedClipboard encoding if client supports it. When client sends cut text, it is reported to server app via setXCutTextUTF8() callback, which is no-op by default. If app doesn't support UTF-8 cut text, it will not set this callback. As a result, client to server clipboard transfer will be completely broken.
To my knowledge, x11vnc and Gnome Remote Desktop are affected by this.
libvncserver should check whether the callback is set before enabling ExtendedClipoard encoding. This is how libvncclient does it.
The text was updated successfully, but these errors were encountered:
… support for UTF-8 cut-text
A UTF-8 capable client will usually prefer to send cut-text via ExtendedClipboard encoding once libvncserver declares support for it. If app doesn't assign a setXCutTextUTF8() callback, the default handler is used which is no-op. So client-to-server clipboard transfer will not work.
Re: LibVNC#638
gujjwal00
added a commit
to gujjwal00/libvncserver
that referenced
this issue
Nov 19, 2024
… support for UTF-8 cut-text
A UTF-8 capable client will usually prefer to send cut-text via ExtendedClipboard encoding once libvncserver declares support for it. If app doesn't assign a setXCutTextUTF8() callback, the default handler is used which is no-op. So client-to-server clipboard transfer will not work.
Re: LibVNC#638
Describe the bug
libvncserver always enables ExtendedClipboard encoding if client supports it. When client sends cut text, it is reported to server app via
setXCutTextUTF8()
callback, which is no-op by default. If app doesn't support UTF-8 cut text, it will not set this callback. As a result, client to server clipboard transfer will be completely broken.To my knowledge, x11vnc and Gnome Remote Desktop are affected by this.
libvncserver should check whether the callback is set before enabling ExtendedClipoard encoding. This is how libvncclient does it.
The text was updated successfully, but these errors were encountered: