Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select state is not correct when remove directories with multi select in file explorer #119464

Closed
wayou opened this issue Mar 22, 2021 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) file-explorer Explorer widget issues

Comments

@wayou
Copy link

wayou commented Mar 22, 2021

Issue Type: Bug

Steps to reproduce

  • create some directories and files for testing
$ mkdir tmp
$ mkdir tmp/{a,b,c}
$ touch tmp/a/a.txt tmp/b/b.txt tmp/c/c.txt

now the directory looks like:

$ tree tmp
tmp
├── a
│   └── a.txt
├── b
│   └── b.txt
└── c
    └── c.txt
  • open with vscode code tmp
  • select all directories in file explorer by ⌘ + A
  • exclude directory b by holding ⌘ and click b in file explorer
  • ⌘ + to delete selected directories
  • instead of removing a and c, the confirm message and the final result both indicate that the excluded folder b was deleted

EXPLORE

What

VS Code version: Code - Insiders 1.55.0-insider (469e4f6, 2021-03-22T05:14:29.671Z)
OS version: Darwin x64 20.4.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 3, 5
Memory (System) 16.00GB (1.02GB free)
Process Argv --crash-reporter-id b34ceb14-0dad-4df9-ba76-ad9cd01e725b
Screen Reader no
VM 0%
Extensions (74)
Extension Author (truncated) Version
vscode-css-formatter aes 1.0.1
vscode-nginx-conf ahm 0.1.3
markdown-toc Ala 1.5.6
vscode-zipfs arc 2.2.2
eggjs ati 0.3.1
github-markdown-preview bie 0.0.2
markdown-checkbox bie 0.1.3
markdown-emoji bie 0.1.0
npm-intellisense chr 1.3.1
bracket-pair-colorizer-2 Coe 0.2.0
codealignment-vscode cpm 2.0.19
dart-code Dar 3.20.1
flutter Dar 3.20.0
vscode-eslint dba 2.1.19
vscode-dash dee 2.4.0
githistory don 0.6.16
vscode-wasm dts 1.3.1
gitlens eam 11.3.0
EditorConfig Edi 0.16.4
vscode-npm-script eg2 0.3.17
vscode-great-icons emm 2.1.72
vsc-material-theme Equ 33.2.0
vsc-material-theme-icons equ 1.2.2
carbon-now-sh eri 1.2.0
prettier-vscode esb 6.3.1
php-intellisense fel 2.3.14
file-icons fil 1.0.29
auto-close-tag for 0.5.10
go gol 0.23.2
vscode-nginx-conf-hint han 0.1.0
vscode-auto-open-markdown-preview hnw 0.0.4
vscode-power-mode hoo 2.2.0
theme-macos-classic hua 1.2.1
search-node-modules jas 1.3.0
svg joc 1.4.5
markdown-toc jof 1.4.0
vscode-styled-components jpo 1.5.0
auto-comment-blocks kev 1.0.1
graphql-for-vscode kum 1.15.3
vscode-fix-checksums leh 1.1.0
dotenv mik 1.0.1
vscode-fileheader mik 0.0.2
vscode-csscomb mrm 5.3.2
vscode-scss mrm 0.9.0
vscode-docker ms- 1.11.0
python ms- 2021.3.658691958
jupyter ms- 2021.4.641214696
cpptools ms- 1.2.2
js-debug-nightly ms- 2021.3.1617
debugger-for-chrome msj 4.12.12
indent-rainbow ode 7.5.0
emoji Per 1.0.1
material-icon-theme PKi 4.6.0
seti-icons qin 0.1.3
nginx-formatter ray 0.0.13
java red 0.76.0
vscode-yaml red 0.16.0
gi rub 0.2.11
vscode-nginx sha 0.6.0
html5-boilerplate sid 1.1.1
fish-vscode sky 0.2.1
type-doc-vscode Tre 0.0.35
vscodeintellicode Vis 1.2.12
vscode-java-debug vsc 0.32.0
vscode-java-dependency vsc 0.18.1
vscode-java-pack vsc 0.13.0
vscode-java-test vsc 0.28.1
vscode-icons vsc 11.2.0
file-icons-mac way 1.0.1
vscode-icons-mac way 7.25.3
vscode-qcfe way 0.1.0
vscode-todo-highlight way 1.0.4
vscode-nginx wil 0.7.2
vscode-proto3 zxh 0.5.3

(15 theme extensions excluded)

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30263608
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry914:30244316
pythonvsdeb440:30224570
pythonvsded773:30223139
vstes627:30244334
pythonvspyt875:30259475
pythonvsnew554:30265444
pythontb:30258533
pythonvspyt943:30277000
openwslfolder:30278404
vscoresta800cf:30265948
vspre833cf:30267465
vsfjg287:30275553
vshan820:30276952

@isidorn isidorn added *duplicate Issue identified as a duplicate of another issue(s) file-explorer Explorer widget issues labels Mar 22, 2021
@github-actions github-actions bot locked and limited conversation to collaborators May 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) file-explorer Explorer widget issues
Projects
None yet
Development

No branches or pull requests

3 participants
@isidorn @wayou and others