Editing a footrpint from the current board

Bug #1735455 reported by Art
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Wishlist
Unassigned

Bug Description

If you attempt to edit a footprint from the current board (Ctrl-E), the footprint is opened with all the editing that has been done at the board level (i.e. position, appearance and text of reference and value fields). This reduces functionality of the shortcut. If you attempt to save such footprint into a library, all the data fields will be save with that editing. For example, if your components reference was U5 it is going to get saved as U5 in the library, instead of REF** One can say that you are just editing the specific footprint of the current board and not the footprint from the library. I don't see a lot of utility to such approach.

There might be some isolated cases when this can come handy, but as a rule I would rather drive the layout based on the library footprints and have a shortcut when I can rapidly access a footprint from a design and open it from the library without trying to find which library it belongs to and then go find the library and then try to find it in the library. It would be even better if the library that the footprint belongs to was already selected when I open it with a CTRL-E shortcut, so all I would have to do after editing a footprint would be hit "Save to the library" and then update the footprint at the board level.

Changed in kicad:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Nick Østergaard (nickoe) wrote :

Please add version info.

Revision history for this message
Art (diametrix) wrote :

It's not like it is a bug report, this logic has been there forever. Nevertheless, as you wiiish...

Application: kicad
Version: (2017-11-24 revision a01d81e4b)-makepkg, release build
Libraries:
    wxWidgets 3.0.3
    libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.11 libssh2/1.8.0 nghttp2/1.23.1 librtmp/2.3
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.60.0
    Curl: 7.54.1
    Compiler: GCC 7.1.0 with C++ ABI 1011

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

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

5.1 has an Edit Library Footprint... button in the properties dialog.

Changed in kicad:
milestone: none → 5.1.0
status: Triaged → Fix Committed
Revision history for this message
Art (diametrix) wrote :

@Jeff

I take it you didn’t really read the description. If you use Edit Library Footprint button, you have. To go through several steps. You have to find the right library, then you have to find your footprint in that library, which is not always easy. It would be much easier if you could get there by right clicking on the footprint itself

Revision history for this message
Maciej Suminski (orsonmmz) wrote :

@Art

I think Jeff's suggestion is actually what you are expecting, just try it. In the Footprint Properties dialog, there is a button named 'Edit *Library* Footprint...' which will let you edit the a library footprint rather than a particular instance on the board. There is no browsing through libraries, you simply get the corresponding footprint opened from a library.

Are you asking for a dedicated hotkey or a right-click context menu entry for this function?

Revision history for this message
Art (diametrix) wrote :

I misunderstood. Yes, that button does exactly what I needed. In a way of suggestion, I would propose changing option in the hot key list from "Edit with Footprint Editor" (default Ctrl+E) to Edit Library Footprint. There are some rare cases when you need to edit the footprint just for a single board, but for the most part editing footprint and then saving it to the library, rather than simply updating the board with the changes, is much more common.

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

Rather than change the current ctrl+e behavior, why not just use a different shortcut like ctrl+alt+e to edit the footprint in the library? I'm not sure that updating a footprint the footprint in the library is actually more common than updating the footprint on the board. I never update library footprints this way. I only update the footprint in the board due to a layout specific issue which I would likely not use any where else.

Revision history for this message
Art (diametrix) wrote :

That’s fine too. You can always re-assign those. My point was mainly about adding that option to the hot key list.

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.