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

App with a QWebEngine widget does not scale on High DPI

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.10.0
    • WebEngine
    • None
    • Windows 10, 2 screens, one with High DPI, the other with a normal resolution.

    Description

      On Windows 10, if you have 2 screens, one with a High DPI, another with a normal resolution, an application with a WebEngine widget (in a UI file), will not scale appropriately when dragging the application from the High DPI screen to the normal resolution screen.

      To reproduce it, use the MarkdownEditor of the WebEngineWidgets example.

      See in the attachment, the black line between the frame of the application and the header. This is not only a visual problem: their is a discrepancy between the pointer and the UI widgets, e.g. you cannot click on the File menu easily.

      This problem does not seem to occur when the WebEngine is in a QML application. 

      Attachments

        1. markdowneditor.png
          markdowneditor.png
          144 kB
        2. qtdiag_log_msvc2017_64.txt
          7 kB
        3. qtdiagLog.txt
          7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            brunob bruno boutin
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes