** Description changed:

- Polymer v3 js library is being used for WebEngine's internal PDF viewer
- since version 5.15.2 and it is missing in the distro package
+ [Impact]
  
- File location in the sources:
- 
src/3rdparty/chromium/third_party/polymer/v3_0/components-chromium/polymer/polymer_bundled.min.js
+ PDF files are not shown in Qt WebEngine based browsers, such as Falkon.
  
- Steps to reproduce the problem:
+ 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://www.africau.edu/images/default/sample.pdf
  
  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://i.imgur.com/ByXKqdv.png
+  https://i.imgur.com/ByXKqdv.png
+ 
+ [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.

** Also affects: qtwebengine-opensource-src (Ubuntu Hirsute)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1926089

Title:
  PDF viewer doesn't work since QtWebengine version 5.15.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtwebengine-opensource-src/+bug/1926089/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to