Eeschema: Phantom floating junctions on cut/copy/paste

Bug #1842355 reported by Michael Kavanagh
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Committed
Low
Jeff Young

Bug Description

Cut and paste a block of schematic containing wire junctions. Observe strange floating junctions shown in screen shot.

Application: Eeschema
Version: (5.99.0-51-g4c9e4c947), debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.54.0 LibreSSL/2.6.5 zlib/1.2.11 nghttp2/1.24.1
Platform: Mac OS X (Darwin 18.7.0 x86_64), 64 bit, Little endian, wxMac
Build Info:
    wxWidgets: 3.0.4 (wchar_t,STL containers,compatible with 2.8)
    Boost: 1.70.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.54.0
    Compiler: Clang 10.0.1 with C++ ABI 1002

Build settings:
    KICAD_SCRIPTING=OFF
    KICAD_SCRIPTING_MODULES=OFF
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=OFF
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=OFF
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
    KICAD_STDLIB_DEBUG=OFF
    KICAD_STDLIB_LIGHT_DEBUG=OFF
    KICAD_SANITIZE=OFF

Tags: eeschema
Revision history for this message
Michael Kavanagh (michaelkavanagh) wrote :
Revision history for this message
eelik (eelik) wrote :

I'm not sure if this is the right place to talk about this, but I find the concept of independent junction dot weird. Junction should be a property of two or more wires crossing (or endpoints touching, or endpoint touching another line) and there shouldn't exist any junction without two wire lines.

From the standpoint of implementation it may be easier to have separate junctions but they should very strictly depend on existence of a wire crossing. For example, instead of

junction: xcoord,ycoord

there could be

junction:
   wire: id
   wire: id

But at least, if they are separate independent entities, they should be updated very stricly with any change made to wires. The update mechanism should be "waterproof". I've seen different situations when junction don't correctly reflect changes made to the wires.

It shouldn't be possible to add junctions where there are no wires crossing, and there should never be need to remove junctions except from where wires are crossing. "Add junction" shouldn't blindly add a junction dot, it should only make a junction out of two wires crossing each other.

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

@eelik-

Let's open a new report to talk about junction dot changes. While related here, we may have other issues to think about that it'd be good to record before implementing.

Revision history for this message
eelik (eelik) wrote :
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 0b981caef8a0fbcf038527796adff426369972bb
https://git.launchpad.net/kicad/patch/?id=0b981caef8a0fbcf038527796adff426369972bb

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.