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

QtWebEngine content does not scale according to DPI

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.12.1
    • WebEngine
    • None
    • Linux/X11

    Description

      Unlike other Qt UI elements, the content rendered by WebEngine does not scale according to the Xorg DPI. Only explicitly setting QT_SCALE_FACTOR scales the content, but it scales the entire UI (which was already scaled according to DPI).

      Common workarounds in web browsers involve changing the default zoom level, but that has its own problems (delays due to waiting for the whole page to load, improper rendering etc).

      Issue originally reported for qutebrowser in [1], but the issue affects other browsers as well.

      [1] https://github.com/qutebrowser/qutebrowser/issues/4494#issuecomment-473067602

      Attachments

        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
            lahwaacz Jakub Klinkovský
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes