Distribute Horizontally/Vertically is not working

Bug #1782988 reported by Leandro Heck
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
High
Jeff Young

Bug Description

Distribute Horizontally/Vertically is not working on Footprint Editor.

Application: kicad
Version: 6.0.0-rc1-unknown-7dfc4e3~65~ubuntu18.04.1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.58.0 OpenSSL/1.1.0g 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 4.15.0-25-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.65.1
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.58.0
    Compiler: GCC 7.3.0 with C++ ABI 1011

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

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

Please also provide a demo file and images to show start and end results.

Changed in kicad:
status: New → Invalid
Revision history for this message
Leandro Heck (leoheck) wrote :

I am selecting multiples pads, then "Right-Click > Align/Distribute > Distribute Horizontally" but nothing changes.

Demo as requested.
https://www.dropbox.com/s/v9hmksm68oimx90/kicad_distribute_issue.mp4?dl=0

Revision history for this message
voneiden (snaipperi) wrote :

Same here, neither distribute horizontally or vertically appear to do anything. Align commands work as expected. User error or bug?

Steps taken:

1) Select two or more footprints or pads using shift + left click
2) Right click -> Align/Distribute > Distribute Horizontally/Vertically
3) Context menu closes with no observable effects

Application: kicad
Version: (5.0.0), release build
Libraries:
    wxWidgets 3.0.3
    libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.11 libssh2/1.8.0 nghttp2/1.23.1 librtmp/2.3
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.60.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.54.1
    Compiler: GCC 7.1.0 with C++ ABI 1011

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=OFF
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Changed in kicad:
status: Invalid → New
Jeff Young (jeyjey)
Changed in kicad:
status: New → Confirmed
importance: Undecided → High
milestone: none → 5.1.0
milestone: 5.1.0 → 5.0.1
Revision history for this message
Seth Hillbrand (sethh) wrote :

This works as expected in v5 using Linux.

Revision history for this message
Jeff Young (jeyjey) wrote :

@Seth, distribute or align? (I'd be very surprised if it worked for distribute as there's code in there to filter pads out of the selection.)

Revision history for this message
Seth Hillbrand (sethh) wrote :

Maybe I'm doing something different than you. Here's my procedure:

Revision history for this message
Jeff Young (jeyjey) wrote :

@Seth, thanks for that. Turns out the filter-pads change was inadvertently added post 5.0, so you are correct that it worked in 5.0.

Changed in kicad:
milestone: 5.0.1 → 5.1.0
Jeff Young (jeyjey)
Changed in kicad:
assignee: nobody → Jeff Young (jeyjey)
status: Confirmed → Fix Committed
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

Remote bug watches

Bug watches keep track of this bug in other bug trackers.