Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.5.6, 6.6.3, 6.7.2
-
None
-
Android Qt 6.7.2 Clang x86_64; Android SDK version: 13.0; JDK version: 17; NDK version:25.1.8937393; Android 12.0 google play x86_64 system image
Description
import QtQuick Window { visible: true Rectangle { id : rect1 width: 100 height: 100 anchors.centerIn: parent color: Qt.rgba(1, 0, 0, 0.5) } Rectangle { id : rect2 antialiasing: false width: 100 height: 100 anchors.bottom: parent.bottom color: Qt.rgba(1, 0, 0, 1) } }
The above QML program causes rect1 to not display correctly on an Android virtual device. However, when the antialiasing property of rect2 is set to true or the alpha value of rect2's color is a decimal, it displays correctly. I tested this on two local devices, one running Windows 10 and the other running Windows 11, and the issue was consistent on both.