otismo wrote: February 15th, 2020, 9:14 pm
MY comments in MY Pattern Files disappear after I run them in Golly.
Also ANY OTHER Pattern Files I add have THEIR comments stripped out as well.
I have for a long time been saving textfile versions in a Save Directory and am used to it.
You know, I just noticed that problem recently again. I wonder if it's new behavior in Golly 3.x.
My memory from Golly 2.x is that the comments didn't get preserved if you save a pattern with a new filename. But they _did_ get preserved if you made edits to a file and then saved with the same name.
But now when I open a file with comments like, say, spacefiller.rle, I can see the comments --
and then when I run the pattern, I can still see the comments --
and when I reset the pattern I can still see the comments --
and when I optionally run it again, and then draw some new cells in the pattern, I can still see the comments --
but as soon as I run the resulting pattern for one tick, the comments all disappear.
Resetting doesn't bring the comments back. It's necessary to re-load the pattern to get the comments back again.
So if you make cell edits
and run the pattern, you lose the comments. On the other hand, comments seem to be safe if you make cell edits, then save immediately. And then you could re-open that saved pattern, run it, and save it again, and the comments will still stick.
... Can't say as I understand that behavior. Haven't tried digging through Golly's code yet to find out. I have a vague memory of an explanation that if the pattern has changed and has a new name, it's not the same pattern any more and so the comments might not apply. But it really doesn't seem like very good behavior.