-
Posts
537 -
Joined
-
Last visited
Posts posted by AdamStanislav
-
-
Thanks, Mark!
-
Have a look in your %AppData%\Affinity\Designer\1.0 (Beta)\autosave folder. The files that I found in mine seem to have timestamp names like '20160927192642.autosave'.
Thanks! I see I had four in there without ever knowing about them.
-
Yes, by default it saves every 5 minutes
Where does it save them to? And under what name?
-
I’ve been meaning to post this for quite a while but was never sure how to explain it all. But I think I can do it now. This is about exporting a specific type of graphic to SVG but it probably concerns exports to other vector formats as well, even though I only tested it with SVG.
So, for starters, here is an example of a graphic I am talking about, a pencil drawing where the stroked line has a variable width and where the line is drawn into a symbol that is mirrored along the vertical axis, then duplicated, rotated 180°, again duplicated and rotated 90°, so the result looks more-or-less cross shaped. Like this:
This is the AD file with that design, Cross-167.afdesign. If you export that to SVG, you end up with a huge (for such a simple design) file, namely Cross-167.svg, which is roughly 450 kB in size. If you take a look at it, you will see that it converted the one and only curve in it into eight separate curves. :angry: Yes, the same curve mirrored becomes two identical curves, except one is mirrored. Then duplicating them (and rotating 180°) produces two more for a total of four. Duplicating that (and rotating 90°) produces four more of the same for a total of eight! This despite the fact they are all a part of a symbol, so they all have the same exact shape, albeit one half of them is mirrored and most are rotated. But SVG is perfectly capable of displaying the same shape multiple times, even if moved, mirrored or rotated, without the need to define the shape eight times. Defining it just once and then using duplicates alone would cut down the size of the SVG to one eighth of its size.
But wait, there’s more. A lot more, lot, lot more! Examining the SVG in Inkscape shows that AD has exported each of the octuple as a series of very short straight lines, to be exact, 4,474 such lines per shape (so 35,792 line segments altogether, since it does it eight times). Here is what it looks like in Inkscape:
Seriously? Such an advanced drawing program cannot figure out how to export the shape as a few curves? Like this:
What I ended up doing, what I always end up doing, was edit the SVG myself. First I use the simplify feature of Inkscape and have it save the SVG. Then I lift the first and only the first path from what Inkscape gave me, plant it inside the SVG AD gave me, delete all the others, change the dimensions of the SVG to have the [0,0] coordinate in the middle (which makes mirroring and rotating very easy), and type in the SVG codes to duplicate that one path and mirror it, then to duplicate both the original and the mirror and rotate it 180°, then to duplicate all that and rotate it 90°. I even gave it a title, and I still ended up with an SVG of just 2,108 bytes but still showing the identical graphic. Unfortunately, the forum doesn’t allow me upload the small SVG; fortunately, you can easily download it from openclipart.org.
If I can do it, why can’t AD?
-
I’m saving them all in a subdirectory of my Documents directory, which is on a local drive inside my laptop (where it has always been). C:\Users\Adam\Documents\Beta - nothing exotic there.
-
And it has just happened again... 226c5560-fc16-4c7a-95db-1bebe537c058.dmp
This time, I opened Mandala-Guides-16.afdesign, did some drawing and saved as Kruhotvar-18.afdesign. AD sent the report,
then opened the saved file just fine:
Oh, and lest I forget, right before Windows popped up the message with the error 0x80004003, which means E_POINTER. In other words, somewhere somehow your code is trying to write to a protected area of the memory, typically, though not necessarily, NULL.
-
This is very strange, I've opened your Mandala-Guide-8.afdesign file and modified the symbol object a bit and resaved it without issue. Are all the crashes when you save been with files that contain symbols at all?
Yes, they all contain symbols. I use it to draw what I call mandaloids, i.e., objects with circular repetitions (though not necessarily true mandalas).
Also, this does not happen every time, though when it does happen, it has symbols in it.
-
And here’s a variation I haven’t seen before (perhaps it’s new to Beta 18?):
This time AD didn’t crash, it froze. After saving a file (which, this time, was new) it popped the above message and froze. No matter what I tried, I couldn’t unfreeze it, so I ended up killing it from the task manager. As usual, the file itself was saved properly and I could open it just fine once I restarted AD.
Also, this time the Crash Reports directory was empty and no crash report was sent.
-
OK, it just happened again (the first file I was working on with the new Beta 18.
So, first of all, here is the dump: af7c3146-8d3a-4afc-a982-37dc95b8d66c.dmp
Secondly, I started by loading this file, Mandala-Guide-8.afdesign, which I edited and finally saved as Kruhotvar-9.afdesign, and that is when the crash happened. I mean, after it saved the edited and renamed file because I have opened it afterwards with no problem (so far).
I hope this gives you enough detail to be able to track this down.
Adam
-
That was not my intention - we in no way expect you to go out of your way to record day after day hoping for the crash. By your reports it sounded like an easily reproducible issue for you, which is why I asked if you could make a video of it.
I know it wasn’t your intention. No, it was not easy to reproduce. It happened when it happened. Sometimes several times a day, but not since my last report. If it ever happens again, I will post here.
At any rate, whenever it happened, it would happen when I saved a drawing under a new file name. I have several files I use to start certain types of projects. Similar to my avatar here, they contain a certain grid and a symbol object repeated several times, so I can easily start drawing a mandala or a similar drawing, then I save it under a new name. It is at that point the crash would happen (though not always) but after the restart of AD, the file exists and I can load it and continue to edit the drawing just fine.
-
That’s not the point. I have professional video equipment for recording any HDMI signal, so I could easily use that. The thing is, what am I supposed to keep recording day after day until finally a crash happens?
I am happy to be Beta testing, but I’m not getting out of my way in doing it, sorry.
-
Well, I have had no crashes since the last report, so I’m going to wait with that Ctrl Run up and only do it if I experience any new crashes.
-
Thanks Adam, I've fixed the link now :)
You’re welcome. And thanks for fixing it.
-
Hi Adam,
It is general Windows behaviour to close the application when clicking the icon twice. If you go into Notepad or Windows Explorer and do the same with that it will also close the app. This is why you got the prompt to save your document.
Hmm... Strange I never noticed that before. OK, then. Sorry. ^_^
-
By mistake I clicked on the system icon (in the upper left corner of the frame of the main window) when I meant to click File. So I clicked File next, but AD just quit. It did not post any message, so it probably did not crash, just quit for some strange reason.
Puzzled, I then restarted, created a new file, added something to it, and clicked on that system icon twice, just to see what happens. AD asked me if I wanted to save the file, and when I said no, it quit.
I loaded AD again, and this time went straight for the system icon. I clicked on it twice, making sure during the second click I was not mistakenly clicking on the menu choice to close the application, but still on the icon. It quit.
This is not standard Windows application behavior. Looks like a bug to me.
Adam
-
No, not "mostly because". Entirely because! ;)
Indeed. :lol:
-
That link isn’t working, mostly because it has no colon after the https (which is followed directly by //). :P
-
Just to keep you updated, I have added many new symbols and have just uploaded the new version (1.0.3) at the same address.
-
My Windows user name is Adam. Just plain old ASCII, no special characters or symbols (unless starting with a capital letter is a problem).
I am not sure what you mean by a screen recording. Do you mean a video? That I am currently not equipped to do. Or do you mean a screen capture of the message that it crashed? That I should be able to do next time it happens.
Here is my basic system information (I cut out the activation key from the screen cap for privacy reasons):
Adam
-
Thanks! I ended up saving the file, quitting, restarting and reopening the file and everything was back to normal. I was actually looking at the View menu, but did not know which submenu to choose. Now that you mentioned it, I went back and see it says Rotate Left/Right and Reset Rotation. I had assumed that was for objects, not for the canvas, but now I have tried it and see it for what it is.
Thanks again,
Adam
-
-
And again just now... Right after saving a file with a new name.
Now, I’m not sure whether you want me to continue posting these, as there seems to have been a very little activity from the Serif people on this section of the forum lately. So, unless I hear otherwise, I shall stop posting these. But they still keep happening, albeit not every time.
Adam
-
Very nice!
-
And it happened yet again, while trying to save a new export preset. :( c37a3c47-2b1b-4871-a525-28839c877a9a.dmp

Does Affinity Designer have an auto save feature?
in [ARCHIVE] Designer beta on Windows threads
Posted
I noticed that when I drag an autosave file to AD, it opens fine. And when I click to close it, it asks me whether I want to save it. When I say no (they were old), it closes the file and deletes it from the autosave directory.