[okular] [Bug 216870] Collapse and Expand the contents index

Oliver Sander bugzilla_noreply at kde.org
Sun Aug 26 13:08:08 BST 2018


https://bugs.kde.org/show_bug.cgi?id=216870

Oliver Sander <oliver.sander at tu-dresden.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/oku
                   |                            |lar/61c2c2ceddc0ebb8951b2aa
                   |                            |7853789ffdfc859a0
             Status|CONFIRMED                   |RESOLVED

--- Comment #5 from Oliver Sander <oliver.sander at tu-dresden.de> ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list