Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.15
-
None
-
91e75fc34 (dev)
Description
QQuickItem::grabToImage always captures the item with scale factor 1, ignoring retina scale factors. For instance, if an item is drawn with 300x300 pixels on the screen on a device with scale factor 3 then grabToImage will only capture a 100x100 version of the item.
Can be reproduced with the following QML snippet:
import QtQuick 2.0 Text { width: 200; height: 100; id: root; function grab() { root.grabToImage(function(result) { result.saveToFile("grab.png"); }); } Timer { interval: 500; running: true; repeat: false onTriggered: grab() } text: "Hello World!" font.pointSize: 24 }
Attachments
Issue Links
- relates to
-
QTBUG-84732 Drag.imageSource blurry on High DPI screens
-
- Reported
-