Jump to content
You must now use your email address to sign in [click for more info] ×

Selecting objects by intersecting marquee - problem


Recommended Posts

I'm having problems with the "select object when intersects with selection marquee option". Example screenshot attached. I want to click/drag to select only the small line as shown, but it's also selecting the larger line as well. It's as if the selection is too "generous" and selects objects even when they are close, not actually interesecting.

A worse example is trying to select a small object totally enclosed by a larger one, see second screenshot. It's impossible - the outer object is always selected.

I know that in these examples I don't need to use the intersect with marquee option, but they're just examples - an actual design I'm working on would benefit hugely from this, and I can't use it. Also, none of the lines have a fill, so it's not like it's intersecting with the fill.

Would appreciate any tips on how to get this working correctly!

SELECTION.jpg

selection2.jpg

Link to comment
Share on other sites

Hi Lindsay, I can't duplicate the top issue at all, it always selects just the small line for me.

The second one (line inside circle) is by design. Your drag is intersecting the circle. The setting doesn't mean when it intersects the object's stroke, it means when it intersects the object's stroke and fill. An unfilled circle or unfilled curve still has an associated fill area and intersecting with that will select the object.

Download a free manual for Publisher 2.4 from this forum - expanded 300-page PDF

My system: Affinity 2.4.0 for macOS Sonoma 14.4, MacBook Pro 14" (M1 Pro)

Link to comment
Share on other sites

By design, but it seems wrong when I have a shape with no fill still being selected.

Mac Pro (Late 2013) Mac OS 12.7.4 
Affinity Designer 2.4.0 | Affinity Photo 2.4.0 | Affinity Publisher 2.4.0 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

6 hours ago, Lindsay Wilson said:

Example screenshot attached. I want to click/drag to select only the small line as shown, but it's also selecting the larger line as well. It's as if the selection is too "generous" and selects objects even when they are close, not actually interesecting.

It might help if you gave us a sample Affinity document (.afdesign, .afphoto, .afpub) that demonstrates the problem. Also, what OS are you using?         

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

@MikeTO @Old Bruce @walt.farrellthanks for getting back. If indeed that is by design, I'm afraid that's pretty silly. I understand if the object had a fill, that's no problem, but to still behave the same way on an object with no fill? Weird. Anyway, here's an example file, along with a screenshot. I'm on Win 10, 64 bit, and using the latest version of Designer (2.0.4).

The big line has a variable-width stroke, set using the pressure curve. Forget for a moment about the click+drag selection thing, and only consider selection by clicking. Try clicking near the big line to select it - you'll see that if you click anywhere roughly within the red-highlighted area, the big line gets selected. This seems weird - I understand having a slight tolerance, but even at the thin end of the line, it still gets selected when clicking relatively far away. Logically, I would expect to only be able to select the line when clicking on the black area - for example, this is what Inkscape does. Illustrator, on the other hand, selects only when clicking on the actual curve path (at least in my version).

Now for the fun part - try to select the short blue line by clicking on it. You can't. Even though it's separated from the big line, it's still within the big line's "sensitive zone", so the big line gets selected in preference. The blue line also happens to be below the big line - if you move it above, then you can select it, but I positioned it below to demonstrate the point.

For the click+drag, if you start anywhere within the red area, then the big line again gets automatically selected.

This is a really peculiar behaviour. Somebody please tell me I'm doing something wrong, or there's a setting I've missed, otherwise I'm going to like Designer a lot less!

image.png

Selection demonstration.afdesign

Link to comment
Share on other sites

16 hours ago, Lindsay Wilson said:

I still stand by my original claim that having an object get selected when you don't click directly on it (which is essentially what this all boils down do) is dumb!

But you were clicking "directly on it".

Here is what you provided to us (with the pink layer hidden, as it confuses things a bit):

image.png.be866152371a07e1fbfe4d2da87a05b1.png

Anywhere within that blue rectangle (bounding box) for the large curve is part of the curve.

If you want to select the small line on the upper left, you can:

  1. Start your selection above it, or slightly higher than you were (to avoid the bounding box of the larger curve). Or
  2. Change your Preferences, Tools, so you have to fully enclose an object to select it. or
  3. Select by clicking or Alt-clicking, not marquee selection.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

@walt.farrell Thanks for the reply. Perhaps I'm being obtuse, but to me, "clicking directly on it" means "clicking ON the black region". Not "clicking somewhere NEAR the black region". No other software I use regularly (e.g. Illustrator, Rhino, Inkscape) behaves like this.

Part of the problem in Designer also seems to be caused by the use of a tapered stroke. If I use the pressure curve to produce a tapered stroke, the selectable region still behaves as if the path had a full-width stroke. I.e. at the narrow end of the path, it easily gets selected even when clicking away from the path. Just to nail it flat once more - clicking anywhere in the highlighted area selects the curve. I still say this is weird.

SELECTION.jpg

Link to comment
Share on other sites

1 hour ago, Lindsay Wilson said:

Perhaps I'm being obtuse, but to me, "clicking directly on it" means "clicking ON the black region". Not "clicking somewhere NEAR the black region". No other software I use regularly (e.g. Illustrator, Rhino, Inkscape) behaves like this.

Clicking directly on an object works for me in the Affinity apps, so I do not know why that is not working for you.

But as @walt.farrell explained, clicking elsewhere in its bounding box works differently from what you might expect.

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

12 minutes ago, Lindsay Wilson said:

It's the clicking elsewhere I have issue with.

The object is bigger than you realize, as it has a rectangular bounding box.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

35 minutes ago, walt.farrell said:

The object is bigger than you realize, as it has a rectangular bounding box.

Even so, there seems to be in V2 at least a zone just slightly inside the bounding box near its edges that does not select the black object in the example file. That doen't seem right.

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

16 hours ago, walt.farrell said:

The object is bigger than you realize, as it has a rectangular bounding box.

I do not think that it is the bounding box that determines the hitting area in context of marquee selection but imaginary area of the object as if it were filled. There is also a tolerance of selection determined in pixels so an object when viewed as small will appear to be selected from a greater distance from the actual path.

On the other hand, for direct selection (not performed by using a marquee) an object will not be selected by the same area but based on tolerance. This is clearly different from behavior of e.g. Illustrator, where the default (I think) is that objects are selected as if they were filled, and if this option is disabled, only when clicking the actual path (within the set tolerance) or marquee selecting crossing a path.

There does not appear to be a possibility to change this behavior in Affinity apps, but only the behavior of marquee selection (whether an object to be selected needs to be enclosed entirely or only by its [imaginary or actually] filled area). As for direct selection, an object will be selected only when its path [within toleration] or actual [but not imaginary] fill is clicked.

In many apps, like Inkscape, CorelDRAW and VectorStyler Alt/Option key is used as a modifier to perform partial marquee kind of selection where the actual path needs to be crossed to make an object included in a selection. This kind of behavior would be nice to have also in Affinity apps, since partial marquee selection as it is implemented now behaves "unintuitively" in comparison to other similar apps. [Interestingly, this kind of partial marquee selection, without a modifier key, needing crossing of the actual path, is applied in Affinity apps when selecting e.g. Donut shapes made to arcs with 100% Hole radius.]

Link to comment
Share on other sites

@R C-R Hmm...so for you is it selecting the big black line when clicking anywhere within the bounding box (apart from near the edges)? Or is it only within the area I highlighted? For me, it's definitely only in the highlighted area.

14 hours ago, R C-R said:

Even so, there seems to be in V2 at least a zone just slightly inside the bounding box near its edges that does not select the black object in the example file. That doen't seem right.

 

Link to comment
Share on other sites

3 hours ago, lacerto said:

I do not think that it is the bounding box that determines the hitting area in context of marquee selection but imaginary area of the object as if it were filled. There is also a tolerance of selection determined in pixels so an object when viewed as small will be appear to be selected from a greater distance from the actual path.

On the other hand, for direct selection (not performed by using a marquee) an object will not be selected by the same area but based on tolerance. This is clearly different from behavior of e.g. Illustrator, where the default (I think) is that objects are selected as if they were filled, and if this option is disabled, only when clicking the actual path (within the set tolerance) or marquee selecting crossing a path.

There does not appear to be a possibility to change this behavior in Affinity apps, but only the behavior of marquee selection (whether an object to be selected needs to be enclosed entirely or only by its [imaginary or actually] filled area). As for direct selection, an object will be selected only when its path [within toleration] or actual [but not imaginary] fill is clicked.

In many apps, like inkscape, CorelDRAW and VectorStyler Alt/Option key is used as a modifier to perform partial marquee kind of selection where the actual path needs to be crossed to make an object included in a selection. This kind of behavior would be nice to have also in Affinity apps, since partial marquee selection as it is implemented now behaves "unintuitively" in comparison to other similar apps. [Interestingly, this kind of partial marquee selection, without a modifler key, needing crossing of the actual path, is applied in Affinity apps when selecting e.g. Donut shapes made to arcs with 100% radius.]

@lacertoInteresting stuff. You're right, it does indeed appear to be the area that would be filled. Why it's different when using the marquee instead of clicking, I can't understand. It also makes it impossible to use the marquee + crossing within a closed shape - e.g. say you have several small shapes inside a larger circle, you'll always end up selecting the outer circle as well.

Now I understand what that option in Illustrator does ;-) There's a setting for "Object selection by path only" - sure enough, if that's on, then you have to click on the actual stroke for it to be selected, and it ignores the filled area. However, even with the option off, if the path has no/empty fill, then Illustrator still ignores the filled area and reverts to only clicking on the path. Affinity considers the filled area regardless of whether it's really filled or not.

The Alt select option in Inkscape is very useful, as it allows dragging freehand across the objects to be selected, you're not just confined to a marquee.

Another sort of behaviour, which I've been accustomed to for so long without realising, is used for marquee selection in Rhino. If you drag from left to right, then it selects enclosing objects, but if you drag right to left, it selects crossing objects. Very easy way to choose the behaviour without having to worry about modifier keys.

Link to comment
Share on other sites

56 minutes ago, Lindsay Wilson said:

If you drag from left to right, then it selects enclosing objects, but if you drag right to left, it selects crossing objects.

Yes, that's good. It would make it possible to use a modifier for yet another selection method/option.

Link to comment
Share on other sites

I just noticed that there does not seem to be any selection logic, at times.

This file has the same shape copied and flipped, but the "invisible fill" won't work with the object on the bottom (one that was flipped). (Created and tested on Windows Pro 11, Publisher 2.0.4):

which_selection_logic_v02.afpub

Then I copy pasted the objects in version 1 file, and here the marquee selection needs to be touching the path (similarly as in most other apps where partial marquee selection is used):

which_selection_logic_v01.afpub

So maybe this is just a bug in versions 2 (rather than intentionally changed behavior not just yet fully implemented).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.