Summary:
Qt 5.13+ has a built-in PDFium-based PDF viewer enabled in
QWebEngineSettings by default. There is no way to disable it at
run time by the user, and leaving it "as is" changes the browser's
behavior, depending on which version of Qt is installed on a
target system. The built-in plugin currently has quite a limited
functionality and, e.g., misses ability to download the document
being viewed.
This adds a checkbox in Preferences->Browsing->Web configuration
to enable/disable usage of internal Qt's PDF viewer on systems
with Qt 5.13 and above.
The feature uses Pepper plugin API (PPAPI) of QtWebEngine. The
corresponding checkbox's text has been renamed to better reflect
its impact on QtWebEngine's operation ("Allow Pepper Plugins
(Flash plugin)" -> "Enable Pepper plugin API (PPAPI)").
To clarify dependency of internal PDF viewer on PPAPI, the
checkbox gets disabled when the user unchecks "Enable Pepper
plugin API (PPAPI)" checkbox. Also, the dependency is mentioned
in its text.
Reviewers: #falkon, SGOrava
Reviewed By: #falkon, SGOrava
Subscribers: pshaw, SGOrava, falkon, alukichev
Tags: #falkon
Differential Revision: https://phabricator.kde.org/D26753
remotes/origin/work/kwallt-no-wildcard
parent
2a0f092436
commit
90664879c5
4 changed files with 26 additions and 1 deletions
Loading…
Reference in new issue