Symbol Editor: Dragging and moving the corners of rectangles and polygons does not work correctly
Description
When selecting a rectangle or a polygon in the schematic symbol editor, dragging of its corners does not always work correctly. Sometimes during dragging of one corner with the mouse (left button held down), the mouse cursor jumps to another corner of the object, and instead of dragging the corner, the entire object is moved. I think have observed this effect also with arcs, but it seems to occur less frequently.
Steps to reproduce
- Open the symbol editor.
- Create a new symbol.
- Select "Add a rectangle" from the menu bar and draw a rectangle.
- Select the rectangle, hover mouse over one corner, hold left button down and drag the corner.
- In some cases the mentioned behavior is observed (may need a few tries).
KiCad Version
Application: KiCad Symbol Editor (64-bit)
Version: (5.99.0-12253-gc8b2e693), release build
Libraries: wxWidgets 3.1.5 libcurl/7.78.0-DEV Schannel zlib/1.2.11
Platform: Windows 10 (build 19043), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info: Date: Sep 7 2021 20:59:35 wxWidgets: 3.1.5 (wchar_t,wx containers) Boost: 1.76.0 OCC: 7.5.0 Curl: 7.78.0-DEV ngspice: 35 Compiler: Visual C++ 1929 without C++ ABI
Build settings: KICAD_USE_OCC=ON KICAD_SPICE=ON