Annotation seems to add line "LIBS:project_name-cache"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Medium
|
Wayne Stambaugh |
Bug Description
A strange behaviour was noticed over on the forum. It seems after annotation the schematic files contain a link to the cache lib. It seems strange to me that this info is suddenly required after annotation. (I would expect this to either be relevant as soon as the first symbol is added or never.)
My kicad version (same behaviour was also observed in current nightly):
Application: KiCad
Version: 5.1.4-3.fc30, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.65.3 OpenSSL/1.1.1c-fips zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.0.5) libssh/
Platform: Linux 5.2.11-
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,
Boost: 1.69.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.65.3
Compiler: GCC 9.1.1 with C++ ABI 1013
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
tags: | added: eeschema |
Changed in kicad: | |
milestone: | none → 5.1.5 |
importance: | Undecided → Medium |
Changed in kicad: | |
status: | New → Triaged |
assignee: | nobody → Wayne Stambaugh (stambaughw) |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
Digging into the code produces this comment from the header parsing routine:
// The next lines are the lib list section, and are mainly comments, like:
// LIBS:power
// the lib list is not used, but is in schematic file just in case.
// It is usually not empty, but we accept empty list.
So it looks like it was added at some point, and has just been there ever since. It appears that it doesn't actually do anything though since it is just skipped in the parser for v5/6 (in fact, everything between the opening line and EELAYER END is skipped, so it could be ignored in current versions without causing problems).