Assign Footprints filter box doesn't work the same as the Footprint Editor filter box

Bug #1827135 reported by Ryan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Committed
Low
Jeff Young

Bug Description

** Problem Summary **
The Assign Footprints filter box only allows 1 search key. This is much harder to use than the Footprint Editor's filter box.

The Footprint Editor has much more flexible and powerful filter box. It allows multiple search keys (and it doesn't care about the order of the search keys it receives). I really like this filtering method!

** Example **
Lets say I want to find the footprint "DSUB-15-HD_Female_Horizontal".
using Footprint Editor, I may search for "female 15 dsub" and find this part. Here, the spaces are interpreted as separating my search keys. So my search keys are 'female', '15', and 'dsub'. The order of the search keys doesn't matter, which is VERY convenient.
Now, if I try to search for the same part using the Assign Footprints filter box, the previous search string would return 0 results. Instead, I would need to enter a search string such as this one: "dsub*15*female". In this case, the asterisks are treated as wild cards inside a SINGLE search key; therefore, I must enter 'dsub', '15', and 'female' in exactly the correct order to see any search results. This is much less convenient that the search method that is being used in the Footprint Editor.

** My proposed solution **
Make the Assign Footprints filter box use the same search method employed by the Footprint Editor.
This would not require writing a new search function - just change Assign Footprints to use the existing (awesome) search function that the Footprint Editor has.

I believe this change would make KiCad an even better program than it already is.
Thank you for making KiCad such an amazing tool already!
Ryan Jensen

** My version information **
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 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

tags: added: eeschema ui
Revision history for this message
Michael Kavanagh (michaelkavanagh) wrote :

Setting importance as 'Low' because CvPcb's different filter behaviour could appear as a bug to users expecting the search behaviour used elsewhere.

Changed in kicad:
importance: Undecided → Low
milestone: none → 6.0.0-rc1
status: New → Triaged
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 :

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

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