Similar to https://github.com/microsoft/vscode/issues/54493
Steps to Reproduce:
If I use Shift and Delete, it does not freeze.
It does not matter if the directory or file are empty, it happens anyway.
It takes approximately 3-4 seconds to unfreeze.
Does this issue occur when all extensions are disabled?: Yes
More relevant information of my installation:
Version: 1.41.1
Commit: 26076a4de974ead31f97692a0d32f90d735645c0
Date: 2019-12-18T15:04:31.999Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Linux x64 4.19.99-1-MANJARO
Okay... I just went to the ArchLinux wiki article on Visual Studio Code and played with the ELECTRON_TRASH variable. Supposedly the default is gio but I think under KDE it is set to kioclient5 or kioclient.
So, the solution is to launch Visual Studio Code like this ELECTRON_TRASH=gio code, after that file/directory moves to the trash bin are instant.
To fix this for now, I have created the file ~/.config/plasma-workspace/env/electron-trash-gio.sh with the following content
export ELECTRON_TRASH=gio
I can confirm this behavior on Ubuntu 18.04.4 running plasma-desktop 5.12.x.
VSCode: 1.42.1
The workaround of @jamezrin works for me. :+1:
Confirm. On Ubuntu 18.04 + KDE 5 same issue.
Seems duplicate to #101920
Thanks to @jamezrin for solution
Version: 1.47.2
Commit: 17299e413d5590b14ab0340ea477cdd86ff13daf
Date: 2020-07-15T18:22:15.161Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.4.0-42-generic
/duplicate #101920
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.
Happy Coding!
Most helpful comment
Okay... I just went to the ArchLinux wiki article on Visual Studio Code and played with the
ELECTRON_TRASHvariable. Supposedly the default isgiobut I think under KDE it is set tokioclient5orkioclient.So, the solution is to launch Visual Studio Code like this
ELECTRON_TRASH=gio code, after that file/directory moves to the trash bin are instant.To fix this for now, I have created the file
~/.config/plasma-workspace/env/electron-trash-gio.shwith the following content