KiCad copies fp-lib-table from current directory (bug 657 was never fixed?)
Description
Current behavior: The first time KiCad is run, if the current directory contains fp-lib-table
, the fp-lib-table
from the current directory is copied to the global fp-lib-table
.
Expected behavior: KiCad should obey the selection in the "Configure Global Footprint Library Table" dialog (e. g. "Copy default global footprint library table") regardless of what files do or don't exist in the current directory.
Steps to reproduce
- "mv -i ~/.config/kicad ~/.config/kicad.old"
- cd to a directory that contains an fp-lib-table
- "kicad &"
- Open a project (doesn't necessarily have to be the one in the current directory)
- Open the Footprint Editor
- Accept the default ("Copy default global footprint library table")
- "cat ~/.config/kicad/fp-lib-table"
KiCad Version
Application: KiCad
Version: 5.1.11-e4df9d881f~92~ubuntu20.04.1, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Platform: Linux 5.13.0-7620-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.71.0
OpenCASCADE Technology: 7.5.2
Curl: 7.68.0
Compiler: GCC 9.3.0 with C++ ABI 1013
Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=ON
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=OFF
KICAD_USE_OCC=ON
KICAD_SPICE=ON
Edited by Patrick Pelletier