| Summary: | Quick annotation action gets wrongly activated on protected pdf | ||
|---|---|---|---|
| Product: | [Applications] okular | Reporter: | Simone Gaiarin <simgunz> |
| Component: | general | Assignee: | Okular developers <okular-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | nate |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Manjaro | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/okular/commit/558742a009f7e0ad810671f7b8e8388b620b90f1 | Version Fixed/Implemented In: | 1.11.0 |
| Sentry Crash Report: | |||
|
Description
Simone Gaiarin
2020-07-16 17:44:33 UTC
AFAIK PDF protection is only a hypothetical thing. If you uncheck Configure Okular -> General -> Obey DRM limitations, annotation tools should be activated, and annotations are saved in the PDF as usual. So yes, the annotation tools are only disabled to pretend that the PDF is protected. What do you mean with “gets activated”? “I wanted to select text, but it gave me an annotation tool instead”? Or just that annotation actions become enabled? Sorry for the bad wording, Gets activated > become enabled. See: https://invent.kde.org/graphics/okular/-/merge_requests/221 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 |