I have a lot of presets, about 100 I guess, organized in several folders. MetaImage isn’t saving any changes to presets that I made today. I selected some tags and chose Presets > Save Tags As Preset (a feature I use a lot and really like) and it appeared at the end of my presets list, but didn’t save when I closed and reopened MetaImage. The same thing happened when I dragged some presets to reorder them; the new order was not saved after exiting and reopening. I suspect this is not a new bug because I was surprised today to notice that a preset I thought I’d previously created, probably about 3 weeks ago, wasn’t there. My current version is Unlimited 2.5.6 (6267) and I’m on an M1 Macbook Pro running MacOS Ventura 13.4.1 (22F82)
Hello there,
I am sorry for the delay and the issue. I was off for the week.
MetaImage and MetaVideo used UserDefaults to save the presets due to some legacy reasons (UserDefaults | Apple Developer Documentation). As far as know, it seems that there is no limit of size on Mac. However what you described makes me think that you reach a limit and the UserDefault failed to save new changes.
I will investigate the problem next week.
Thanks again for the feedback.
Best regards,
Jérémy Vizzini
I deleted my UserDefaults data, and MetaImage was able to edit and save presets again. However, it stopped working again after a few days. I do not think it’s size. I previously had a lot of presets, but this time I only got to a dozen or so, each with only a handful of items, before it stopped being able to save changes. I suspect it’s something like a character that isn’t handled correctly, or perhaps an edit that left something in an error state (like organizing things into folders, perhaps). Is there a place I can enable logs and see if there is an error message I can report?
Unfortunately, there are no logs available for this issue, as it’s managed by Apple’s system. However, I ma planning to transition from using UserDefaults to SwiftData, which I hope will resolve any potential issues.