Summary: | Collapse and Expand the contents index | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Musikolo <musikolo> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | kubiznakpetr+kde, nate, peter, zellox |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/okular/61c2c2ceddc0ebb8951b2aa7853789ffdfc859a0 | Version Fixed In: | 18.12.0 |
Description
Musikolo
2009-11-30 23:13:42 UTC
I find this feature to be very useful for large documents (e.g. reference manuals with +1000 pages). I also believe it is quite easy to implement. Please do it as soon as possible. If it is easy to implement, open a review request with the patch at https://git.reviewboard.kde.org/ +1 Would be great to be able to collapse it all like is possible in other PDF viewers. Proposed patch: TOC: Add collapse/expand options https://phabricator.kde.org/D14904 Git commit 61c2c2ceddc0ebb8951b2aa7853789ffdfc859a0 by Oliver Sander, on behalf of Peter Wu. Committed on 26/08/2018 at 12:05. Pushed by sander into branch 'master'. TOC: Add collapse/expand options Large specifications with many (nested) sections are painful to navigate through when the TOC is expanded by default. Introduce four new options, "Expand/Collapse whole section" is based on Kate's document view while "Expand/Collapse all" was added to handle the top-level sections. As for other viewers, PDF.js uses shift-click to handle the former while using double-click on a the TOC icon to handle the latter. That is not very obvious, so extending the context menu seems the next best option. Differential Revision: https://phabricator.kde.org/D14904 M +15 -2 part.cpp M +1 -1 part.h M +46 -0 ui/toc.cpp M +6 -0 ui/toc.h https://commits.kde.org/okular/61c2c2ceddc0ebb8951b2aa7853789ffdfc859a0 |