Symbol Library Editor bug: editing a library by deleting a part in it, or by reverting after copying a part into it, minimizes the library (un-expands) it uncommanded
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Undecided
|
Jeff Young |
Bug Description
Application: kicad
Version: 6.0.0-rc1-
Libraries:
wxWidgets 3.0.2
libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
Platform: Linux 4.4.0-112-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.2 (wchar_t,wx containers,
Boost: 1.54.0
OpenCASCADE Community Edition: 6.8.0
Curl: 7.35.0
Compiler: GCC 4.8.4 with C++ ABI 1002
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
-------
In the Symbol Editor, every time I right-click in the left-hand menu to delete a part from a library, or if I copy and paste a new part into the library, then right-click and say "revert", it minimizes the library. This shouldn't happen. It should retain the information about whether or not I have the library expanded or minimized, and not minimize (un-expand) it every time I remove a part from it. See attached screenshot.
Changed in kicad: | |
status: | Fix Committed → Fix Released |
I can't reproduce this on OSX. If someone on GTK wants to look into it, the routines that are /supposed/ to handle this are LIB_TREE: :getState( ) and LIB_TREE: :setState( ).
FWIW, trying to reproduce this did uncover 3 other bugs, one of them a crasher:
1: when reverting a library the confirmation dialog has the empty string for the library name
2: when reverting a library we assert when trying to clear the screen
3: when reverting a library with no symbols we crash trying to see if the current symbol needs reloading
I've merged fixes for all of these: babd4174c7e1ec6 2e961adcb2 3317274806b5a7c ca0990da26 138789454f54441 2f611c8265
caa38a61939d3c1
61b9412c811fbbe
7ab5bd2339df699