Garbled Netname after adding pin

Bug #1829301 reported by Seth Hillbrand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Committed
Medium
Jon Evans

Bug Description

I'm attaching a project that I have recently changed by adding a new pin to the schematic (copy/paste from J2).

In the current state, the new pin is not annotated (J?) and has not be added to the pcb.

If you annotate and then update the PCB, the pin's netname will be garbled "Net-(J?1557958666-Pad1)" on my machine. This looks like uninitialized variable, so it's probably different elsewhere. But the upshot is that the netname doesn't get set nicely for unannotated pins. It could have chosen R14-Pad1 or U1-Pad7. Or, they could just be named sequentially when the pins are unannotated.

Then, after annotation, the netname should be updated as J? doesn't exist anymore.

Closing and re-opening eeschema causes the update the work properly.

Application: KiCad
Version: (5.1.0-573-ga670b360e-dirty), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.64.0 OpenSSL/1.1.1b zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
Platform: Linux 4.19.0-4-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
    Boost: 1.67.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.64.0
    Compiler: GCC 8.3.0 with C++ ABI 1013

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

Tags: eeschema
Revision history for this message
Seth Hillbrand (sethh) wrote :
Revision history for this message
Seth Hillbrand (sethh) wrote :
Revision history for this message
Seth Hillbrand (sethh) wrote :

Re-uploading attachment with footprint libraries

Jon Evans (craftyjon)
Changed in kicad:
assignee: nobody → Jon Evans (craftyjon)
Jon Evans (craftyjon)
Changed in kicad:
importance: Undecided → Medium
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

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

Changed in kicad:
status: New → 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.