Eeschema: changing Library Reference from/to multiple unit symbols messed up
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Medium
|
Jeff Young |
Bug Description
Hi,
In EEschema, place a single part component (ex. a resistor or a diode...).
Edit (E) it. In Symbol Properties window, click on "Browse Library" and in "Choose symbol" window, select a multi part symbol. Validate.
(Unit dropdown list is greyed.)
Validate.
The symbol now looks funky with all the parts rendered stacked.
The component reference has a "@" char at the end.
Edit that symbol again.
In Symbol Properties window, "Unit" dropdown list is now enabled but no unit selected by default. Choose a unit.
Validate.
Things are back to normal. No more stacked parts.
Now, two different behaviours:
1) if you selected the first unit (A), no problem
2) but if you selected any other part (B, C, etc...) and you go back to Symbol Properties and choose a single part unit, say a resistor, and validate:
your symbol has NO pin.
You need to edit the symbol again, choose any multi part, validate, edit again, choose unit A, validate, edit again (!) and then choose your single part unit.
Tested both on Windows and Linux.
Application: kicad
Version: 5.1.0-060a0da~
Libraries:
wxWidgets 3.0.2
libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
Platform: Linux 4.4.0-143-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.2 (wchar_t,wx containers,
Boost: 1.58.0
OpenCASCADE Community Edition: 6.8.0
Curl: 7.47.0
Compiler: GCC 5.4.0 with C++ ABI 1009
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
Changed in kicad: | |
assignee: | nobody → Jeff Young (jeyjey) |
status: | Triaged → In Progress |
Changed in kicad: | |
milestone: | none → 5.1.1 |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
In my opinion, this is how it should behave:
Once you choose a Single Part symbol, Unit dropdown selector should be greyed/disabled.
And once you choose a multi part component, the dropdown list should be instantly enabled, with the correct multi parts informations loaded, and one default unit selected.
Plus, reverting to a single part symbol should not mess with units...
Thank you.