Details
-
Bug
-
Resolution: Incomplete
-
P4: Low
-
None
-
5.8.0
Description
When drawing a rectangle with floating point precision to QQuickPaintedItem, the result is skewed on some Android devices. Attached is images and example app to explain the issue. The issue happens if the x position or the width is 400.5. Problem appears only on ZenPad 3s 10.
[Information]
Qt 5.7.1
Building OS: Mac OS X 10.11
Android OS: 6.0.1
andoird SDK: r24
NDK: r10e
ant: 1.9.4
JDK: 1.8.0_91
Output of the example:
Paint left: QRectF(0,0 400x400) , right: QRectF(400,0 400x400) Paint left: QRectF(0,0 400.5x400) , right: QRectF(400.5,0 400.5x400)