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

QtWebEngine setZoomFactor has no effect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 5.6.0
    • WebEngine
    • None
    • Tested on Windows 10 64bit

    Description

      webengine = new QWebEngineView();
      webengine->page()->setZoomFactor(10);
      qDebug() << webengine->page()->zoomFactor(); // prints 1

      Edit:
      If I wait until the page has loaded before calling setZoomFactor, and use a value of 5 or less, zoomFactor appears to get the correct value. However, it still has no effect on the output.

      Attachments

        Issue Links

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

          Activity

            People

              mibrunin Michael Bruning
              danmou Daniel Mouritzen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes