Page 1 of 1

Copy and Paste from Guest to Host Email client problem

Posted: 12. Oct 2009, 15:34
by macusereric
Hi all,

I'm wondering if anyone has run into this problem - I've seen it both with Ubuntu 9.0.4 Client and Solaris 10 U7 Client
(not tested it with Windows yet).

If you select some text in the Guest OS, and copy it to the clipboard, then paste that text into a
Thunderbird message you are composing, any text after the text you have pasted in will be lost
when you send the message. (This is highly annoying).

I've seen this with many previous releases of Virtual Box (2.x through to the current release 3.0.8)
running on both Mac OS X Leopard and Snow Leopard.

I've always ensured that the latest Guest Additions has been installed on the OS's and this issue
is highly repeatable.

I'm using Thunderbird 2.0.0.23

I only see this copy and paste issue when copying from the Guest Clipboard to the Host Thunderbird client.
(Nothing else seems to trigger this - copy and paste from other applications to Thunderbird works fine).

I'm quite happy to help try and debug this issue.

Re: Copy and Paste from Guest to Host Email client problem

Posted: 12. Oct 2009, 17:02
by Perryg
I just tried this and it works fine for me. Ubuntu guest copy and paste to Windows host in T-Bird. Sent message to myself. All text after the paste still shows up.
I will test this later on a Linux host to Windows guest.
T-Bird version is the same as you have. VBox Version 3.0.8, Ubuntu version 9.10, Windows Vista SB

Re: Copy and Paste from Guest to Host Email client problem

Posted: 14. Oct 2009, 21:09
by mcb9
I've encountered the same problem. I'm using Mac OS 10.6.1 as the host and a Windows XP Professional client with the Guest Additions installed.

When I copy text inside the client and paste it in the host, a NULL character is appended to the text. This seems to be independent of the client and host apps involved.

In many cases, the NULL character goes unnoticed, but it has a disastrous effect in Thunderbird. Thunderbird truncates the message at the NULL character and all text after it is lost.

Re: Copy and Paste from Guest to Host Email client problem

Posted: 14. Oct 2009, 23:13
by Perryg
Just tried with Ubuntu host and Xubuntu guest.

It must be something that is specific to MAC.

If you can reproduce this I would look at bugtracker (link is below my post) and if a ticket does not already exist I would create one.
Be specific and attach this link in the post and don't forget your log files. They are really touchy about that.

Re: Copy and Paste from Guest to Host Email client problem

Posted: 16. Oct 2009, 10:57
by zephyrus
I have had the same problem with vbox 3.0.8 under Windows XP host
and linux GUEST.

When I copy something in the host win XP, say a web page shown in firefox,
and paste it into Emacs running under client linux inside VBox
I see ^@ (NUL) character there.
Emacs is clever enough to handle such binary code all right, but
I have to manually delete it.

Incidently, I noticed a reverese problem (copying from guest to host)
in the following ticket.
http://www.virtualbox.org/ticket/4712

Maybe we need to fix similar code relevant to host->guest copy?

Use of emacs as the target of copying may be important since
many applications don't show such NUL at the end. (Many applications simply
take it as the terminator character [and ignoring the length information passed].

TIA

(Sorry if I accicently submit a short post previously by mistake.)