Alphabetic sorting in footprint editor not consistent

Bug #1847481 reported by KiCad bug report
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Expired
Low

Bug Description

In the footprint editor, the library list on the left-hand side is sorted alphabetically in a none-case-sensitive way.
After the having imported a footprint, when clicking "save", a library list pops-up which is alphabetically sorted in a case-sensitive way.

This is confusing, and should ideally be made consistent all over the application (by choosing either none-case-sensitive, or case-sensitive).

Personally, I would vote for none-case-sensitive.

Application: ModEdit
Version: (5.1.4-0), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.54.0 LibreSSL/2.0.20 zlib/1.2.11 nghttp2/1.24.0
Platform: Mac OS X (Darwin 17.7.0 x86_64), 64 bit, Little endian, wxMac
Build Info:
    wxWidgets: 3.0.4 (wchar_t,STL containers,compatible with 2.8)
    Boost: 1.69.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.54.0
    Compiler: Clang 9.0.0 with C++ ABI 1002
Build settings:
    USE_WX_GRAPHICS_CONTEXT=ON
    USE_WX_OVERLAY=ON
    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: pcbnew ui
Revision history for this message
Michael Kavanagh (michaelkavanagh) wrote :

This is not an issue in the symbol library editor?

tags: added: pcbnew ui
Revision history for this message
Nick Østergaard (nickoe) wrote :

I think the second list is the same as the library table, and is therefor not automatically sorted.

Revision history for this message
KiCad bug report (kicad-bug-report) wrote :

@Michael Kavanagh,

I confirm, this is an issue in the footprint library, not in the symbol library.

In the symbol library editor, when right-clicking on a library, and doing an import from the contextual menu, the imported symbol immediately shows up in the treeview, under the concerning library (so no need for this extra step whilst saving).
In the footprint library editor, after an import, the imported footprint appears nowhere in the treeview, as long as it has not been saved. It is only during the save operation that a library can be chosen.
This as well, might be something to align in a future version. The workflow in the symbol library editor is more intuitive and more efficient.

Revision history for this message
KiCad bug report (kicad-bug-report) wrote :

@Nick Østergaard,

I re-checked the sorting in the lists.
For that matter, I can formally confirm my first statement :
- the library list on the left-hand side in the footprint library editor is sorted alphabetically in a none-case-sensitive way
 - the second list is alphabetically sorted in a case-sensitive way. In the fp-lib-table the libraries are sequenced differently.

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

We should be sorting the same way in both library editors and viewers for the sake of consistency.

Changed in kicad:
status: New → Triaged
importance: Undecided → Low
milestone: none → 5.1.5
Changed in kicad:
milestone: 5.1.5 → 5.1.6
Jeff Young (jeyjey)
Changed in kicad:
assignee: nobody → Jeff Young (jeyjey)
status: Triaged → In Progress
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

KiCad bug tracker has moved to Gitlab. This report is now available here: https://gitlab.com/kicad/code/kicad/-/issues/1936

Changed in kicad:
status: In Progress → Expired
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.