phastmike / tags

A simple text tagger
Other
15 stars 0 forks source link

Save (overwrite opened file) fails - (Windows share...) #58

Closed phastmike closed 3 weeks ago

phastmike commented 10 months ago

While saving tagged lines into the already opened file gives and error and application crashes.

Needs more testing

phastmike commented 3 months ago

** (tags:4663): ERROR **: 09:33:54.078: lines-tree-view.vala:190: Error: Error renaming temporary file: Text file busy

phastmike commented 3 months ago

Apparently this is happening on Windows shares while exposed on VM Linux Guest. A weakness .... "wooooh" 👻

Using GFile as an identifier has the same weaknesses as using a path in that there may be multiple aliases for the same file. For instance, hard or soft links may cause two different GFiles to refer to the same file. Other possible causes for aliases are: case insensitive filesystems, short and long names on FAT/NTFS, or bind mounts in Linux