'show tree' does not update its results if parent list items are edited (and likely if the parents are tasks not matched by the search) #3155
Labels
priority: high
A high priority/important request
scope: rendering of tasks
How the plugin displays tasks (except CSS issues)
scope: sub-tasks and super-tasks
nested/parent/child: controlling their display, filtering them, and similar
type: bug
Something isn't working
Please check that this issue hasn't been reported before.
Steps to reproduce
Create a note called 'Heading Edits'
Paste in this content:
group by function
code groups the tasks by their parent list itemsArrange view so that you can see the file in both Source mode and Reading mode, like this:
Change the
Other
list item to1 Other
Expected Behavior
The search results should be updated to show the renamed (and re-ordered) heading.
Current behaviour
The search results do not update until the Reading mode file is closed and reopened - or the vault reloaded.
Which Operating Systems are you using?
Obsidian Version
1.7.4
Tasks Plugin Version
7.12.1
Checks
Possible solution
The relevant code is
Task.identicalTo()
andListItem.identicalTo()
The problem is that Tasks is checking to see if any tasks have been edited.
But it is only checking the children of the tasks that are displayed, and not their parents.
Things to consider in the implementation.
null
The text was updated successfully, but these errors were encountered: