Bug 368402 - Okular doesn't support SetOCGState links
Summary: Okular doesn't support SetOCGState links
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-07 15:16 UTC by Manuel Bärenz
Modified: 2016-12-01 20:41 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Bärenz 2016-09-07 15:16:22 UTC
Consider the pdflatex microtype manual (http://ftp.fernuni-hagen.de/ftp-dir/pub/mirrors/www.ctan.org/macros/latex/contrib/microtype/microtype.pdf), page 4. There are clickable links on the left hand side. When opening the document in Adobe Acrobat, clicking on these links changes the look of the text in the main document. When opening it in Okular, there is no change visible.
This is supposedly a PDF 1.5 feature. It would be great if Okular could support it. (The current PDF version is 1.7)

Reproducible: Always
Comment 1 Albert Astals Cid 2016-10-18 20:10:23 UTC
Patch at https://git.reviewboard.kde.org/r/129216/
Comment 2 Albert Astals Cid 2016-11-26 15:01:02 UTC
Git commit 2868e3e5ca802dd4decfdeb1dded82394a4c34b6 by Albert Astals Cid.
Committed on 26/11/2016 at 15:00.
Pushed by aacid into branch 'master'.

Support SetOCGState links

Needs a very recent poppler
REVIEW: 129216

D  +0    -181  cmake/modules/FindPoppler.cmake
M  +10   -0    core/action.cpp
M  +16   -1    core/action.h
M  +4    -0    core/document.cpp
M  +4    -0    core/generator.cpp
M  +6    -0    core/generator.h
M  +11   -0    generators/poppler/CMakeLists.txt
M  +3    -0    generators/poppler/config-okular-poppler.h.cmake
M  +11   -0    generators/poppler/generator_pdf.cpp
M  +1    -0    generators/poppler/generator_pdf.h

https://commits.kde.org/okular/2868e3e5ca802dd4decfdeb1dded82394a4c34b6