pcbnew: add zone cutout starts first cutout outside dispalayed area

Bug #1846020 reported by Sergey A. Borshch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Committed
Undecided
Ian McInerney

Bug Description

Steps to reproduce:
1) select zone
2) open drop-down menu, select "Add cutout" item
Expected behavior: cutout starts at mouse point where drop-down menu called. Or even better: cutout not started but tooltip "select first cutout point" displayed (because zone can be selected only by click on edge, but cutout place can be far away from edge).
Actual behavior: cutout started at random point down, outside displayable area, sometimes outside board. To draw cutout user has to cancel current cutout by pressing ESC key and start new one. Screencast attached.

Version info: yesterday git master:
Application: Pcbnew
Version: (5.99.0-169-gce62941bb), release build
Libraries:
    wxWidgets 3.0.4
Platform: Linux 5.0.0-23-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    Build date: Sep 29 2019 13:17:54
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.65.1
    Compiler: GCC 7.4.0 with C++ ABI 1011

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=OFF
    KICAD_USE_OCE=OFF
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Tags: pcbnew
Revision history for this message
Sergey A. Borshch (sb-sf) wrote :
Revision history for this message
Michael Kavanagh (michaelkavanagh) wrote :

I think this may have been fixed by @Ian [1], [2]. Can you please update to a more recent nightly and retest?

[1] https://lists.launchpad.net/kicad-developers/msg42155.html
[2] https://lists.launchpad.net/kicad-developers/msg42158.html

tags: added: pcbnew
removed: cutout pbnew
Changed in kicad:
status: New → Incomplete
Revision history for this message
Sergey A. Borshch (sb-sf) wrote :

Yes, it's fixed now. Thank's.

Changed in kicad:
status: Incomplete → Fix Committed
Changed in kicad:
milestone: none → 6.0.0-rc1
Revision history for this message
Ian McInerney (imcinerney) wrote :

Fixed in commits 0aa542451176c4383f3d6f5d6e752600f5379153 and 5862b1559f4c248c4984d941f738d59c4653d596 on master.

Changed in kicad:
assignee: nobody → Ian McInerney (imcinerney)
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.