[Request] Option to not auto-expand index tree
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
I would like to see an option, that stops auto-expanding the index tree when navigating along links in the main document area. The index should then highlight the last visible page in the same branch instead. Example:
A
|---B
|---C
If the branch below A is collapsed, the index should highlight A instead, when B or C are selected (maybe in a different colour or otherwise flagged to indicate the difference).
As a reason for implementing this feature, I would like to give the following scenario:
Let's assume we have a large notebook with several hundred pages, sorted into at least a couple of top-level parent pages. Let's further assume these pages are richly cross-referenced (via links) and the user is navigating the notebook to a large part by following these links.
After a short time of navigating the notebook in this fashion the entire index tree will be completely expanded, which makes it almost useless for navigation. If the user wants to use the index tree too, he has to collapse it manually each time after following a couple of links.
An alternative method to handle this problem would be to automatically re-collpase the auto-expanded part of the tree again, when the user navigates to a different page (but only if it wasn't expanded manually before).
Changed in zim: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
tags: | added: index papercut sidepane |
If we introduce an option like this I would much prefer the second version, which automatically collapses trees that were automatically expanded. Will need some work to make this though since it requires some book keeping on what expands were done.
Willing to accept a patch for this, but I don't foresee working on this soon.