Kicad: project manager not deleting entire dir when subdirs are present
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Committed
|
Low
|
Ian McInerney |
Bug Description
In project manager, when one deletes an entire directory that contains subdirectories, only non-directory files are (recursively) deleted; the directories (both the top- and sub- directories) are left intact, and an error is displayed (screenshot attached).
Either completely deleting the entire directory (including subdirectories) recursively or printing an error while having all files left intact are likely better options.
Application: KiCad
Version: (5.99.0-
Libraries:
wxWidgets 3.0.4
libcurl/7.66.0 OpenSSL/1.1.1d (Schannel) zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.1.1) nghttp2/1.39.2
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Build date: Nov 13 2019 00:18:50
wxWidgets: 3.0.4 (wchar_t,wx containers,
Boost: 1.71.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.66.0
Compiler: GCC 9.2.0 with C++ ABI 1013
Build settings:
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
Changed in kicad: | |
assignee: | nobody → Ian McInerney (imcinerney) |
status: | Triaged → In Progress |
Yep, it looks like we need to delete the subfolders first.