admin wrote:jacky wrote:Well, it's nice but it also kinda defeats the whole auto-sync tree option in a way, at least to me it surely does. ...
I'm not sure what's good here. Rarely used the non-synched Tree in the past, might do so more often now with Mini Tree. Curious what others say...
Well, I do use it and my most common uses, as said earlier, were to go somewhere without having the Tree affected at all, or about the same but within a script that needed to go places do some work.
I thought about this some more, and here's what I think :
- I feel that when MiniTree is OFF Auto-Sync Tree should work as it used to before, because then that's the whole point of that feature : browse places without having the Tree affected/auto-synced. It doesn't make much sense to say I want to browse places and have the Tree in sync, only not for collapsed nodes, feels very odd (to me). Most likely you'd want to go somewhere without having nodes expanded or just the Tree to scroll because you like it as it is, might need it there for drag&drop operations, etc Otherwise, there's the MiniTree!
It might make sense to have the current node be selected/highlighted if it is visible, but there shouldn't be no expansion nor scrolling involved.
- When MiniTree is ON however, we have something new, and that I believe should be an option of the MiniTree feature, and only be used when Auto-Sync Tree is ON : Keep Tree In Sync Only For Loaded Nodes(/Existing MiniTree)
That way, a script setting AutoSyncTree OFF ensures that Tree won't be affected, as expected and as been the case so far, MiniTree or not. And if you use MineTree, turning AST on won't add new nodes if you don't want to, since you can keep the Tree in sync, but have it to only work for the loaded nodes, going elsewhere and basically XY auto-enables option Keep Tree In Sync until either moving back to a loaded node, or loading the node.
About that, even though it's easy enough to make a script for it (::loadtree , 1;) it would make sense then to have an option "Load Current Node/Add Current Location To MiniTree" on the menu (and TB ctxt menu).