Create Array... wrong start number

Bug #1814917 reported by Thomas Pointhuber on 2019-02-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone
John Beard

Bug Description

# Current Behaviour

footprint editor -> click on pad -> "Create Array..."

Assume we have a single pad with number 1.

When we create an array (either with "use first free value" or "from start number" with start 1) The pad is removed and a pad with number 2 is at the position. In Fact, it should NOT increment the start value when placing the first pad.

* When you use first free value it would be assumed that the current pad is not replaced with n+1.
* When you select a start number, a user should expect that the first pad has this number, not n+1. In case of alphabet numbering a user cannot create arrays starting with "A" at the moment due to this behaviour!

# Expected Behaviour

* In case of selected start number, the selected number is used for the first pad, not the increment of it
* In case of use first free number mind the current pad.

# Version Information

Application: kicad
Version: (5.1.0-rc1-2-g507229809), debug build
    wxWidgets 3.0.4
    libcurl/7.63.0 OpenSSL/1.1.1a zlib/1.2.11 libidn2/2.1.0 libpsl/0.20.2 (+libidn2/2.1.0) libssh2/1.8.0 nghttp2/1.35.1
Platform: Linux 4.20.6-arch1-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
    Boost: 1.69.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.63.0
    Compiler: Clang 7.0.1 with C++ ABI 1002

Build settings:

tags: added: array
Changed in kicad:
status: New → Confirmed
Changed in kicad:
assignee: nobody → John Beard (john-j-beard)
Changed in kicad:
milestone: none → 5.1.0
importance: Undecided → Medium
status: Confirmed → In Progress
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision edc73de023b4f080664b1dc1291458928da3eb8a

Changed in kicad:
status: In Progress → Fix Committed
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers