Rotate after undo causes component to walk

Bug #1849078 reported by Mark Jeronimus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Committed
Medium
Seth Hillbrand

Bug Description

When rotating a components, the location of the reference and value relative to the component changes drastically, and when rotating continuously (holding 'r' pressed) the component walks (changes origin).

Steps to reproduce:

* Load the attached schematic
* Rotate the component a few times
* Undo everything
* Rotate many times again

Alternate steps to reproduce:

* Open eeschema standalone
* Place any component (tested with "R", "L" and "L_Core_Ferrite" thus far and all are affected)
* Rotate a few times
* Undo as many times
* Rotate many times again

*Expected behavior:*
Component rotates about it's origin and the texts stay close to the component

*Actual behavior:*
The component origin changes pseudorandomly(!) and the texts are displaced relative to the component

Application: Eeschema
Version: 5.99.0-unknown-a3229c4~100~ubuntu18.04.1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Platform: Linux 5.0.0-31-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    Build date: Oct 17 2019 11:49:37
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.22
    Boost: 1.65.1
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.58.0
    Compiler: GCC 7.4.0 with C++ ABI 1011

Build settings:
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Tags: eeschema
Revision history for this message
Mark Jeronimus (mark-jeronimus) wrote :
description: updated
Revision history for this message
Ian McInerney (imcinerney) wrote :

The undo step is critical for replicating this.

(somewhat related previous walking bug: lp1833371)

Changed in kicad:
milestone: none → 6.0.0-rc1
importance: Undecided → Medium
status: New → Triaged
summary: - Rotate causes component to walk
+ Rotate after undo causes component to walk
tags: added: eeschema
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

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

Changed in kicad:
status: Triaged → Fix Committed
assignee: nobody → Seth Hillbrand (sethh)
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.