Zim

[Request] Option to not auto-expand index tree

Bug #562374 reported by Marc Zinnschlag
10
This bug affects 2 people
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).

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

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.

Changed in zim:
status: New → Confirmed
importance: Undecided → Wishlist
tags: added: index papercut sidepane
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.