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

THE FIRST AND VERY OLDEST AFFINITY BUG, SINCE 2016, NEVER FIXED!


Recommended Posts

Please, before do your commentary, see the video til the end.

This is the very oldest Affinity BUG. Perhaps the first of hundreds. Outlived all Affinity updates since 2016. It was never fixed.

Unlike Photoshop, Affinity has no EDIT/PURGE menu. I know, because I've been working with Affinity since its launch in 2016. I've reported this BUG before, but nothing has been done.

Please, please, please, please, add a EDIT / PURGE menu in Affinity Photo, Designer and Publisher, like Photoshop do.

What is the problem?

Create any file with Affinity Photo, with several objects (bitmaps and vectors), save the file, close Affinity. Then open Affinity again and try making changes to the file, like deleting bitmap objects, for example. You will notice that the file size does not decrease even after deleting all the objects. Watch the video until the end.

I mentioned it to a friend, and he recommended that I post the video on YouTube, so the people at Serif take action. But I decided to give the people at Serif one more chance, to see if this time they fix the first Affinity BUG, which has survived undefeated for seven years until today.

01 Original file.afphoto

Link to comment
Share on other sites

Even if you delete all the content and resize the document size to 1 x 1 px the file size will not decrease. This is ridiculous...

Affinity Photo 2.0.0.1640  Windows 11 Pro 22H2  CPUAMD Ryzen 3700X  RAM: 32 GB 3200 Mhz  GPU: AMD Radeon RX 5700 XT 8GB  NVMe M.2 WD Black Sn750 500GB   Monitors: 1 x Samsung 24" 1080p + 1 x Dell 22" 1050p

Link to comment
Share on other sites

I think it should be implemented as an automatic process when saving the file. I don't find any reason why the user should do it manually.

Affinity Photo 2.0.0.1640  Windows 11 Pro 22H2  CPUAMD Ryzen 3700X  RAM: 32 GB 3200 Mhz  GPU: AMD Radeon RX 5700 XT 8GB  NVMe M.2 WD Black Sn750 500GB   Monitors: 1 x Samsung 24" 1080p + 1 x Dell 22" 1050p

Link to comment
Share on other sites

22 minutes ago, herhey said:

I think it should be implemented as an automatic process when saving the file. I don't find any reason why the user should do it manually.

It is not done on every Save because of the design of the files, which are optimized for performance. Changes are written to the end of the file, and the entire file does not have to be read or written at the same time.

We are told that the space will be reclaimed during Save when a certain amount of space would be recovered, or it will be removed during a Save As to a new filename.

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

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

Did you ever watch e.g. Photoshop saving an open file. No matter how big it is. PS creates a temp file, writes the actual RAM content to it and then - on success - replaces the existing file with the just created temp file and the same name. Writing the temp may even be faster because the old file structure has not to be reorganized. And if something goes wrong during the temp file write process, you still have the old original untouched. This is done on EACH save. By the way - this sounds like intrinsic defragmentation as a bonus on top.

There is no magic with this simple file logic - isn‘t it.

Hardware: Windows 11 Pro (23H2, build 22631.3447, Windows Feature Experience Pack 1000.22688.1000.0), Intel(R) Core(TM) i9-14900K @3.20 GHz, 64 GB RAM, NVIDIA RTX A4000 (16GB VRAM, driver 551.61), 1TB + 2TB SSD. 1 Display set to native 2560 x 1440.
Software: Affinity v1 - Designer/Publisher/Photo (1.10.6.1665), Affinity v2 (universal license) - Designer/Publisher/Photo, v2 betas.

Link to comment
Share on other sites

  • 2 weeks later...
  • Staff

Thanks for your report and our sincerest apologies for the delayed response here. We are exceptionally busy following the release of V2 and we thank you for your continued patience and understanding here.

As confirmed above, this is not a bug within the Affinity apps - and Walts description is correct, when using File > Save the file itself will not be 'trimmed' until more than 25% of the files data is redundant. This is further explained in the below posts from our devs:

I will however move this thread to the Feedback section of the forums, for our devs to consider adding an 'Edit/Purge' option in the future.

I hope this clears things up!

Please note -

I am currently out of the office for a short while whilst recovering from surgery (nothing serious!), therefore will not be available on the Forums during this time.

Should you require a response from the team in a thread I have previously replied in - please Create a New Thread and our team will be sure to reply as soon as possible.

Many thanks!

Link to comment
Share on other sites

There is a "workaround" (in Brazilian Portuguese: "GAMBIARRA") to avoid this BUG (yes, as much as they insist on saying no, this is a BUG!"

1. Group everything in the "unpurgeable" file

2. Copy the group

3. Do "File / New From Clipboard"

4. In the new fresh file, ungroup

5. Save as other name.

 

Although not an elegant solution, it has worked for me, because the "phantom information" is not copy/paste possible.

But it is extremely tedious to have to do this every time you save a final file in Affinity. The EDIT/PURGE command is extremely necessary to implement.

Link to comment
Share on other sites

On 12/8/2022 at 3:47 PM, vjsouza said:

There is a "workaround" (in Brazilian Portuguese: "GAMBIARRA") to avoid this BUG (yes, as much as they insist on saying no, this is a BUG!"

[...]

It does work, but is there a way to also copy the guides to the new document?

Edit: removed observation of almost empty file being saved with 116000 kB. Tried to recreate this from scratch and it worked as preferred. Will examine this further before posting again.

Link to comment
Share on other sites

Another tacky way to solve this:

 

Copy a SUPER HUGE bitmap image to your clipboard from finder/explorer

* it must be massive, at least 4096x4096, preferably double that.

 

Paste it into your Affinity document.

Save the file

Delete the pasted massive image.

Save the file... 

 

--- this triggers the flushing. 

Link to comment
Share on other sites

  • Staff
On 12/8/2022 at 2:47 PM, vjsouza said:

There is a "workaround" (in Brazilian Portuguese: "GAMBIARRA") to avoid this BUG (yes, as much as they insist on saying no, this is a BUG!"

1. Group everything in the "unpurgeable" file

2. Copy the group

3. Do "File / New From Clipboard"

4. In the new fresh file, ungroup

5. Save as other name.

 

&

On 12/10/2022 at 9:54 AM, deeds said:

Another tacky way to solve this:

 

Copy a SUPER HUGE bitmap image to your clipboard from finder/explorer

* it must be massive, at least 4096x4096, preferably double that.

 

Paste it into your Affinity document.

Save the file

Delete the pasted massive image.

Save the file... 

 

--- this triggers the flushing.

File > Save As should always create a file which has been 'purged', removing any of the left over data that has not yet been cleared when using File > Save - there should be no need to copy to a new file or force the 25% delta manually :)

Please note -

I am currently out of the office for a short while whilst recovering from surgery (nothing serious!), therefore will not be available on the Forums during this time.

Should you require a response from the team in a thread I have previously replied in - please Create a New Thread and our team will be sure to reply as soon as possible.

Many thanks!

Link to comment
Share on other sites

19 minutes ago, Dan C said:

File > Save As should always create a file which has been 'purged', removing any of the left over data that has not yet been cleared when using File > Save - there should be no need to copy to a new file or force the 25% delta manually

👍 great, thanks for the tip. I was also having problems regarding this.

Link to comment
Share on other sites

On 12/10/2022 at 6:51 AM, max1josef said:

It does work, but is there a way to also copy the guides to the new document?

 

Unfortunately, there is no way to copy guides into the new document. In CorelDRAW the guides are on an exclusive layer, but I also don't know if it's possible to copy them to another document.

Link to comment
Share on other sites

32 minutes ago, Dan C said:

File > Save As should always create a file which has been 'purged', removing any of the left over data that has not yet been cleared when using File > Save - there should be no need to copy to a new file or force the 25% delta manually :)

image.png.cabbdb96adaae211a11ff972365b5407.png

Unfortunately, SAVE AS doesn't work either! I tried to do this with the sample document in this post, but, unfortunately, the resulting file with Save as is still huge. I just eliminated the bitmap and left the two vectors.

Link to comment
Share on other sites

6 minutes ago, vjsouza said:

Unfortunately, there is no way to copy guides into the new document. In CorelDRAW the guides are on an exclusive layer, but I also don't know if it's possible to copy them to another document.

Also a super handy, really missed feature from Quark and InDesign - the first thing I used to setup in Quark (back in the day) was master page bleed guides via the transform panel just took a few seconds, and remember it was mind-blowing to have proper bleed guides in InDesign 2 but it was taken for granted that you could use the transform panel and copy paste to quickly and precisely position guides on the page - never been a fan of the horrible guide manager panel and all the guesswork involved on pages with lots of guides, I've even resorted to making physical guides layers in publisher using strokes and snapping, works really well but just a workaround 

Daz1.png

Mac Pro Cheese-grater (Early 2009) 2.93 GHz 6-Core Intel Xeon 48 GB 1333 MHz DDR3 ECC Ram, Sapphire Pulse Radeon RX 580 8GB GDDR5, Ugee 19" Graphics Tablet Monitor Triple boot via OCLP 1.2.1 - Mac OS Monterey 12.7.1, Sonoma 14.1.1 and Mojave 10.14.6

Affinity Publisher, Designer and Photo 1.10.5 - 2.2.1

www.bingercreative.co.uk

 

 

 

 

 

Link to comment
Share on other sites

  • Staff
47 minutes ago, vjsouza said:

Unfortunately, SAVE AS doesn't work either! I tried to do this with the sample document in this post, but, unfortunately, the resulting file with Save as is still huge

Thanks for letting me know and I'm sorry to hear this - I've tested this with other files and it appears to be working correctly for me - however I'm able to replicate this issue with your file, indicating a bug with this specific document rather than with the app. 

I'll be logging this file directly with our developers now for further investigation.

In the meantime, you can use Snapshots as a workaround to this bug - I've included a quick screen recording of these steps below, and the resulting file was 8.82MB:

I hope this helps :)

Please note -

I am currently out of the office for a short while whilst recovering from surgery (nothing serious!), therefore will not be available on the Forums during this time.

Should you require a response from the team in a thread I have previously replied in - please Create a New Thread and our team will be sure to reply as soon as possible.

Many thanks!

Link to comment
Share on other sites

@vjsouza

It's the same old snapshot problem...

Open the (70MB) file you uploaded to the forum
Delete the snapshot
Save the file (Not save as...)
Close the file (Important)
Open the file
Make a small change (e.g. add a 1" rectangle)
Save the file (Not Save as...)

File is now 8MB

 

To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.

Link to comment
Share on other sites

  • Staff

Many thanks @carl123 and my apologies @vjsouza

As I was testing with snapshots myself I had not realised the document created a user generated Snapshot, which is the reason the file is retaining the larger size when performing a save as - and as you've mentioned removing the snapshot significantly reduces the file size - much appreciated :)

Please note -

I am currently out of the office for a short while whilst recovering from surgery (nothing serious!), therefore will not be available on the Forums during this time.

Should you require a response from the team in a thread I have previously replied in - please Create a New Thread and our team will be sure to reply as soon as possible.

Many thanks!

Link to comment
Share on other sites

On 11/29/2022 at 2:42 AM, 4dimage said:

This is done on EACH save.

So every time you save, say 10GB of data is written over and over again? To a slow external drive? It probably won't be very fast.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

Yes, that may be slower on an external drive. But first, each 1GB LAN to a NAS or USB 3 media have an enormous data rate. Second, and most important, PS does this in an extra asynchronous task. You start saving and are able to continue your work in the open document while PS is saving the data in the background!

The most important thing is, that you have the smallest possible file on your local or network drive. Don‘t forget that all files have to be backuped e.g. typically over night. Depending on your amount of data, filesizes and technique this may take hours. And the more „dead“ redundant data you have in your files the more precious space on your backup media and time is wasted - for nothing.

Or simply think about sharing your design with a colleague or customer. It‘s a big difference if a file is 10 MB or 500 MB…

By the way, if you have one single file of 10 GB you are in trouble anyway. This would be the equivalent of a Hollywood blockbuster media.

Hardware: Windows 11 Pro (23H2, build 22631.3447, Windows Feature Experience Pack 1000.22688.1000.0), Intel(R) Core(TM) i9-14900K @3.20 GHz, 64 GB RAM, NVIDIA RTX A4000 (16GB VRAM, driver 551.61), 1TB + 2TB SSD. 1 Display set to native 2560 x 1440.
Software: Affinity v1 - Designer/Publisher/Photo (1.10.6.1665), Affinity v2 (universal license) - Designer/Publisher/Photo, v2 betas.

Link to comment
Share on other sites

The snapshot problem comes up all the time when investigating file size issues

Here's one from last month

https://forum.affinity.serif.com/index.php?/topic/173157-huge-difference-in-file-sizes-with-no-edits-photo/

 

 

1 hour ago, vjsouza said:

What kind of witchcraft is this?

Wow, that's spooky, I actually called it a "black-magic-ritualistic-procedure"  back in this post from almost 3 years ago

https://forum.affinity.serif.com/index.php?/topic/86287-huge-file-size/&do=findComment&comment=572357

 

To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.

Link to comment
Share on other sites

10 hours ago, 4dimage said:

By the way, if you have one single file of 10 GB you are in trouble anyway.

Of course, working with large/huge files is always problematic (high demands on available memory and computing power), but if someone creates high-resolution stacked images, he has no other choice, and therefore it is not advisable to make it even more difficult for him with an inappropriate way of storing data. The technique used by Serif is a completely standard way of working with large data volumes, but it's a shame that it still hasn't heard requests for manual file compression, which is useful, for example, before sharing files or making backups.

 

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

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.