Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
5.10.1
Description
Simple filled triangle with layer.enabled set to true is rendered as if the filled region was outside and mirrored. Basically everything looks wrong if this is enabled and nvidia path extensions are used. These seem to render completely fine with vendorExtensionsEnabled disabled and with software rendering.
import QtQuick 2.4 import QtQuick.Controls 2.0 import QtQuick.Shapes 1.0 ApplicationWindow { visible: true width: 800 height: 800 Shape { id: triangle width: 200 height: 150 anchors.centerIn: parent layer.enabled: true ShapePath { strokeWidth: 1 strokeColor: "red" fillColor: "green" startX: 20; startY: 20 PathLine { x: 180; y: 130 } PathLine { x: 20; y: 130 } PathLine { x: 20; y: 20 } } } }
with-layers.png shows that when running on nvidia GPU, filling of the triangle is outside of the triangle.
no-layers.png shows how it looks with no layers.enabled set or with vendorExtensionsEnabled disabled
Attachments
For Gerrit Dashboard: QTBUG-66457 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
240808,5 | Disable GL_NV_path_rendering unless explicitly requested | 5.12 | qt/qtdeclarative | Status: MERGED | +2 | 0 |