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

QtWebEngine setZoomFactor has no effect

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Duplicate
    • Affects Version/s: 5.6.0
    • Fix Version/s: None
    • Component/s: WebEngine
    • Labels:
      None
    • Environment:
      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

              Assignee:
              mibrunin Michael Bruning
              Reporter:
              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