Skip to content

Can't copy files in some programs unless history is empty (VSCode, VirtualBox...)

Recently noticed that I couldn't copy files on Visual Studio Code since I upgraded xfce4-clipman-plugin to 1.6.4.

After a bisect I found that this behavior is produced by this commit: eab4beac

How to reproduce on VSCode:

  • Install Visual Studio Code or VSCodium / Code - OSS
  • Open a folder on VSCode. Files are shown on built-in file fxplorer.
  • Clear clipman history.
  • Copy and paste any file in VSCode file explorer. It should work.
  • Now copy some text.
  • Copy and paste any file in VSCode file explorer. It won't work.

Same happens when copying files on VirtualBox guests (when clipboard sharing is enabled), so I guess that there are more programs affected.

Edited by Julio