Jump to content

Surprise at being offered a recovery file by Affinity Designer


Recommended Posts

Yesterday I generated some artwork in Affinity Designer.

I saved the file as I went along.

When I had got in electronic form the idea that I had in my mind, I exported a png file at one third size in both axes (so a ninth of the area) and posted it in the Share your work section.

Loking at what i produced is probably not relevant to the question in this post, but for completeness, here is a link to the thread.

https://forum.affinity.serif.com/index.php?/topic/163212-art-and-a-poem-using-language-independent-glyphs/

So earlier this evening I decided to produce a full size jpg version (so as to inspect it and if fine get a hardcopy greetings card made featuring the artwork).

However, when I opened the file I was offerd a recovery file.

This is not the first time this has happened, not with this project, but with other projects.

So I accepted and saved as an .afdesign file with a new name (in fact, as before but _recovey file_added.

The artwork seems the same in both files, though that without detailed checking.

So my question please is as follows.

Does exporting a png file where one alters the size of the exported image or one alters anything about the export get regarded as changing the file, even if the artwork itself has not been altered since saving before the exporting dialogue was entered?

William

 

 

Until December 2022, using a Lenovo laptop running Windows 10 in England. From January 2023, using an HP laptop running Windows 11 in England.

Link to comment
Share on other sites

I routinely get prompts for recovery files in all of the Affinity apps. I'm not sure what causes it as the files are always saved before I quit, I tend to close all documents before I quit, and the app itself doesn't appear to have crashed. It always makes me a little nervous when I encounter it as it doesn't instil much confidence that your files won't be corrupted or suffer data loss.

Link to comment
Share on other sites

  • Staff

Hi @William Overington,

12 hours ago, William Overington said:

Does exporting a png file where one alters the size of the exported image or one alters anything about the export get regarded as changing the file, even if the artwork itself has not been altered since saving before the exporting dialogue was entered?

I believe this depends on what you've changed within the export dialog to whether or not the file gets flagged as modified after exporting. I've found that if you save, go to File > Export and change the resolution of your PNG and then export, it wouldn't flag this as a file being modified.

However, If I were to repeat the same steps but instead of changing the resolution in the Export menu I change the Preset or options in 'More...' and then export, this will flag the file as modified as it generates the 'Apply file export options preset' event in the History Panel.

 

image.png

Link to comment
Share on other sites

15 hours ago, William Overington said:

Does exporting a png file where one alters the size of the exported image or one alters anything about the export get regarded as changing the file, even if the artwork itself has not been altered since saving before the exporting dialogue was entered?

It can count as a modification, as @NathanC mentioned, but in that case when you try to close the application you'll be asked if you want to Save the file. Whether you say Yes or No to that prompt, you should not be offered a recovery file when you next use the file. But you might be offered one if the application crashed, or you terminated it without going through a normal application close.

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

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Link to comment
Share on other sites

5 hours ago, walt.farrell said:

 Whether you say Yes or No to that prompt, you should not be offered a recovery file when you next use the file. But you might be offered one if the application crashed, or you terminated it without going through a normal application close.

Occasionally, I get the offer to use a recovery file on my iMac when the app has not crashed, & I have either declined to save any changes to it or saved it before closing it.

I have as yet not figured out why or how to make that happen consistently.

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

Link to comment
Share on other sites

46 minutes ago, R C-R said:

I have as yet not figured out why or how to make that happen consistently.

In my experience the unwanted offer of opening a recovery file comes with Quitting the application with a document open that has unsaved changes. This is after a normal and successful quit, just clicking on the Don't Save button in the dialog. It is not 100% of the time so there is some recipe step that I am unaware of, perhaps after opening a file, or having a few documents with saved changes there as well.

Mac Pro (Late 2013) Mac OS 12.7.6 
Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5 | 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

There is also an ongoing discussion on Windows of apparent Affinity application crashes that happen invisibly, as the application is closing. You wouldn't notice them if you didn't look for crash reports and see them there. Perhaps that can also happen on a Mac, and if you intended to Close the application, you might not notice that it closed without asking you if it should save first (especially if you didn't realize you'd made changes).

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

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Link to comment
Share on other sites

12 minutes ago, walt.farrell said:

There is also an ongoing discussion on Windows of apparent Affinity application crashes that happen invisibly,

I shall endeavour to check my crash logs here on Mac if I see this happening going forward.

Mac Pro (Late 2013) Mac OS 12.7.6 
Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5 | 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

2 hours ago, Old Bruce said:

This is after a normal and successful quit, just clicking on the Don't Save button in the dialog. It is not 100% of the time so there is some recipe step that I am unaware of...

I am not sure if for me the Don't Save option has anything to do with it. I almost always close all open documents (saving changes or not) before quitting the app & I think (but am far from sure) that either way the recover file option occasionally pops up when relaunching the app. Perhaps related, from time to time I notice that the per user Data > Application Support > Autosave folder still has a file in it after quitting the app normally,   sometimes including *.autosave files with modification dates weeks or months old.

Also, I have no crash logs that would indicate any of my Affinity apps have crashed dated before I get the recover file option on a relaunch of the app.

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

Link to comment
Share on other sites

6 minutes ago, R C-R said:

Perhaps related, from time to time I notice that the per user Data > Application Support > Autosave folder still has a file in it after quitting the app normally,   sometimes including *.autosave files with modification dates weeks or months old.

Remember that Autosave files are used in 2 ways when the application crashes and you had files open with unsaved changed:

  1. For unnamed (never before saved) files: If the application crashes, then when you restart the application you are offered the recovery file.
  2. For named (previously saved) files: If the application crashes, then the next time you Open the named file you are offered the recovery file. You do not get them automatically when the application restarts.

Thus, it is possible that you will have Autosave files because the application crashed with unsaved changes, but that you won't be offered them immediately because you didn't immediately get back to editing a named file (case 2).

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

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Link to comment
Share on other sites

9 minutes ago, walt.farrell said:

Thus, it is possible that you will have Autosave files because the application crashed with unsaved changes, but that you won't be offered them immediately because you didn't immediately get back to editing a named file (case 2).

But as I have said several times now, there is no indication whatsoever that the app has crashed -- no crash report, no offer to send a crash report to Apple (which in System Preferences on my Mac is set to do globally for any app crash), nothing at all to suggest the app crashed, including 'silently' when quitting, with or without any document open, unsaved or not.

For case 2, occasionally it will make the offer when I am 100% certain that I successfully saved & closed a previously named & saved file long before quitting the app when next I open it. As best as I can tell, there is no difference if I accept the offer or reject it -- the file looks the same either way, so it is unclear what it thinks there is to recover.

Also, typically the retained *.autosave file is only a few 100 bytes at most.

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

Link to comment
Share on other sites

  • 2 years later...

This is getting more frequent.  I save and quit as I would any other program and I often, but not always get the auto recovery dialog the next time I open Designer.  It is definitely a bug.  If I chose the "don't recover" I lose file information, so not a harmless bug.

Link to comment
Share on other sites

49 minutes ago, kloplo said:

This is getting more frequent.  I save and quit as I would any other program and I often, but not always get the auto recovery dialog the next time I open Designer.  It is definitely a bug.  If I chose the "don't recover" I lose file information, so not a harmless bug.

Hi and welcome to the forums. You've posted in a very old thread so if you're using 2.5 then this isn't the right issue. There is a known issue with the recovery prompt being displayed when starting Affinity 2.5. Some of this was fixed in 2.5.5 and Serif has already stated that they've fixed more triggers for this issue for the upcoming version 2.6.

If you saved and closed your document properly when you last used Affinity, this recovery prompt is just wrong, you are losing nothing and it really is a harmless bug.

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.