Bug 395087 - [feature request] The contents pane should show the location within the document
Summary: [feature request] The contents pane should show the location within the document
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.4.1
Platform: Other FreeBSD
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 431425 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-06-06 16:35 UTC by Yuri
Modified: 2021-01-26 11:30 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri 2018-06-06 16:35:18 UTC
The contents pane should
1. scroll to the place corresponding to where the user is viewing
2. open the chapter hierarchy tree when needed
3. indicate the exact location in the tail node with color, and/or arrow, etc.

Please look how DjView displays .djvu files, this feature is present there.

Applicable to all backends that support chapters.
Comment 1 Albert Astals Cid 2018-06-06 21:12:59 UTC
Thanks for reporting this feature requests :)

but please report the three wishes separately, if you report more than one wish in a single issue tracking what is fixed and what is not and asking questions about things quickly becomes a mess.
Comment 2 Yuri 2018-06-06 22:59:50 UTC
> please report the three wishes separately

This is one request.
The 3 items are implementation suggestions how to implement this one item.
Comment 3 Albert Astals Cid 2018-06-07 21:09:27 UTC
Well, i disagree with you so consider this officially ignored by me, i don't want to start a status change war with you, so i'll let you win if that makes you happy.
Comment 4 Yuri 2018-06-07 21:31:01 UTC
So you think that one can "3. indicate the exact location in the tail node with color, and/or arrow, etc." without "1.  scroll to the place corresponding to where the user is viewing"?

I don't see how this can make sense.

These 3 items are implementation details, and obviously parts of the same general feature request.
Comment 5 Peter Wu 2018-08-28 14:28:55 UTC
The contents pane already marks the active selected section (there is a large ">" before the actual section name), so (3) can be considered done (observed in Okular 18.08.0).

What is missing though is a method to expand all sections above the active section of a page. Consider this TOC:

 1. > Chapter A
 2. Chapter B

A new option could expand sections until the deepest section becomes visible:

 1. Chapter A
    1.1. Section
        1.1.1. > Subsection
 2. Chapter B

Yuri, does this problem description match yours? Would your issue be addressed if a new "Select current section in table of contents" option was added as a context-menu option for the page/TOC?

(My suggestion differs from your proposal as it now requires a manual action. Automatically expanding the TOC as you scroll through the document seems annoying to me.)
Comment 6 gasdia73 2021-01-26 11:30:30 UTC
*** Bug 431425 has been marked as a duplicate of this bug. ***