Symbol Editor - Not refresh library list if an empty library is deleted from Library Manager

Bug #1821691 reported by Silviu Laurentiu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Low
Wayne Stambaugh

Bug Description

  1. From Symbol Editor, remove last symbol from a library
  2. From Library Manager - remove empty library
  3. Bug: The library is not deleted from Symbol Editor
  4. After restart of Symbol Editor the library is removed also from the Library Editor list

  I added a movie which reproduce the bug

      Application: kicad
Version: (5.1.0)-1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.1
    Compiler: GCC 8.2.0 with C++ ABI 1013

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Tags: eeschema
Revision history for this message
Silviu Laurentiu (silviulaurentiu) wrote :
Revision history for this message
Nick Østergaard (nickoe) wrote :

So the treeview is updated correctly if the library removed from the library table is non-empty?

Changed in kicad:
milestone: none → 5.1.1
Revision history for this message
Silviu Laurentiu (silviulaurentiu) wrote :

Yes

Revision history for this message
Silviu Laurentiu (silviulaurentiu) wrote :

Sorry, I was wrong
It seems that is not important of the library is empty or not
The bug happens when the library was added from Library Editor and the Library Editor is not restarted.

Changed in kicad:
importance: Undecided → Low
status: New → Triaged
Changed in kicad:
milestone: 5.1.1 → 5.1.2
Changed in kicad:
milestone: 5.1.2 → 5.1.3
tags: added: eeschema
Changed in kicad:
assignee: nobody → Wayne Stambaugh (stambaughw)
status: Triaged → In Progress
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision 028973d182504380e3a3a2904e67d91b2f439974
https://git.launchpad.net/kicad/patch/?id=028973d182504380e3a3a2904e67d91b2f439974

Changed in kicad:
status: In Progress → Fix Committed
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.