Footprint Library Browser opened with wrong library highlighted

Bug #1826932 reported by eelik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Low
Jeff Young

Bug Description

This can be repeated at least in this way:

1. Open a symbol's properties from eeschema.
   The symbol should have a footprint attached.
2. Open the footprint browser from the Footprint field.
3. Select a library, other than what you would actually use.
   Don't select a footprint.
4. Close the browser.
5. Open the browser again.
6. The previously selected library name is highlighted.
7. But the current footprint's library content is in the right side list.

The highlighted library and the content list of the library should always match. Either the current footprint's library should be highlighted and the content of it should be listed, or the previously selected library name should be highlighted and the content of it should be listed.

Application: kicad
Version: (5.1.0-349-gf7d35cf94), 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 8 (build 9200), 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

Changed in kicad:
importance: Undecided → Low
milestone: none → 5.1.3
status: New → Triaged
Revision history for this message
Jeff Young (jeyjey) wrote :

They can't always match because you can make selection and perform operations on the tree when an edited footprint is on the canvas.

I agree that it's sub-optimal (we've tried various different highlighting schemes to try and show the difference between the tree selection and the canvas object, but none are ideal).

Changed in kicad:
status: Triaged → Won't Fix
Revision history for this message
eelik (eelik) wrote :

I don't think you understood the situation correctly. You are talking about the footprint editor, I'm talking about the footprint browser, and only under certain circumstances.

Revision history for this message
Jeff Young (jeyjey) wrote :

Indeed. It's a whole 'nother ball of wax with the Footprint Browser.

Changed in kicad:
status: Won't Fix → Triaged
assignee: nobody → Jeff Young (jeyjey)
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision 8efe8d18356ba0b24d75ca13c05f45e07b0629bf
https://git.launchpad.net/kicad/patch/?id=8efe8d18356ba0b24d75ca13c05f45e07b0629bf

Changed in kicad:
status: Triaged → Fix Committed
Revision history for this message
eelik (eelik) wrote :

Michael set the milestone to 5.1.3 but I don't see this in the 5.1 git commits. And I think I saw this bug today in the latest 5.1 nightly build (from https://kicad-downloads.s3.cern.ch/index.html?prefix=windows/testing/5.1/). I don't have it at hand right now.

Revision history for this message
Jeff Young (jeyjey) wrote :

Cherry-picked in: ce329e13fb16eff7f206f7b0e1296f0594245041

Changed in kicad:
status: Fix Committed → In Progress
Jeff Young (jeyjey)
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

Remote bug watches

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