cursor freezes in pcbnew after removing a corner of zone

Bug #1745981 reported by eelik
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
High
Maciej Suminski

Bug Description

I can reproduce this with a blank board.
1. Create a zone.
2. delete a corner of the zone.
3. Open DRC Control.
4. Start DRC.
5. Try to zoom with the middle mouse button. The cursor is locked to the point where the corner was deleted.

This may happen under some other conditions, too, because this cursor freezing has happened after doing something with zones but without running DRC. But as far as I can remember it has always involved something with zones. It has happened with several nightly builds from January, on Linux and Windows (although I just found out this one way to replicate it on Windows).

Application: kicad
Version: (2018-01-29 revision d44494bed)-makepkg, release build
Libraries:
    wxWidgets 3.0.3
    libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.11 libssh2/1.8.0 nghttp2/1.23.1 librtmp/2.3
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.60.0
    Curl: 7.54.1
    Compiler: GCC 7.1.0 with C++ ABI 1011

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_SPICE=ON

Revision history for this message
eelik (eelik) wrote :

"This may happen under some other conditions, too"

And indeed, on Linux this happened with a board with one zone and one footprint. I removed a corner from the zone and then moved the footprint. After that moving the mouse doesn't update the coordinates and zooming happens on the point where the corner was.

summary: - cursor freezes in pcbnew after action on zone and DRC
+ cursor freezes in pcbnew after removing a corner of zone
Changed in kicad:
assignee: nobody → Maciej Suminski (orsonmmz)
importance: Undecided → High
status: New → In Progress
Changed in kicad:
milestone: none → 5.0.0-rc2
Revision history for this message
Janis Skujenieks (janis-skujenieks) wrote :

I can add some observations on this bug.

1. Empty file
2. Create zone
3. Remove corner
4. Sometimes I get stuck cursor, but sometimes not. I get artifact that zone hatched outline stays around old perimeter.
5. Sometimes cursor gets stuck after some time on removed corner position.

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

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

Changed in kicad:
status: In Progress → Fix Committed
Revision history for this message
Nicholas Savenlid (nicholas-z) wrote :

I have reported this long time ago, hopefully its gone now

i keep my fingers crossed and pray because its been bad one, as it forced you to exit / enter pcbnew

i am on windows 10
will update to latest nightlies asap

Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.