Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-68318

Windows: Wrong scale for QWebEngineView in pyqt5 / win7 Aero theme

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P2: Important P2: Important
    • None
    • 5.10.0, 5.9.4
    • QPA: Windows, WebEngine
    • None

      We have problems with QWebEngineView on Windows 7 if an aero theme is enabled (default). Once the QWebEngineView is being rendered, the whole window is rendered in a wrong scale. When switching to a basic theme everything is being rendered as expected.

      Switching to a basic windows theme works as expected.

      Simpe testcase I used in a phyton script using PyQt5 and QWebEngineView:

      import sys
      from PyQt5.QtCore import *
      from PyQt5.QtWidgets import QApplication
      from PyQt5.QtWebEngineWidgets import QWebEngineView, QWebEngineSettings
      
      app = QApplication(sys.argv)
      web = QWebEngineView()
      web.load(QUrl("https://www.qt.io/"))
      web.show()
      
      sys.exit(app.exec_())
      

      Einvironment:

      • Windows 7 64
        • dxdiag:
          Card name: Intel(R) HD Graphics 520
          Current Mode: 1600 x 900 (32 bit) (60Hz)
          Native Mode: 1920 x 1080(p) (60.049Hz)
          Driver Name: igdumdim64.dll,igd10iumd64.dll,igd10iumd64.dll,igdumdim32,igd10iumd32,igd10iumd32
          Driver Version: 21.20.16.4664
      • Phyton 3.5.3 64bit
        • PyQt5==5.9.2

      aero theme (see missing part at the top):

      basic theme:

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt_webengine_team Qt WebEngine Team
            hi-ko Heiko Robert
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes