fix: change dir with explorer nodes unchanged
Situation
Every time I change the path in the explorer, the expanded folders in a certain directory will be reset. It's annoyning. Here are some demonstration GIF images.
api: api.tree.change_root_to_parent
From path ~/tmp/t to ~/tmp

api: api.tree.change_root_to_node
Enter folder ~/tmp/t

Object
Change dir with explorer nodes unchanged.
As this is a change in default behaviour, this should be an experiment as per #2819
I have now created an option for this action, and I believe this will not affect the default behavior, and thus will not impact existing users.
As this is a change in default behaviour, this should be an experiment as per #2819
I have now created an option for this action, and I believe this will not affect the default behavior, and thus will not impact existing users.
We don't need an option; you've identified and fixed a bug and the new behaviour is correct.
We just have to be careful as this is core functionality.
Closing as this PR is stale. Please reopen if you wish to continue this work.