new pdfjs version breaks pdf viewing
Task Info (Flyspray) | |
---|---|
Opened By | merlock (merlock) |
Task ID | 80236 |
Type | Bug Report |
Project | Arch Linux |
Category | Packages: Extra |
Version | None |
OS | All |
Opened | 2023-11-11 23:23:43 UTC |
Status | Assigned |
Assignee | Lukas Fleischer (lfleischer) |
Assignee | Morten Linderud (Foxboron) |
Details
Description: Upgrading pdfjs (also manifests in pdfjs-legacy) causes Qutebrowser to stop displaying pdf files in browser.
Additional info:
- package version(s) 4.0.189-1
Steps to reproduce: Upgrade pdfjs. Open any pdf file in qutebrowser; a good test URL: https://s29.q4cdn.com/175625835/files/doc_downloads/test.pdf.
See resulting error page.
Downgrade pdfjs and everything is back to normal.
NOTE
Looking at the version information for qutebrowser, I see this line:
*pdf.js: 3.11.174 (/usr/share/pdf.js/build/pdf.js)
And for 4.0.189-1:
*pdf.js: no
Directory listing for 3.11.174-1:
/usr/share/pdf.js/build
drwxr-xr-x 2 root root 4096 Nov 11 17:55 . drwxr-xr-x 4 root root 4096 Nov 11 17:55 .. -rw-r--r-- 1 root root 568294 Sep 25 03:39 pdf.js -rw-r--r-- 1 root root 1434098 Sep 25 03:39 pdf.js.map -rw-r--r-- 1 root root 637132 Sep 25 03:39 pdf.sandbox.js -rw-r--r-- 1 root root 553585 Sep 25 03:39 pdf.sandbox.js.map -rw-r--r-- 1 root root 1981637 Sep 25 03:39 pdf.worker.js -rw-r--r-- 1 root root 4971937 Sep 25 03:39 pdf.worker.js.map
And, the directory listing for 4.0.189-1:
/usr/share/pdf.js/build
drwxr-xr-x 2 root root 4096 Nov 11 18:00 . drwxr-xr-x 4 root root 4096 Nov 11 18:00 .. -rw-r--r-- 1 root root 708119 Nov 7 04:32 pdf.mjs -rw-r--r-- 1 root root 1652518 Nov 7 04:32 pdf.mjs.map -rw-r--r-- 1 root root 822740 Nov 7 04:32 pdf.sandbox.mjs -rw-r--r-- 1 root root 806718 Nov 7 04:32 pdf.sandbox.mjs.map -rw-r--r-- 1 root root 2006247 Nov 7 04:32 pdf.worker.mjs -rw-r--r-- 1 root root 5253423 Nov 7 04:32 pdf.worker.mjs.map
I would guess that's why qutebrowser cant find pdf.js.
I'm going to cross-file for pdfjs-legacy as well.