User forums > Using Code::Blocks

C::B in VirtualBox on Linux - can't copy/paste to Windows

(1/2) > >>

jimfred:
I'm running C::B 12.11 on Linux in VirtualBox. I'm having troubles copying text to the VirtualBox Windows host. As a work-around, I copy from C::B into gedit and then into Windows. Since the clipboard from gedit (and other apps) to Windows works, it implies that it's not a VirtualBox problem. The problem might be text formatting and clipboarding through gedit might be converting the clipboard contents to plain text. Is there a work-around to copy plain text from C::B? I try pasting plain text but the problem persists. I also tried pasting into C::B on the Windows side but the problem persists.

ToApolytoXaos:
Excuse me, but...what does it has to do with Code::Blocks? Your issue is obviously something that has to do with VirtualBox, not with Code::Blocks.

Do you have "Bidirectional" option enabled from your Guest window for sharing your clipboard? If not, there's your problem.

I'm sure though admins will lock this topic very soon (lol).

oBFusCATed:

--- Quote from: ToApolytoXaos on June 17, 2013, 07:57:03 pm ---I'm sure though admins will lock this topic very soon (lol).

--- End quote ---
I'm not so sure...  ::)

@jimfred: One question: Does copy/paste works correctly in Scite or any editor using Scintilla?

jimfred:
Yes - I just tried SciTE and can copy from SciTE-on-Linux-on-VirtualBox to Windows.

I also tried copying from a textbox in a Open File dialog in C::B and that works! Also works copying from a C::B Properties dialog to Windows and that works.

So the problem seems to be isolated to C::B editor text. I tried a .txt file, without syntax hi-lighting, and the problem persists.

Regarding a previous question about "Bidirectional" - yes, it is turned on and works with other apps. I doubt I'd get any assistance from VirtualBox forums since the problem seems to be isolated to the C::B editor.

-Jim


oBFusCATed:
Morten: Do you know if this could be caused by our modifications in ScintillaWX::CopyToClipboard ?

Navigation

[0] Message Index

[#] Next page

Go to full version