Block selection issue

Hi

When selecting several item by using a right to left selection, the footprints that cross the selection rectangle are supposed to be selected.

Quite strangely, I get selected footprints that are not crossing this rectangle.

Selection rectangle:

Selected items:

I probably miss something…

Application: kicad
Version: (5.1.1-13-g3a744ad72)-1, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 7 (build 7601, Service Pack 1), 32 bit, Little endian, wxMSW
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.68.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.61.1
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_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

Background info for inexperienced users stumbling across this thread:

Doing the selection by moving the cursor left-to-right behaves slightly different from moving right-to-left. One direction is supposed to select all items that are touched by the selection rectangle; the other direction is supposed to select only items that are completely enclosed within the selection rectangle.

(Unfortunately, I can never remember which is which. I have been told that this is a common, unwritten, standard among CAD - and some other drawing programs. Mechanical guys under 30 were probably born knowing this. Us electrical guys over 60, fumble around until we seem to get the results we want. Superannuation strikes again.)

Dale

1 Like

Left to right selects all item completely enclosed by the selection rectangle, while right to left is supposed to select all items touching this rectangle.

The latest seems to have issues (or at least isn’t intuitive on selected items - see above). I also noticed it also depends on using the high contrast mode or not (which is supposed to alter the user view only).

High contrast mode always limited selection to the active layer only. (Ok active layer is the wrong word. Active pcb side is more fitting as it also selects top footprints if you have top copper active in high contrast mode.)

In the above case, I used an test array of individual THT pads (so both copper sides are identical). But none of them have reference or value. I’m wondering if it is relevant regarding the selection ?

My guess would be those footprints have some invisible elements on other layer (maybe fab?) that get touched by your selection. Which should never be the case but it’s at least an explanation. High contrast mode may solve some of this if it ignores invisible layers.

After a closer examination, it seems to come from the Ref field located on the Fab layer ("%R"). Even if this fab layer is disabled (so its content is not visible to the user), it’s taken into account by the selection rectangle, which is totally counter-intuitive, and a bug to me.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.