[okular] [Bug 424296] Quick annotation action gets wrongly activated on protected pdf
Albert Astals Cid
bugzilla_noreply at kde.org
Thu Jul 23 22:32:55 BST 2020
https://bugs.kde.org/show_bug.cgi?id=424296
Albert Astals Cid <aacid at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Latest Commit| |https://invent.kde.org/grap
| |hics/okular/commit/558742a0
| |09f7e0ad810671f7b8e8388b620
| |b90f1
Version Fixed In| |1.11.0
Status|REPORTED |RESOLVED
--- Comment #3 from Albert Astals Cid <aacid at kde.org> ---
Git commit 558742a009f7e0ad810671f7b8e8388b620b90f1 by Albert Astals Cid, on
behalf of Simone Gaiarin.
Committed on 23/07/2020 at 20:58.
Pushed by aacid into branch 'release/20.08'.
Ensure "Quick annotations" action is always disabled on protected pdf
If the annotations are disabled in the current pdf we can skip repopulating
"Quick annotations" and in this way we also assure that the enabled/disabled
state of the action is preserved upon configuration reparsing.
d->toolsEnabled must be initialized to true, in order to correctly populate the
"Quick annotations" action the first time for non-protected pdf, given that
setToolsEnabled is called after the first call to populateQuickAnnotations.
FIXED-IN: 1.11.0
M +5 -0 ui/annotationactionhandler.cpp
https://invent.kde.org/graphics/okular/commit/558742a009f7e0ad810671f7b8e8388b620b90f1
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list