pad alignment in footprint editor

Bug #1825200 reported by Pedro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Expired
Undecided
Unassigned

Bug Description

Pad alignment does not work well in the footprint editor. It seems like it has some kind of "memory" of the previous command.
Align to Top, Align to Bottom, Left, Right Middle and Center work after some tries.

Align to Top and Align to Bottom sometimes move the pads up and sometimes down, no matter if I select Align to Top or Align to Bottom.

The bug was also present on the previous release Version: 5.1.0-060a0da~80~ubuntu14.04.1, release build.

Application: kicad
Version: 5.1.1-8be2ce7~80~ubuntu14.04.1, release build
Libraries:
    wxWidgets 3.0.2
    libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
Platform: Linux 3.16.0-77-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.54.0
    Curl: 7.35.0
    Compiler: GCC 4.8.4 with C++ ABI 1002

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    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=OFF
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Revision history for this message
John Beard (john-j-beard) wrote :

The items are (currently) aligned to the target according the following rule:

* If there are any locked item, use the left/top most of these items at the target, else,
* If the cursor is over one of the selection, use that as the target, else,
* If the cursor is not over one of the selection, use the left-most or top-most item as the target

So, depending on where the cursor is, you may see different results.

Revision history for this message
Pedro (pkicad) wrote :

Thanks John,

I think this kind of behaviour is weird and confusing:

With the cursor over a particular pad (for example pad 60 in the picture attatched) I get the same result with "Align to Top", "Align to Bottom" and "Align to center".

Revision history for this message
Michael Kavanagh (michaelkavanagh) wrote :

Is there a bug here, or is it a misunderstanding?

Please also see related bug "KiCAD 5.1 -- pcbnew Align/Distribute context menu text arguably wrong" https://bugs.launchpad.net/kicad/+bug/1822906

Changed in kicad:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for KiCad because there has been no activity for 60 days.]

Changed in kicad:
status: Incomplete → Expired
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.