Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.1
-
OS X with Retina display
-
-
7c5f2a9393a3fc77c0c5b2406332d57a37325183
Description
QWebEngineView renders its contents at half size when initially shown. If the content is refreshed (right click->Refresh), then HTML content renders at the full size of the widget.
Note the issue is only reproducible on OS X Retina displays.
The fancybrowser example can be used to reproduce the issue. Only replace the:
url = QUrl("http://www.google.com/ncr");
with the Test.html file attached here.
What's also interesting is that the web engine view/page knows its correct size. For example, if you move the cursor around on the page that tracks mouse position, the correct position is reported by the javascript. If you create a html sprite to follow the cursor, the sprite appears in the 1/2 size rendered corner but correctly shows the mouse position in the full size view.
This suggests that it is purely a rendering issue. The functionality of the
page, including mouse position and events, is correct even though it is
rendered incorrectly (until reloaded).
Attachments
Issue Links
- is duplicated by
-
QTBUG-46226 QWebEngineView does not scale correctly when HighDPI is enabled
- Closed
- relates to
-
QTBUG-49725 [Win10] QWebEngineView sometimes do not render properly in High Contrast
- Closed