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

Geometry XOR: Is this, umm, normal?


Recommended Posts

Howdy friends!

I was building a few vector shapes for a design and playing with the Geometry options to "knock out" overlapping parts of the shapes, etc. At some point I inadvertently hit the "XOR" function in the Geometry toolbar, and … well, it brought up a slowly pulsating "Xor" progress bar on top of the window. There's no option to cancel or dismiss it; I can't edit or do anything with the document while it's there; and I've tried Escape, Return, control-C, command-C, option-C, and a bunch of other keystrokes to try to kill the process. It's been running for several minutes now … I selected a few objects but I don't think it was anything THAT complex to take so long to figure out?

I could kill the app, but … well, that would lose a few minutes work, and … is this normal?

Thanks!

Screen Shot 2019-09-03 at 10.54.06 AM.png

Link to comment
Share on other sites

  • 1 year later...

I just posted that this crashed my new M1 mac, and I replicated the crash on such a simple drawing. Step 1: create a circle. Step 2: create a line from the top of the circle to the bottom of the circle, setting both the lines endpoints on the circles "nodes"?.  Step 3: Hit the XOR button. Crashes all the time. 

Link to comment
Share on other sites

8 hours ago, smartin684 said:

I just posted that this crashed my new M1 mac, and I replicated the crash on such a simple drawing. Step 1: create a circle. Step 2: create a line from the top of the circle to the bottom of the circle, setting both the lines endpoints on the circles "nodes"?.  Step 3: Hit the XOR button. Crashes all the time. 

What exactly did you expect to happen?
Obviously the program should not crash, or hang, but is this really a proper use of the function?

The help file gives "Xor—merges selected objects into a composite object with transparent area where filled regions overlap", and overlap a filled square and a circle and it works as advertised.

A line (which could be very thin) intersecting two of the node points of an equally thin (unfilled?) circle doesn't seem to me to provide the basis for proper use of that function.  Maybe my interpretation of the test you did isn't correct?.

Edit: If you try the attached file, which is a rectangle over the two node points of a circle, the XOR function works as I would expect.

 

XOR Test.afdesign

Intel i7-10700 Gen10 CPU, 32GB RAM, Geforce GTX 1660 OC 6GB
Windows 10 Pro 22H2, 1x 1TB M.2 NVMe, 1 x 2TB M.2 NVMe. Affinity APh, APu, ADe

Link to comment
Share on other sites

25 minutes ago, BofG said:

There was a passenger aircraft once that during testing happily lifted the landing gear if the button was pressed whilst sitting on the ground. Should that have been left as it was and gone into commercial service?

Maybe the help file just needs updating to state the program will crash if the wrong objects are selected...

:)

No, as I said in my post, the program shouldn't crash, or stall. If the selected items are not valid for the tool to work properly, the tool ideally shouldn't be available (grayed out), or at least if used and unable to produce a result, then there should be an error message and a dignified exit.

My question as to what the expectation, was in relation to what part of the line would be expected to merge with the circle and what part of the "overlap" would be expected to become transparent. 😀

Intel i7-10700 Gen10 CPU, 32GB RAM, Geforce GTX 1660 OC 6GB
Windows 10 Pro 22H2, 1x 1TB M.2 NVMe, 1 x 2TB M.2 NVMe. Affinity APh, APu, ADe

Link to comment
Share on other sites

13 hours ago, smartin684 said:

Step 1: create a circle. Step 2: create a line from the top of the circle to the bottom of the circle, setting both the lines endpoints on the circles "nodes"?.  Step 3: Hit the XOR button. Crashes all the time. 

Can't reproduce. Using a boolean compound for the screenshot, but getting same result destructively:

ade_xor_open_curve.png.c8af2d367ce6938d4c57ed37dbab276a.png

The line simply disappears.

That said, there is a problem with open curves in boolean operations, and that has been acknowledged by Serif several times.
Here an example from my own bug report vaults, still unresolved:

So, if this is what you need:

ade_xor_open_curve_expand.png.abd138a146ecb05669088cd05af0c286.png

… the workaround is:

  1. set the open vertical stroke to a ridiculously narrow width, like 0.0001 pt
  2. Layer > Expand Stroke – converts it to an ultranarrow fill
  3. boolean operation with the ellipse
13 hours ago, smartin684 said:

this crashed my new M1 mac, and I replicated the crash

It could be an M1 or Big Sur specific issue. Apparently there are many of those – and not just with Affinity apps. (Lacking a Mac that is capable to run Bug Sir, I can't tell…)

MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2

Link to comment
Share on other sites

14 hours ago, smartin684 said:

I just posted that this crashed my new M1 mac, and I replicated the crash on such a simple drawing. Step 1: create a circle. Step 2: create a line from the top of the circle to the bottom of the circle, setting both the lines endpoints on the circles "nodes"?.  Step 3: Hit the XOR button. Crashes all the time. 

If you can constantly reproduce this, file in a Affinity Designer on MacOS bug report which describes this BigSur related bug. Also look for possible crash reports you may want to add to your posting then.

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

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.