I am gathering experience with extended file attributes. The goal is to save some meta-data for/with text files.
During this process I detected a strange behaviour by Gedit. When Gedit opens and resaves a file with extended file attributes, they disappear. This behaviour was already discussed, e.g. here:
What is even more strange, if a file with attributes previously removed by Gedit is opened and resaved by another program (e.g. LibreOffice Writer), then, sometimes they appear again! However this effect is unpredictable.
Could someone explain what is going on here?