QTodoTxt icon indicating copy to clipboard operation
QTodoTxt copied to clipboard

avoid "conflicted copy" generation

Open severoraz opened this issue 7 years ago • 1 comments

Often, I want to edit my todo.txt in my computer or on my cellphone intermittently, but when I do I get conflicted copies which are a true hassle to solve. I think this is because QTodoTxt opens todo.txt for writing, so any subsequent third-party writes to the file create divergent copies of it.

I think a way to solve this issue would be to open todo.txt for reading, and when the user modifies the file, then it is closed, opened for writing (which will make it also open the latest copy, if there is an automatic syncing service running like Dropbox), updated with the changes, closed, and opened for reading again.

I understand this is more step-intensive, but is just what I propose to solve the problem.

severoraz avatar Oct 30 '17 14:10 severoraz

I think this is supposed to be fixed in qtodotxt2. Maybe try it

oroulet avatar Oct 30 '17 14:10 oroulet