PDF viewer doesn't work since QtWebengine version 5.15.2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtwebengine-opensource-src (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
PDF files are not shown in Qt WebEngine based browsers, such as Falkon.
The bug appeared because Polymer v3 JS library, which is needed by the internal PDF viewer, was excluded from the tarball for DFSG compliance.
[Test Plan]
1. Open a browser application based on QtWebEngine, i.e. Falkon
2. Open a PDF file either local or online. Example PDF link: http://
3. See no controls and no file visible on the page, JavaScript errors on the console
What is expected:
PDF file being opened, all controls on the page are visible, similarly to the following screenshot
https:/
[Where problems could occur]
The fix is using a non-minified file instead of the minified one. The substantial part of these files seems to be identical.
There may be still some problems with the PDF viewer, because we are using a wrong file or because other files are excluded. But it should be definitely better than completely broken viewer.
Also the package may FTBFS. However I tested it in a PPA and it built fine on all three architectures.
[Other Info]
Please also see duplicate bug 1936821 where the same issue was reported.
This bug was fixed in the package qtwebengine- opensource- src - 5.15.5+dfsg-1
--------------- opensource- src (5.15.5+dfsg-1) experimental; urgency=medium
qtwebengine-
* New upstream release. normalization. patch 21193.patch abi-5-15- 5. bundled. min.js from Files-Excluded (LP: #1926089). OPTIONS= parallel= N setting to ninja (closes: #986684).
- Includes a fix for building with GCC 11 (closes: #984315).
* Update get-orig-source target for the new release.
* Drop two patches that are included in the new release:
- fix-locales-
- CVE-2021-
* Bump ABI version to qtwebengine-
* Remove polymer_
- There is non-minified polymer_bundled.js in the source.
* Forward DEB_BUILD_
* Make sure $NINJAJOBS is also used when bootstrapping gn.
* Add libxkbfile-dev build-dependency (required since 5.15.5).
* Update symbols files from buildds’ and the current build logs.
-- Dmitry Shachnev <email address hidden> Sat, 19 Jun 2021 11:58:16 +0300