reset to defaults in eeschema puts fields in the wrong position

Bug #1692436 reported by Lorenzo Marcantonio
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Low
jean-pierre charras

Bug Description

In today's git eeschema

Using the 'Reset to defaults' pushbutton in the component properties places the fields way off their rightful places (usually off the sheet!). Seems that some offsets are applied twice and/or with the wrong sign since components in the upper left have less error that the ones in the bottom right...

Application: eeschema
Version: (2017-05-19 revision fb48d10)-master, debug build
Libraries: wxWidgets 3.0.2
           libcurl/7.50.1 OpenSSL/1.0.1t zlib/1.2.8 c-ares/1.11.0 libidn/1.33 libssh2/1.7.0
Platform: Linux 4.7.1 x86_64, 64 bit, Little endian, wxGTK
- Build Info -
wxWidgets: 3.0.2 (UTF-8,wx containers,compatible with 2.8)
Boost: 1.61.0
Curl: 7.50.1
KiCad - Compiler: GCC 6.1.0 with C++ ABI 1010
        Settings: USE_WX_GRAPHICS_CONTEXT=OFF
                  USE_WX_OVERLAY=OFF
                  KICAD_SCRIPTING=OFF
                  KICAD_SCRIPTING_MODULES=OFF
                  KICAD_SCRIPTING_WXPYTHON=OFF
                  KICAD_SCRIPTING_ACTION_MENU=OFF
                  BUILD_GITHUB_PLUGIN=ON
                  KICAD_USE_OCE=OFF

Tags: eeschema
Revision history for this message
Nick Østergaard (nickoe) wrote :

This is likely a dupli ate bug. Please provide sample files.

Revision history for this message
Lorenzo Marcantonio (l-marcantonio) wrote :

Trivial to reproduce, I just added a component in the middle of the sheet.
Enter the 'edit component' panel, click on reset defaults and the text fields go out of the sheet

Revision history for this message
Nick Østergaard (nickoe) wrote :

OK, I can confirm this, it seems to be a recent regression.

I could be useful if you have time to perform a git bisect to see when the issue was introduced.

windows 7
Version: (2017-05-14 revision 14bb238b3)-makepkg, release build

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

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

Changed in kicad:
status: New → Fix Committed
Changed in kicad:
assignee: nobody → jean-pierre charras (jp-charras)
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.