Rotate after duplicate moves label

Bug #1834968 reported by ocb-hd-ccb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Committed
Undecided
Unassigned

Bug Description

After duplicating a part in eeschema the label no longer rotates correctly in relationship to the symbol.

https://imgur.com/a/euBctwa

after moving the label and hitting 'o'(oh) the label returns to the position assigned after duplication.

```
Application: Eeschema
Version: (5.1.0-1094-g655126d66), debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.54.0 LibreSSL/2.6.5 zlib/1.2.11 nghttp2/1.24.1
Platform: Mac OS X (Darwin 18.6.0 x86_64), 64 bit, Little endian, wxMac
Build Info:
    wxWidgets: 3.0.4 (wchar_t,STL containers,compatible with 2.8)
    Boost: 1.69.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.54.0
    Compiler: Clang 9.0.0 with C++ ABI 1002

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

Tags: eeschema
summary: - Rotate after duplicate
+ Rotate after duplicate moves label
Revision history for this message
Nick Østergaard (nickoe) wrote :

I don't see this behavior for the 5.1 branch Version: (5.1.2-175-g216acd98d), release build on archlinux.

tags: added: eeschema
Changed in kicad:
milestone: none → 6.0.0-rc1
Revision history for this message
Jeff Young (jeyjey) wrote :

Please go into Preferences > Eeschema and report how your three checkboxes under Symbol Field Automatic Placement are set.

And I assume you're rotating with the 'R' key?

Note that with auto-placement turned on the label will attempt to find empty space on the canvas, so it won't be deterministic on its own.

Revision history for this message
ocb-hd-ccb (ocb-hd-ccb) wrote :

I updated last night to...

```
Application: Eeschema
Version: (5.1.0-1174-g53e18489e), debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.54.0 LibreSSL/2.6.5 zlib/1.2.11 nghttp2/1.24.1
Platform: Mac OS X (Darwin 18.6.0 x86_64), 64 bit, Little endian, wxMac
Build Info:
    wxWidgets: 3.0.4 (wchar_t,STL containers,compatible with 2.8)
    Boost: 1.69.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.54.0
    Compiler: Clang 9.0.0 with C++ ABI 1002

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

an no longer experience this issue. I guess it was short lived in the previous nightly. I did play with the 'symbol field placement' but they had no effect on what I was previously experiencing.

Changed in kicad:
status: New → Fix Released
Changed in kicad:
status: Fix Released → Fix Committed
Revision history for this message
ocb-hd-ccb (ocb-hd-ccb) wrote :

Just tried a new nightly and noticed similar rotate label issues...

Attached is a video illustrating the issue. You can see first I duplicate a part with label right and rotate, then I duplicate a part label left and rotate and it flips the label to rotate the same as label left. Then I pull a new part from the list and it rotates very differently even after duplicate.

I feel like this fix went backwards recently because I thought I remembered testing it a few nightlies ago and it rotated as if it were a new part pulled from the list.

```
Application: KiCad
Version: (5.99.0-355-g65994e4a7), debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.64.1 SecureTransport (LibreSSL/2.8.3) zlib/1.2.11 nghttp2/1.39.2
Platform: Mac OS X (Darwin 19.0.0 x86_64), 64 bit, Little endian, wxMac
Build Info:
    Build date: Nov 11 2019 16:27:56
    wxWidgets: 3.0.4 (wchar_t,STL containers,compatible with 2.8)
    Boost: 1.69.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.54.0
    Compiler: Clang 9.0.0 with C++ ABI 1002

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

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.