"text-info" script you'll find here
. It shows up in the right click menu in the layers dialog. It can display (as an error message or in error console) the info found in a "parasite" that Gimp attaches to Text layers. The parasite seems to outlive the "text" status of the layer.
Note: the image must be saved at least once, because it seems the parasite is only created when saving the image.
My script only retrieves the parasite contents, but it has absolutely no control on when/how it is generated (and saved...)
The script shows in my layers dialog on right-click, I have given it permission to execute in the permissions in the properties, I click it and I don't see anything.
The image is a saved png image. Where do I look to find the text info?
BTW, sometimes I make a layer in my xcf files when I want to be sure to keep info about the image. I write the Font, Size, any spacing I do with it, put color swatches and names of scripts. Any tidbit of info I might want later, merge it to a white layer, move it to the bottom of the layer stack, name the layer "info" and turn it off.