Opened 20 months ago
Last modified 20 months ago
#21815 new defect
Clipboard Bi-Directional Copy-Paste Issue in Linux Host and Windows Guest
Reported by: | palytoxin | Owned by: | |
---|---|---|---|
Component: | clipboard | Version: | VirtualBox-7.0.10 |
Keywords: | Cc: | ||
Guest type: | Windows | Host type: | Linux |
Description
Hello VBox Support Team,
My host:
~ » inxi 15:49:46 CPU: quad core Intel Core i5-8259U (-MT MCP-) speed/min/max: 1862/400/3800 MHz Kernel: 6.1.44-1-MANJARO x86_64 Up: 52m Mem: 7.29/31.09 GiB (23.4%) Storage: 715.41 GiB (25.4% used) Procs: 286 Shell: fish inxi: 3.3.29
guest:
windows 10 bussiness / win10 pro ... etc. / win8 any version
VirtualBox version:
VirtualBox Graphical User Interface Version 7.0.10 r158379 Oracle_VM_VirtualBox_Extension_Pack-7.0.10.vbox-extpack
I've posted a message on the forum, and fellow users there have suggested submitting a bug report. https://forums.virtualbox.org/viewtopic.php?p=540191
I trust this message finds you well. I am writing to bring to your attention an issue I've been encountering while using VirtualBox. My setup involves a Linux host system and a Windows guest system running within VirtualBox. The issue I am facing revolves around the bi-directional copy-paste functionality of the clipboard.
I have ensured that the bi-directional clipboard feature is enabled in the VirtualBox settings for the Windows guest machine. However, I consistently encounter difficulties with the copy-paste functionality between the host and guest systems. Specifically, I often encounter situations where copying content from the host and pasting it into the guest (and vice versa) does not perform as expected.
I'd like to provide additional context about this issue. During the guest's runtime, the bi-directional copy-paste feature works initially, but sometimes when attempting to copy images or text, I receive errors like
Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'UTF8_STRING' for X11 (idxFmtX11=1, fmtX11=3, atomTarget='UTF8_STRING') failed, rc=VERR_TIMEOUT. 00:55:23.488611 VMMDev: Guest Log: VBOXNP: DLL unloaded. 00:55:47.068990 Shared Clipboard: Error reading host clipboard data from X11, rc=VERR_TIMEOUT 00:55:47.069040 Shared Clipboard: Reading host clipboard data failed with VERR_TIMEOUT 00:55:47.069111 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_TIMEOUT 00:55:47.069145 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'UTF8_STRING' for X11 (idxFmtX11=1, fmtX11=3, atomTarget='UTF8_STRING') failed, rc=VERR_TIMEOUT 00:55:47.069157 Shared Clipboard: Converting X11 format 'UTF8_STRING' (idxFmtX11=1) to VBox format 0x1 failed, rc=VERR_NO_DATA 00:55:47.069713 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND 00:56:17.070679 Shared Clipboard: Error reading host clipboard data from X11, rc=VERR_TIMEOUT 00:56:17.070712 Shared Clipboard: Reading host clipboard data failed with VERR_TIMEOUT 00:56:17.070859 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_TIMEOUT 00:56:17.070881 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'UTF8_STRING' for X11 (idxFmtX11=1, fmtX11=3, atomTarget='UTF8_STRING') failed, rc=VERR_TIMEOUT 00:56:17.070894 Shared Clipboard: Converting X11 format 'UTF8_STRING' (idxFmtX11=1) to VBox format 0x1 failed, rc=VERR_NO_DATA 00:56:17.071103 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND 00:56:47.071552 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_TIMEOUT 00:56:47.071588 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'UTF8_STRING' for X11 (idxFmtX11=1, fmtX11=3, atomTarget='UTF8_STRING') failed, rc=VERR_TIMEOUT 00:57:03.761143 Shared Clipboard: Mode: Off 00:57:17.072050 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_TIMEOUT 00:57:17.072102 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'UTF8_STRING' for X11 (idxFmtX11=1, fmtX11=3, atomTarget='UTF8_STRING') failed, rc=VERR_TIMEOUT 00:57:47.072479 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_TIMEOUT 00:57:47.072517 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'UTF8_STRING' for X11 (idxFmtX11=1, fmtX11=3, atomTarget='UTF8_STRING') failed, rc=VERR_TIMEOUT 00:58:17.072910 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_TIMEOUT 00:58:17.072951 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'UTF8_STRING' for X11 (idxFmtX11=1, fmtX11=3, atomTarget='UTF8_STRING') failed, rc=VERR_TIMEOUT 00:58:47.073262 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_TIMEOUT 00:58:47.073303 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'UTF8_STRING' for X11 (idxFmtX11=1, fmtX11=3, atomTarget='UTF8_STRING') failed, rc=VERR_TIMEOUT 00:59:17.073801 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_TIMEOUT 00:59:17.073860 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'UTF8_STRING' for X11 (idxFmtX11=1, fmtX11=3, atomTarget='UTF8_STRING') failed, rc=VERR_TIMEOUT 00:59:17.073878 Shared Clipboard: Converting X11 format 'UTF8_STRING' (idxFmtX11=1) to VBox format 0x1 failed, rc=VERR_NO_DATA 00:59:17.073915 Shared Clipboard: Error reading host clipboard data from X11, rc=VERR_TIMEOUT 00:59:17.073930 Shared Clipboard: Reading host clipboard data failed with VERR_TIMEOUT
Now I can trigger this bug 100%, just like in the posts of the forum thread I sent.
https://forums.virtualbox.org/viewtopic.php?p=540141#p540141
Selecting 'Copy' in the chat software image tweet will cause the issue. It even leads to the guest becoming unresponsive during shutdown.
I have verified that both the guest additions and the VirtualBox extension pack are properly installed in the Windows guest machine. Additionally, I have attempted to restart the guest machine and the host system to see if the issue would resolve itself, but unfortunately, the problem persists.
As a software developer/user, efficient copy-paste functionality between the host and guest systems is crucial for my workflow, and this issue has been causing a notable disruption.
Could you please provide assistance in diagnosing and resolving this matter? I would greatly appreciate any guidance or troubleshooting steps you can offer. If there are any logs or diagnostic information that would be helpful for your investigation, please let me know how I can provide them.
Thank you for your attention to this matter. I look forward to your prompt response and resolution.
Best regards
vBox.log