Selection behaviour depending on position

Hello!

I noticed another oddity. 5.99 on Ubuntu 20.10.

When using selection on a group, sometimes it doesn’t work, it depends on the positon of the items.
I made a video to explain what happes. I made 2 similar symbols, one is at the left and one at the right of the current component (connector).

  1. Selecting the symbol on the right. I have selected until inside of the triangle. It worked, the component is selected.
    2.Selecting the symbol on the left. I have tried to select the same amout of the component, inside of the triangle. It doesn’t work. Only the string “GND” which is fully inside of the selction area is selected.
    NB: As it is a ground symbol, the “active” point is in both cases outside of the selection area.

I also verified with the wires on the left and on the right. Right is selectable, left is not.

Notice the cursor icon is different drawing the drag?

It’s a feature a few CAD programs have. Dragging right to left does a “crossing selection”, only part of the object needs to be within the box to fully select it. Dragging left to right is a “window selection”, the entire object must be inside to select it.

1 Like

Interesting,
5.1.9 used to behave like this. Seems to only do
“crossing selection” either way now.

Those two drag-selection modes work OK for me on Kubuntu.

Version: (5.99.0-9739-g6a369b230f), debug build

both selection modes work fine on 5.99 for me as well (linux). Sure it’s not working for you?

Icon stays the same on the cursor whether right to left or left to right selection.

Note: I’m still using 5.1.9

Selection used to work correctly.
Maybe it was 5.1.8?
Maybe it was before I moved to Linux?
I just can’t remember.

The only reason I checked was to confirm the OPs observation but @marekr replied while I was still puzzling over my programs behavior.

Hello!

Thanks! I didn’t know it was a feature and indeed it can be useful.

Ah, the icon changing is a 5.99 feature. The selection type should still change in 5.1.9, though.

That, I know.
As I stated: it used to work properly.
Maybe I need to wind up the rubber band in my PC a bit more. :slightly_smiling_face:
Whether there was an icon change on the cursor or not, I had never noticed 'till this thread.

Any one else tried this function on 5.1.9?
I’m using:

Application: KiCad
Version: 5.1.9-73d0e3b20d~88~ubuntu20.04.1, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Platform: Linux 5.4.0-65-generic 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.71.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.68.0
Compiler: GCC 9.3.0 with C++ ABI 1013

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

5.1.9 has a very different selection scheme in eeschema than 5.99 where it was redone. Now it behaves closer to pcbnew

Contextual cursors are also only a 5.99 feature

@marekr,
Ahha!
The penny (or big lump of concrete) finally drops.

PCB in 5.1.9 is where I’d seen this behavior before, not eeschema. :grimacing:

I’m going to blame lack of use of that tool, or dementia, or both.

Thankyou, Marekr.

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