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

Issues setting a task status to done when multiple viewports show it #396

Open
alvaromartin opened this issue Feb 6, 2022 · 1 comment

Comments

@alvaromartin
Copy link

I'm running into an issue where I can't set a task to done using <Leader>td when it's present in multiple viewports in the same file. See the gif below:

taskwiki

Steps to reproduce

  1. Create a viewport "Test Tag | +test"
  2. Create a viewport "Test"
  3. Add a task "test task" inside of "Test" viewport
  4. Modify the "test task" task using <Leader>tm and add "test" tag using +test
  5. Save the file :w<CR>
  6. Both "Test Tag" and "Test" viewports display the task "test task"
  7. Place cursor on "test task" inside of "Test Tag" viewport and set it to done using <Leader>td
  8. Save the file using :w<CR>

Expectation "test task" is set to done in both "Test Tag" and "Test" viewports
Actual Result "test task" is not set to done at all. It only works when I set it to done in the "Test" viewport

tasklib2.4.3
neovim0.6

@liskin
Copy link
Collaborator

liskin commented Feb 6, 2022

This is probably the same as #113, #176. There's even a proposed fix but I think it may have some unintended side-effects which is why it hasn't been merged yet.

(I haven't looked at the code for over a year so I hesitate to comment on what a good solution would look like. Just summing up the situation.)

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