Alphabetic sorting in footprint editor not consistent

Bug #1847481 reported by KiCad bug report on 2019-10-09
This bug affects 1 person
Affects Status Importance Assigned to Milestone
In Progress
Jeff Young

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
    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:

This is not an issue in the symbol library editor?

tags: added: pcbnew ui
Nick Østergaard (nickoe) wrote :

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

@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.

@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.

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) on 2019-12-02
Changed in kicad:
assignee: nobody → Jeff Young (jeyjey)
status: Triaged → In Progress
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers