plover
plover copied to clipboard
Readonly status change on dictionary reload are not updated
Describe the bug
title.
To Reproduce
Steps to reproduce the behavior:
- Add a dictionary.
- Set the dictionary file attribute to readonly (with external tool)
- Refresh the dictionaries in Plover.
- The dictionary is not shown as readonly. (error)
- Add an entry to that dictionary.
- The dictionary is written to normally, and the readonly flag disappears. (error)
Expected behavior
~
Operating system
- OS: Some GNU/Linux distribution
- Plover Version: https://github.com/openstenoproject/plover/commit/0501aa33a0504971d1ba7452979c54798f7c3986
Update: The status is correctly updated if the file content is changed.
Still, the save function should not overwrite the file if it's read-only.
Yes, Plover relies on timestamps. So I'm tempted to close this as wont-fix.