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

QtWebEngine setZoomFactor has no effect

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes