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

Marking task as done and then saving file resets status to pending #176

Closed
brendanator opened this issue Apr 30, 2018 · 7 comments
Closed

Comments

@brendanator
Copy link

If I run :TaskWikiDone and then save the file the status is reset to pending

Here's the info on the task

2018-04-30 08:50:54 End set to '2018-04-30 08:50:54'.
                    Status changed from 'pending' to 'completed'.
2018-04-30 08:50:56 End deleted.
                    Status changed from 'completed' to 'pending'.
@brendanator
Copy link
Author

There was a second viewport also containing this task in the file that was overwriting the change

@brendanator
Copy link
Author

brendanator commented May 1, 2018

This is definitely an issue as I might easily want to have the task appear in 2 viewports.

Making a change to any view of a task should propagate to the others

@brendanator brendanator reopened this May 1, 2018
@dustinosity
Copy link

dustinosity commented May 8, 2018

I was having this problem as well, but with one task that was not in a viewport and one that was in a viewport in the same file. The viewport task seemed to always take precedence over the free floating task, but maybe that was just an order effect? My viewport came after the plain vimwiki task list.

@nagakiran
Copy link

Made a patch to fix this. Let me know your comments.
nagakiran@808ee8f

@tbabej
Copy link
Collaborator

tbabej commented Jul 16, 2018

@nagakiran Maybe we should convert this to a proper PR?

@tbabej
Copy link
Collaborator

tbabej commented Jul 16, 2018

This is actually another case of the same problem as #113

@sdondley
Copy link

This patch appears to work for modified tasks. But if a task is deleted it pops back into the viewport.

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

No branches or pull requests

5 participants