--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libqt5webengine5: Doesn't show error messages/pages on (at least) non-existing hosts and unsupported protocols
- From: Axel Beckert <abe@debian.org>
- Date: Sun, 26 Nov 2017 23:41:50 +0100
- Message-id: <874lpg4q8h.fsf@c6.deuxchevaux.org>
Package: libqt5webengine5
Version: 5.9.2+dfsg-2
Severity: normal
Control: affects -1 qutebrowser
Hi,
while testing the qutebrowser 1.0.3 upstream release for sponsoring an
upload to Debian I noticed that neither "host not found errors" nor
(suspectedly) unsupported protocol errors show up properly in
qutebrowser.
Thanks to the main qutebrowser upstream developer (Florian Bruhin,
X-Debbugs-CC'ed) I am able to provide the following minimal and
qutebrowser-independent test cases to reproduce these issues.
For that minimal test case Florian suggested to use this minimal
command-line wrapper script around Qt's browser engines (part of the
qutebrowser source code, but it's not qutebrowser):
https://github.com/qutebrowser/qutebrowser/blob/master/scripts/testbrowser.py
Using this small test script, I can reproduce the issue as follows:
$ python3 testbrowser.py --webengine http://domain.doesnotexist/
Loading progress: 10%
Loading started
Loading progress: 10%
Loading progress: 70%
Loading progress: 0%
js: Uncaught ReferenceError: jstProcess is not defined
Loading finished
Loading progress: 100%
Loading progress: 100%
It shows some half-baked not-sure-what dialog (looks more like half of a
download dialog) as shown in the attached
2017-11-26-231109_638x430_scrot.png screen shot.
![PNG image](pngxW5ipISzro.png)
The console output for trying to access a gopher page looks very
similar, but the shown page is completely blank:
$ python3 testbrowser.py --webengine gopher://gopher.semmel.ch/
Loading progress: 10%
Loading started
Loading progress: 0%
js: Uncaught ReferenceError: jstProcess is not defined
Loading finished
Loading progress: 100%
Loading progress: 100%
Screenshot of the blank page is in 2017-11-26-231406_638x430_scrot.png.
![PNG image](pngoMhzWP4lsE.png)
And just as a proof that this gopher server indeed works,
2017-11-26-231803_638x430_scrot.png is a screenshot of accessing
that gopher server with the gopher browser forg.
![PNG image](png2mwyzT3b3b.png)
Since the messages, and even the warning testbrowser.py prints, are in
both cases nearly identical, I assume this is one bug and not two
different bugs. Feel free to clone this bug report if you think otherwise.
And since the string "jstProcess" is neither present in qutebrowser's
source code nor in testbrowser.py, but according to
https://codesearch.debian.net/search?q=jstProcess in
qtwebengine-opensource-src and chromium-browser, this seems to be a bug
directly in libqt5webengine5 (and not qutebrowser).
And since it only seems to happen on Debian (but not on other
distributions according to qutebrowser upstream), it might be an issue
specific to how qtwebengine is compiled for Debian. (This is not meant
as an accusation but as a hint to where start looking. :-)
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.13.0-rc7-amd64 (SMP w/8 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages libqt5webengine5 depends on:
ii libc6 2.25-2
ii libqt5core5a [qtbase-abi-5-9-2] 5.9.2+dfsg-4
ii libqt5gui5 5.9.2+dfsg-4
ii libqt5qml5 [qtdeclarative-abi-5-9-2] 5.9.2-3
ii libqt5quick5 5.9.2-3
ii libqt5webchannel5 5.9.2-2
ii libqt5webengine-data 5.9.2+dfsg-2
ii libqt5webenginecore5 5.9.2+dfsg-2
ii libstdc++6 7.2.0-16
libqt5webengine5 recommends no packages.
libqt5webengine5 suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
- To: 882805-close@bugs.debian.org
- Subject: Bug#882805: fixed in qtwebengine-opensource-src 5.11.3+dfsg-2+deb10u1
- From: Dmitry Shachnev <mitya57@debian.org>
- Date: Wed, 08 Jan 2020 21:47:12 +0000
- Message-id: <E1ipJAW-000G8x-Ln@fasolo.debian.org>
Source: qtwebengine-opensource-src
Source-Version: 5.11.3+dfsg-2+deb10u1
We believe that the bug you reported is fixed in the latest version of
qtwebengine-opensource-src, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 882805@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Dmitry Shachnev <mitya57@debian.org> (supplier of updated qtwebengine-opensource-src package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 31 Dec 2019 00:06:07 +0300
Source: qtwebengine-opensource-src
Binary: qtwebengine5-dev qtwebengine5-private-dev libqt5webengine5 libqt5webenginecore5 libqt5webenginewidgets5 libqt5webengine-data qml-module-qtwebengine qtwebengine5-dev-tools qtwebengine5-examples qtwebengine5-doc qtwebengine5-doc-html
Architecture: source
Version: 5.11.3+dfsg-2+deb10u1
Distribution: buster
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Dmitry Shachnev <mitya57@debian.org>
Description:
libqt5webengine-data - Web content engine library for Qt - Data
libqt5webengine5 - Web content engine library for Qt
libqt5webenginecore5 - Web content engine library for Qt - Core
libqt5webenginewidgets5 - Web content engine library for Qt - Widget
qml-module-qtwebengine - Qt WebEngine QML module
qtwebengine5-dev - Web content engine library for Qt - development files
qtwebengine5-dev-tools - Qt WebEngine tools
qtwebengine5-doc - Qt 5 webengine documentation
qtwebengine5-doc-html - Qt 5 webengine HTML documentation
qtwebengine5-examples - Qt WebEngine - Examples
qtwebengine5-private-dev - Web content engine library for Qt - private development files
Closes: 882805 887875 919504
Changes:
qtwebengine-opensource-src (5.11.3+dfsg-2+deb10u1) buster; urgency=medium
.
* Fix PDF parsing by adding the missing non-const overrides for
CPDF_Dictionary::GetDict() and CPDF_Reference::GetDict(). This also
fixes QWebEnginePage::print() method (closes: #919504).
* Use ui/webui/resources/js/jstemplate_compiled.js provided by upstream
instead of an empty file (closes: #882805).
* Backport upstream patch to disable executable stack (closes: #887875).
Checksums-Sha1:
002ade7c180eb441257ca0aa4a3fa84f1bbb318e 4734 qtwebengine-opensource-src_5.11.3+dfsg-2+deb10u1.dsc
c4055922ab9c8c51c4b7ed14807d68d4f05ec390 465536 qtwebengine-opensource-src_5.11.3+dfsg-2+deb10u1.debian.tar.xz
7be9236854c2fcb1675ec80f2c33d11abff6bcac 13076 qtwebengine-opensource-src_5.11.3+dfsg-2+deb10u1_source.buildinfo
Checksums-Sha256:
515fc3e8b6aa5759f7c91280a472a0ca6a63995e1a532e918ff562050297ac38 4734 qtwebengine-opensource-src_5.11.3+dfsg-2+deb10u1.dsc
473032d598dfdfa6cf97ccfc665c9a670a217760bac6e2d34757d0e09b684d30 465536 qtwebengine-opensource-src_5.11.3+dfsg-2+deb10u1.debian.tar.xz
b939e6f1f302cd0b65266efa596f15f3db9edc59578c565b76b582a0ae9c2b79 13076 qtwebengine-opensource-src_5.11.3+dfsg-2+deb10u1_source.buildinfo
Files:
be1500b4f46f38901e1239d49e04bbeb 4734 libs optional qtwebengine-opensource-src_5.11.3+dfsg-2+deb10u1.dsc
079a8c977693b2605964dfd446c60f27 465536 libs optional qtwebengine-opensource-src_5.11.3+dfsg-2+deb10u1.debian.tar.xz
1209a594145e837986203ce43c33dedb 13076 libs optional qtwebengine-opensource-src_5.11.3+dfsg-2+deb10u1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJHBAEBCgAxFiEE5688gqe4PSusUZcLZkYmW1hrg8sFAl4KaOUTHG1pdHlhNTdA
ZGViaWFuLm9yZwAKCRBmRiZbWGuDy5aqD/43W2MsjmoRv7tytZmTdRc1XgN4lB0z
z1dE1ZHw8AVkMNTApzCo9szf/Hx9BLf7OHrKejy28YnvHzw671sYJXlXyt7kO4dw
To8Ipo3Z/7SMCQzCgrv8vK4eXdUYq7c8UxyNSzT9PE7/czOx+RVC2eF+mMX0HKPI
PYBv/kYTakaXEf5/MLfFLaYrYhhoX35OiZHcEJ4KPGHvBw8SXT5MSSIH44hUfp7p
U+gUbJzXOAOTLC2ajQRs/uzDVk9DGukV1kRAg0OBEuNCKsXBvA3kcBXPfY1vIva3
HXhaHWo5c/76qp4Zdlyk+GCp971FX+jhkqSN3vU45Bt18LLaNN5oRYiSOV9awQsa
TpeGlfRKgWMkljBJ7TahT7m08HOD7yfmkgkKI69J4ApCxRsUuQKnXzYMKN8K2yFP
VCCv/qayhKdPrb04RQvteVrT/w/DUUzCHJpqsQNhdCxThzPu+Xm8YHc5Lz5v/t4n
XJGyri62yfg4zvMk0iNX6Mk+SduNl482sEe/Eo0Z/xszBVfl5CUXTByd8uTyL8lX
Ha/5LfB8SLD0zTnFe7ntg33Gd1Gil3pDkvNO5LjGWeBUMANbjtjqbLUFaodemaJK
N71eTXvf3Ua05IFLqF8XfhAdAFgwArnCE/mRmYc3JYxjcXNhpPZ8Dsa8qxeka2hp
Y1KqJvOV9c7uCg==
=jy3g
-----END PGP SIGNATURE-----
--- End Message ---