Using "Add layer alignment target" with "Place auxillary axis" creates artifacts

Bug #1813659 reported by Aleksandr Sh
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Committed
Low
Jeff Young

Bug Description

If you click on icons of these tools, layer alignment targets get created. But they are weird and removed one by one when pressing ESC. If you switch to select tool, you can kind of place some of them.
See the video.

Application: kicad
Version: (6.0.0-rc1-dev-1606-g4cd41e394), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.1
    Compiler: GCC 8.2.0 with C++ ABI 1013

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: pcbnew
Revision history for this message
Aleksandr Sh (dsa-t) wrote :
Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

Was this with on of the modern canvases or the legacy canvas? I cannot duplicate this behavior on 5.1.0-rc1-28-g605d0ab3c on Linux using either modern canvas.

Changed in kicad:
status: New → Incomplete
Revision history for this message
Aleksandr Sh (dsa-t) wrote :

With modern canvas, can still be reproduced.

Application: kicad
Version: (5.1.0-rc1-27-g03e787ef2), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.1
    Compiler: GCC 8.2.0 with C++ ABI 1013

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

Changed in kicad:
status: Incomplete → New
Revision history for this message
Aleksandr Sh (dsa-t) wrote :

Does not reproduce in Legacy Toolset.

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

It appears that there is a tool state issue at play here.

Changed in kicad:
status: New → Triaged
importance: Undecided → Low
milestone: none → 6.0.0-rc1
Jeff Young (jeyjey)
Changed in kicad:
assignee: nobody → Jeff Young (jeyjey)
status: Triaged → In Progress
Revision history for this message
Jeff Young (jeyjey) wrote :

TOOL_MANAGER's event dispatch logic is having trouble when the activating tool and the deactivating tool are both states in the same TOOL_INTERACTIVE.

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

Two ACTIONs by the same TOOL_INTERACTIVE turned out to be a red herring. It was just some missing AF_ACTIVATE flags on the ACTIONs in question.

Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

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

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.