Cursor freezes in pcbnew, again

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

Bug Description

See also Bug #1716702, https://bugs.launchpad.net/kicad/+bug/1716702, and also Bug #1745981, https://bugs.launchpad.net/kicad/+bug/1745981.

A similar, but not indentical, bug has occured in recent nightly builds.

Create a board with two overlapping items, for example graphic lines with overlapping end points. Use the RMB to open the context menu, clarify selection, open Properties, click OK. Now zooming with the middle mouse button is stuck to a one point.

There have been so many of similar bugs with the mouse cursor (or the point which is active for mouse actions) that it makes me wonder if there's something wrong with the code architecture. I hope these can be fixed for good.

Application: kicad
Version: (2018-01-30 revision 342197bb3)-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

Changed in kicad:
status: New → In Progress
assignee: nobody → Maciej Suminski (orsonmmz)
importance: Undecided → High
Changed in kicad:
milestone: none → 5.0.0-rc2
Revision history for this message
eelik (eelik) wrote :

Another way to trigger a similar bug:

1. A board with a graphic line.
2. Select the line somewhere in the middle of it.
3. Go on one of the endpoints so that the cursor is snapped to it.
4. Context menu -> Properties.
5. Cancel with escape.

What do you say, are these symptoms of one bug, or are there several? Should I report more if I find them, or is it enough to have one reproducible "open context menu, do something, cursor is stuck" situation?

Revision history for this message
Maciej Suminski (orsonmmz) wrote :

eelik,

Thank you for the extra details. I think you are experiencing symptoms of the same bug. As soon as I finish I will test it against the cases you have described to be sure it is fixed.

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
eelik (eelik) wrote :

The fix commit helped, I can't reproduce these or bug #1745981 anymore on Linux. I'll test on Monday with Windows and tell if it doesn't help.

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

Remote bug watches

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