eeschema hierarchical label placement on bus not fully working

Bug #1830227 reported by Dino Ghilardi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Committed
Medium
Jon Evans

Bug Description

Placing a hierarchical sheet label on a bus end does not turn the label blue and clicking the label does not show bus informations.

Workaround: drag the bus or the label with the "g" shortcut and when placed (and deselected) turns blue correctly. Selecting it afther this operation shows the correct bus information in the bottom status bar.

To reproduce:
1) create a bus definition using tools->bus definitions
2) draw a bus line on the schematic
3) add a label on the bus with the same bus name defined before
4) add a hierarchical sheet label at the end of the bus.

Placing the label it will not turn to the "bus color".

Drag it and it will.
Move it and place it back where it was and it will.

-------------------------------------------------------
Tested on commit c52ff1ca23143b9ab7406bfb1e87927bdba466fb
-------------------------------------------------------

Application: Eeschema
Version: (5.1.0-671-gc52ff1ca2), debug build
Libraries:
    wxWidgets 3.0.2
    libcurl/7.52.1 OpenSSL/1.0.2r 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:
    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:
    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: eeschema
tags: added: eeschema
Jon Evans (craftyjon)
Changed in kicad:
assignee: nobody → Jon Evans (craftyjon)
Revision history for this message
Dino Ghilardi (dino-ghilardi) wrote :

It seems the same issue is on label placement over a bus: placing a new label you have a black label. clicking on the bus the status bar at the bottom of eeschema reports .../<NO NET> on connection name.
Moving it (or dragging with "G") and placing it at the same place makes it blue and clicking on the bus now gives the correct bus name.

Revision history for this message
Dino Ghilardi (dino-ghilardi) wrote :

The same happens placing the net label on a wire, but in this case the correct and wrong color are both black, so there is no visual effect.
Clicking on the wire the info bar at the bottom shows the issue.

To reproduce:
-draw a wire
-place a net label over the wire
-exit tool and click on the wire
-<NO NET> is shown in "connection name" at the bottom of the screen.
-move the label with "m" and place it exactly where it was
-click on the wire and the correct net name will be shown.

Revision history for this message
Dino Ghilardi (dino-ghilardi) wrote :

Exiting eeschema and re entering after saving a <NO NET> with the label on it gives the correct net name to the wire.

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

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

Changed in kicad:
status: Confirmed → Fix Committed
Changed in kicad:
milestone: none → 6.0.0-rc1
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.