Version: 1.10.4.1198
OS: Windows 10 21H1 (19043.1288)
Reproducible: Yes
Since updating to v1.10 I experienced crashing of the application when editing an embedded document. The issue does not appear when editing a linked document. The crash occurs right after completing any edit inside an embedded document, as soon as I let go of the mouse to confirm my edit (e.g. drawing a square, Designer keeps working while dragging, but crashes once I let go and finish drawing the square). Editing outside an embedded document does not produce any crash.
Through some testing myself I found out that the issue only occurs if 5 or more embedded documents are placed inside a document, where the embedded documents contain themself embedded documents (2 layers of embedded documents). Placing five embedded documents that them self contain no embedded documents is ok. Additionally this only seems to occur in case these five documents are placed as an embedded document, without editing any embedded documents between placing. If in between placing the required amount of documents one is edited, the crash does not occur after placing the remaining documents and editing one (As if editing an embedded document "resets" a counter that is not allowed to reach 5). Although I could not fully reliably recreate the issue as in some instances the crash does not occur even when following the above instructions.
(All embedded documents described below contain themselves embedded documents!)
Crash occurs:
Place five or more documents as embedded documents. After placing all five, open any of the embedded documents and edit one in any way
Place four documents as embedded documents. Edit any embedded document in any way. Place additional five document. Edit any embedded document in any way.
No crash occurs:
Place four documents as embedded documents. After placing all four, open any of the embedded documents and edit one in any way
Place four documents as embedded documents. Edit any embedded document in any way. Place one additional document. Edit any embedded document in any way.
The issue occurs with new documents created in v1.10, I do not know if it occurs with documents created with older versions as I have no older document with that amount of embedded documents. The issue occurs also with saved documents an restarting Designer in-between.
I have attached two documents one with five embedded documents (crash.afdesign) where the application crash occurs and one with four (no crash.afdesign) where it does not. I also recorded the creation of a document that crashes similar to the uploaded crash.afdesign file.
2021-11-20_16-33-27.mp4
no crash.afdesign crash.afdesign