Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avoid "conflicted copy" generation #437

Open
severoraz opened this issue Oct 30, 2017 · 1 comment
Open

avoid "conflicted copy" generation #437

severoraz opened this issue Oct 30, 2017 · 1 comment

Comments

@severoraz
Copy link

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.

@oroulet
Copy link
Contributor

oroulet commented Oct 30, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants