Skip to content

eeschema import hierarchical sheet pin does not use the "bus" color when the pin is connected to a bus inside the child sheet (lp:#1854560)

Original report created by Dino Ghilardi (dino-ghilardi)

(minor "color" issue)

in master branch,

When you "import a hierarchical sheet pin" this pin is drawn using the
"standard" color even if it is connected to a bus inside the child sheet.
When you connect it in the parent sheet the color is changed to the right
one.

A (small) improvement could be have the "bus" color for that label when
importing it.

Cheers,
Dino.

Attached: a simple project with one bus.
To reproduce:
 -open the schematic
 -use "import a hierarchical sheet pin" on the only hier. block present
 -it gets imported with the "net" color instead of the "bus" color.

Cheers,
Dino.

------------------------------------------------------------------------------
Application: KiCad
Version: (5.99.0-431-g5d3e6e3d4-dirty), release build
Libraries:
    wxWidgets 3.0.2
    libcurl/7.52.1 GnuTLS/3.5.8 zlib/1.2.8 libidn2/0.16 libpsl/0.17.0
(+libidn2/0.16) libssh2/1.7.0 nghttp2/1.18.1 librtmp/2.3
Platform: Linux 4.9.0-8-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    Build date: Nov 29 2019 23:00:19
    wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.69.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.52.1
    Compiler: GCC 6.3.0 with C++ ABI 1010

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

Original tags: eeschema