VirtualBox

Opened 2 years ago

#20825 new defect

copy/paste failure from Win 10 host to Linux guest with VirtualBox 6.1.32

Reported by: HaroldFinch Owned by:
Component: clipboard Version: VirtualBox 6.1.32
Keywords: copy paste Cc:
Guest type: Linux Host type: Windows

Description

I am running the latest (fully patched) version of Windows 10 For Workstations as my host OS.

On that host OS, I have recently installed the latest VirtualBox 6.1.32 and its Guest Additions.

Running that VirtualBox, I have created a virtual machine and installed the latest Xubuntu 21.10 as a guest OS.

I have observed a bizarre shared clipboard problem: if I copy something from TextPad (a Windows text editor program, running on the host OS) and paste it into the guest (Xubuntu) OS, the first time I do this the paste works. But if I try it a second time (copy some different text in TextPad, try to paste it into Xubuntu), what gets pasted is the contents of the first copy from TextPad. It is as if the 2nd copy is not seen by Xubuntu. But that 2nd copy is seen by other Windows applications: I can do a paste into many other applications and they see the 2nd copied text just fine.

Another weird fact: if I then copy something from Xubuntu and paste it back into TextPad, and then do a copy of something new in TextPad (besides what I copied before), then it now successfully pastes into Xubuntu.

I have only seen this issue between TextPad and Xubuntu. If, instead, I copy from, say, Notepad++ and paste into Xubuntu, every copy and paste works just fine.

I have been running both TextPad and VirtualBox for many years, and this copy paste bug did NOT exist before ~14 months ago.

I first noticed this issue ~14 months ago, when my Win 10 box was running VirtualBox 6.1.16, and made this forum posting: https://forums.virtualbox.org/viewtopic.php?f=6&t=101174.

Several people replied because others are seeing similar problems.

When I recently updated to the latest VirtualBox 6.1.32 and installed the latest Xubuntu, I decided to revisit this bug once more. I made this recent posting to that forum thread: https://forums.virtualbox.org/viewtopic.php?f=6&t=101174&start=30#p513218

Forum user fth0, a very helpful responder, looked at my log files and did not seem to see any issue. (His suggestions about OneDrive and ScanSnap I have a very hard time imagining how they could be the culprit.)

He suggested that I add a bug report, so here I am. I am attaching all the files associated with my last forum posting.

Attachments (5)

1_log commands_executed.png (47.5 KB ) - added by HaroldFinch 2 years ago.
commands executed in Xubuntu guest OS to log clipboard events
2_two_pastes_from_TextPad.png (47.8 KB ) - added by HaroldFinch 2 years ago.
what happens when copy from TextPad in Windows host OS then paste into Xubuntu guest OS: first paste works, second paste fails to paste the updated text
3_two_pastes_from_NotePad++.png (76.2 KB ) - added by HaroldFinch 2 years ago.
what happens when copy from Notepad++ in Windows host OS then paste into Xubuntu guest OS: both pastes work
clipboard.log (1.3 KB ) - added by HaroldFinch 2 years ago.
the clipboard.log file
VBox.zip (35.9 KB ) - added by HaroldFinch 2 years ago.
VBox.log file after putting it into a .zip archive

Download all attachments as: .zip

Change History (5)

by HaroldFinch, 2 years ago

Attachment: 1_log commands_executed.png added

commands executed in Xubuntu guest OS to log clipboard events

by HaroldFinch, 2 years ago

what happens when copy from TextPad in Windows host OS then paste into Xubuntu guest OS: first paste works, second paste fails to paste the updated text

by HaroldFinch, 2 years ago

what happens when copy from Notepad++ in Windows host OS then paste into Xubuntu guest OS: both pastes work

by HaroldFinch, 2 years ago

Attachment: clipboard.log added

the clipboard.log file

by HaroldFinch, 2 years ago

Attachment: VBox.zip added

VBox.log file after putting it into a .zip archive

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use