Bug 377024

Summary: Add "expand all" to the Review View
Product: [Applications] okular Reporter: tuxflo <flo.hennig>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: wishlist CC: gassaf, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In: 19.08.0

Description tuxflo 2017-02-28 15:20:30 UTC
When viewing a reviewed pdf with lots of annotations its annoying to click 3 times to actually see the annotation content: Page, Authorname, Annotation.

It would be great to have an button "Expand all" which opens all nested elements in the review view. Optionally the button changes to "Collapse all" when the view was already expanded.
Comment 1 Gilbert Assaf 2017-07-23 11:27:34 UTC
Well this option kind of already exists. If you press the "Show reviews for current page only" Button, located at the bottom in the review view, all annotations from all authors for this particular page are collapsed. But I agree, this is not very intuitive.
Comment 2 Albert Astals Cid 2019-03-31 22:16:28 UTC
Git commit b669398404401f234d136787f960767816b9e3b5 by Albert Astals Cid, on behalf of Joao Netto.
Committed on 31/03/2019 at 22:16.
Pushed by aacid into branch 'master'.

Add buttons to collapse and expand all elements

Summary:
Adds two buttons on the bottom right to expand and collapse all elements in annotations
T8553

With latest breeze-icons:
{F6687517}

Without it:

{F6687519}

{F6687518}

Reviewers: #okular, #vdg, ngraham

Subscribers: ndavis, aacid, ngraham, okular-devel

Tags: #okular

Differential Revision: https://phabricator.kde.org/D18358

M  +20   -0    ui/side_reviews.cpp
M  +2    -0    ui/side_reviews.h

https://commits.kde.org/okular/b669398404401f234d136787f960767816b9e3b5