VirtualBox

Opened 7 years ago

Last modified 7 years ago

#16242 new defect

MacOS Sierra host, CentOS 7 guest, VBoxClient clipboard breaks when copying rich text in guest

Reported by: tkvb Owned by:
Component: clipboard Version: VirtualBox 5.1.10
Keywords: clipboard Cc:
Guest type: Linux Host type: Mac OS X

Description

VirtualBox (on Mac host), version 5.1.10 r112026 (Qt5.6.2)

Host version Mac OS Sierra 10.12.1

All host patches up to date

CentOS 7 guest, version 7.2.1511

Guest additions installed and up to date, all guest OS patches up to date

Application running in guest: CLion 2016.3 Build #CL-163.7743.47, built on November 18, 2016 (https://www.jetbrains.com/clion/)

When copying text from CLion using Ctrl+C which seems to be copying rich text rather than plain text by default, the VBoxClient clipboard in the CentOS guest stops working. Nothing can be copied anymore between host and guest. If only plain text is copied, the clipboard works OK, but as soon as rich text is copied, the clipboard breaks completely.

The only way to fix it is to restart VBoxClient in the guest:

killall VBoxClient
VBoxClient-all

I do not expect rich text copy/paste to work correctly, but it must not take down the entire clipboard functionality in the guest and require VBoxClient to be restarted.

Attachments (1)

clipboard.log (5.2 KB ) - added by tkvb 7 years ago.
clipboard.log

Download all attachments as: .zip

Change History (9)

comment:1 by Michael Thayer, 7 years ago

It would be interesting to know if enabling extended logging in VBoxClient<1> produces any additional information. And please attach a host log file (see ticket creation guidelines<2>).

  1. https://www.virtualbox.org/wiki/X11Clipboard
  2. https://www.virtualbox.org/newticket

comment:2 by Michael Thayer, 7 years ago

You added a comment to ticket #15782. If that does seem to be the same issue after inspection we can close this ticket as a duplicate of course.

comment:3 by Michael Thayer, 7 years ago

And if you are confident with building and debugging software, you might actually want to try building your own Additions<1> to investigate yourself. I am pointing this out since I am the person most likely to be able to solve this, but I have enough higher priority tasks that I am not likely to get to it in the near future. I should be able to find a small amount of time to help you debug it yourself though.

  1. https://www.virtualbox.org/wiki/Linux%20build%20instructions

by tkvb, 7 years ago

Attachment: clipboard.log added

clipboard.log

comment:4 by tkvb, 7 years ago

Attached clipboard.log

comment:5 by Michael Thayer, 7 years ago

As I said, you should 1) attach a host log file and 2) you might get further if you build a debug version of VBoxClient on the affected guest machine and run it inside GDB. The process seems to be faulting based on the guest log file you attached.

comment:6 by philip, 7 years ago

I do feel that this and Bug #15782 are the same, but FWIW feel the content of this report (as reported by tkvb) is more useful (I reported #15782).

comment:7 by philip, 7 years ago

This bug has been confirmed by many yet is listed here as a "new defect", how do we change that? It's certainly not new :)

comment:8 by Frank Mehnert, 7 years ago

Just ignore the "status new". It gets the same attention as other tickets.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use