Jump to content

Recommended Posts

Posted (edited)

Experiencing Crash to Desktop after trying to use the Corner Tool on a closed curve that the Contour Tool had previously been used (and Baked) prior to using the Corner Tool. This is an active bug in the previous beta build (and live) and I presume this build too. I was busy testing repeatability and a workaround.

Steps to reproduce

  1. Create a Square and Convert to Curves then manipulate it into a diamond shape (See Red "BAD" face in picture)
  2. Using the Contour Tool create a negative contour (I used minus 0.2mm) and Bake Appearance
  3. Switch to the Corner Tool and attempt to drag a corner.
  4. Some of the Corners will work, some will not round correctly. Usually it results in a crash to desktop on a corner that refuses to pull in.

Speculation: The Contour Tool produces some weird bad baked geometry on negative contouring

**Edit: This seems to be the case. A better Workaround is to check the nodes using the Node Tool and reset them with Convert to Sharp or whatever you contoured piece needs AND check for stray nodes and handles**

Temporary Workaround for very simple shapes

  1. Select the shape you wish to Contour and INSTEAD use the Transform Panel
  2. Select the centre on the Transform Panel and make sure the Lock Aspect Ratio is set on
  3. Enter the value a plus + or minus - value to either W width or H Height (e.g. if you wanted 0.2mm inset using the Contour Tool, use -0.4mm)
  4. The Corner Tool will now function as intended (See Green "GOOD" face in picture)

Anyway, I have to get back to work. I'll check back later if you need more details from me. It might be tomorrow as this has put me a bit behind.

 

CTDafterContour.JPG

Edited by Graphite Addict
Improved work around suggestion to use Node Tool
  • Staff
Posted

Hi @Graphite Addict,

Are you able to attach a file that is crashing for you when you attempt to apply the corner tool please? I'm able to replicate the difficulty with applying the Corner Tool after baking the Contour and this is something we're aware of. However what I cannot replicate is the crash you're getting.

What normally happens is that it will either create a non-sharp node, or create incidental nodes - either of which will stop the corner from being applied. I've attached a file following your steps that show both of these (Top right is incidental nodes, and bottom right is incorrect node type), but cannot replicate the crash.

PreCorner.afdesign

Posted

I think I can explain partially what is happening. I'll need to download the latest Beta as well to test that (you uploaded as I was testing with the previous build).

The Baked Contour is producing a fake sharp node. Using the Node Tool and selecting all the post-Baked nodes of the Contour shape, setting them to Convert to Smooth then Convert to Sharp allows me to then use the Corner Tool correctly without issue.

The "Bad" nodes indicated in my picture above have, as best I can describe it, invisible control handles or perhaps control handles well out of bounds of the Art Board. If they exist they are not tangent to one of the adjoining lines.

I'm including another picture to give you some idea.

I will upload the file once I have made a file that is reproducible without client materials in it.

ActivityThatCausesCrash.jpg

Posted

Okay that was easy to reproduce!

With the file included, use the Corner Tool on the Pink Diamond shaped curve in this order.

  1. The bottom right node
  2. The bottom left node
  3. The top right node should crash

Tested on today's build.

I should add that Affinity Designer is usually incredibly stable despite the volume of work I throw at it. Hence why I have so few posts here. :D

PreCrashPostContourBake.afdesign

Posted

No crash here, what ever the order I do it...

-- Window 11 - 32 gb - Intel I7 - 8700 - NVIDIA GeForce GTX 1060
-- iPad Pro 2020 - 12,9 - 256 gb - Apple Pencil 2 -- iPad 9th gen 256 gb - Apple Pencil 1
-- Macbook Air 15" - Mac mini M2-Pro - 16 gb

Posted
1 hour ago, AlainP said:

No crash here, what ever the order I do it...

Thank you for testing it. I can work around it either by resetting the nodes or using a transform instead. It might just be one of those rare edge cases that will ultimately be fixed when the Serif team gets contours to bake more predictably. If it just happens to me that's fine, if not then at least my workarounds will help others.

Posted

 

That's the main reason of this forum... helping each other.... and test... and test....

-- Window 11 - 32 gb - Intel I7 - 8700 - NVIDIA GeForce GTX 1060
-- iPad Pro 2020 - 12,9 - 256 gb - Apple Pencil 2 -- iPad 9th gen 256 gb - Apple Pencil 1
-- Macbook Air 15" - Mac mini M2-Pro - 16 gb

Posted
15 hours ago, Sean P said:

Hi @Graphite Addict,

Are you able to attach a file that is crashing for you when you attempt to apply the corner tool please? I'm able to replicate the difficulty with applying the Corner Tool after baking the Contour and this is something we're aware of. However what I cannot replicate is the crash you're getting.

What normally happens is that it will either create a non-sharp node, or create incidental nodes - either of which will stop the corner from being applied. I've attached a file following your steps that show both of these (Top right is incidental nodes, and bottom right is incorrect node type), but cannot replicate the crash.

PreCorner.afdesign

Right after further investigation myself this morning, I cannot get your file to crash nor could I last night. Frustratingly the file I uploaded also does not reliably crash.

However, I can go to an earlier stage in my saved file (see earlier post above, it includes history) apply a contour from there and bake it (not a redo), switch to the corner tool and cause a crash in both live and the current beta build.

I tested disabling OpenCL, as I know you have encountered some issues, but this did not alter the crashing behaviour whether on or off.

I tried monitoring the various graphs in Windows Task Manager > Performance tab. The Crash results in a 50% spike to the SSD. I presume that's an attempt write a crash log, however checking %AppData%\Affinity\Designer\1.0\CrashReports\reports & %AppData%\Affinity\Designer\1.0 (Beta)\CrashReports\ showed empty folders. The graphs report CPU load (i7 4790K), Memory (32GB) & GPU (Nvidia 1070ti 8GB) were all fine, no spikes (sub 10% load typically).

It would seem I have found a very naughty Unicorn that hides from everyone else. :D

I will work around it. :)

 

  • Staff
Posted
15 hours ago, Graphite Addict said:

Okay that was easy to reproduce!

With the file included, use the Corner Tool on the Pink Diamond shaped curve in this order.

  1. The bottom right node
  2. The bottom left node
  3. The top right node should crash

Tested on today's build.

I should add that Affinity Designer is usually incredibly stable despite the volume of work I throw at it. Hence why I have so few posts here. :D

PreCrashPostContourBake.afdesign 22.16 kB · 1 download

Thank you very much for the file - interestingly I think a save and reopen of the file after baking the contour actually prevents the crash when applying the Corner Tool - this isn't too dissimilar to another issue we've had where using a booleans would give incorrect results when you then applied the Corner Tool. Again a save and reopen resolved it.

That said using the history I was able to go back and reapply and bake the contour then apply the corner tool and that was crashing for me every time. As you say the Windows build wasn't giving any kind of crash report, however I was able to grab one on the Mac, so I'll get this passed along.

Thanks again,

×
×
  • 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.