Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
5.9.2
-
None
-
Qutebrowser and all its dependencies are installed from Debian testing repository as of 14/12/2017.
The computer is a notebook with two video cards and one monitor attached to each; X server joins the two screens in xinerama mode. Xrandr is not available. The video cards are:
* intel gm965 (integrated in notebook)
* displaylink (external thru usb)
{code:java}
$ dpkg -s python3-pyqt5.qtwebengine | grep Version
Version: 5.9.2+dfsg-1{code}
{code:java}
$ ls -lh /usr/bin/python*
lrwxrwxrwx 1 root root 9 Mar 16 2015 /usr/bin/python -> python2.7
lrwxrwxrwx 1 root root 9 Mar 16 2015 /usr/bin/python2 -> python2.7
-rwxr-xr-x 1 root root 3.8M Aug 13 2016 /usr/bin/python2.7
lrwxrwxrwx 1 root root 9 Oct 26 21:09 /usr/bin/python3 -> python3.6
-rwxr-xr-x 2 root root 4.5M Dec 6 11:08 /usr/bin/python3.6
-rwxr-xr-x 2 root root 4.5M Dec 6 11:08 /usr/bin/python3.6m
lrwxrwxrwx 1 root root 10 Oct 26 21:09 /usr/bin/python3m -> python3.6m
{code}
{code:java}
$ glxinfo # first few lines only
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_INTEL_swap_event,
GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGI_make_current_read
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
{code}
Qutebrowser and all its dependencies are installed from Debian testing repository as of 14/12/2017. The computer is a notebook with two video cards and one monitor attached to each; X server joins the two screens in xinerama mode. Xrandr is not available. The video cards are: * intel gm965 (integrated in notebook) * displaylink (external thru usb) {code:java} $ dpkg -s python3-pyqt5.qtwebengine | grep Version Version: 5.9.2+dfsg-1{code} {code:java} $ ls -lh /usr/bin/python* lrwxrwxrwx 1 root root 9 Mar 16 2015 /usr/bin/python -> python2.7 lrwxrwxrwx 1 root root 9 Mar 16 2015 /usr/bin/python2 -> python2.7 -rwxr-xr-x 1 root root 3.8M Aug 13 2016 /usr/bin/python2.7 lrwxrwxrwx 1 root root 9 Oct 26 21:09 /usr/bin/python3 -> python3.6 -rwxr-xr-x 2 root root 4.5M Dec 6 11:08 /usr/bin/python3.6 -rwxr-xr-x 2 root root 4.5M Dec 6 11:08 /usr/bin/python3.6m lrwxrwxrwx 1 root root 10 Oct 26 21:09 /usr/bin/python3m -> python3.6m {code} {code:java} $ glxinfo # first few lines only name of display: :0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: SGI server glx version string: 1.4 server glx extensions: GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGI_make_current_read client glx vendor string: Mesa Project and SGI client glx version string: 1.4 {code}
Description
The following test script produces a solid black window while a rendered web page is expected instead:
#!/usr/bin/env python3 import sys import argparse from PyQt5.QtCore import QUrl from PyQt5.QtWidgets import QApplication from PyQt5.QtWebEngineWidgets import QWebEngineView if __name__ == '__main__': app = QApplication(sys.argv) wv = QWebEngineView() using_webengine = True wv.loadStarted.connect(lambda: print("Loading started")) wv.loadProgress.connect(lambda p: print("Loading progress: {}%".format(p))) wv.loadFinished.connect(lambda: print("Loading finished")) wv.load(QUrl.fromUserInput("https://google.com")) wv.show() app.exec_()
After the window opens, this is all what appears on console, and the window remains black:
$ python3 webengine_test.py
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-davide'
Loading progress: 10%
Loading progress: 10%
Loading started
Loading progress: 20%
Loading progress: 25%
Loading progress: 25%
Loading progress: 100%
Loading finished
Loading progress: 100%
Loading progress: 100%
The result is the same with different URLs being used.
The script is a reduced snippet extracted from a Qutebrowser's test script which manifests the same problem.
I have no knowledge of python nor Qt.
Original bug reported downstream at Qutebrowser: https://github.com/qutebrowser/qutebrowser/issues/3394