Closed metbril closed 8 years ago
You issue sounds familiar. It sounds like what was reported in Issue #14 (which was a filter issue that is now closed) and maybe elsewhere.
Tracking changes from edits outside TodoTxtMac (specifically, from outside non-NSDocument-based applications like TextEdit) is challenging. I am benefiting from and fighting the NSDocument framework that Cocoa provides. The popup notification about the file being edited outside the application is pure Cocoa/NSDocument, rather than something I coded. It sometimes pops up when I do not expect it to, as you describe. Cocoa seems to work best when only NSDocument-based apps are operating on the files simultaneously--which is an unlikely scenario. (See Issue #19 for more discussion.)
I am trying to reproduce the error, and will try to investigate it further if I can reproduce it.
Issue #14 was related to filters. In my case items are actually duplicated in the saved file. Have not been able to reproduce this myself, too.
Please let me know if the issues comes up again in version 1.6.0. I changed how the commands work to enable undo/redo support, and it may have inadvertently eliminated this problem (we hope!).
I will keep an eye on it.
Using release 1.6.1 and OS X 10.11.3
.
to refresh the file (it shows as 'Edited')Now I have duplicated todos. :(
I replicated this bug on my test build. I will look into it.
After I do an inline edit for a todo, I see a message that the todofile is edited outside the application (it isn't). When I choose to 'revert' all todo's are appended once more to the todo.txt file.
I cannot exactly reproduce this error, but these were the steps I did:
Now the list has been duplicated.