Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-73910

[Android: Nexus 7 2012] fillColor won't fill color on part of ShapePath

    XMLWordPrintable

Details

    • Android

    Description

      Below sample QML won't fill color in bottom of triangle area. Please see attached Nexus7_2-12.png.

      import QtQuick 2.11
      import QtQuick.Window 2.11
      import QtQuick.Shapes 1.11
      
      
      Window {
          visible: true
          width: 640
          height: 480
          title: qsTr("Hello World")
      
          Shape {
              id: penta
              x: 10
              y: 10
              width: 50
              height: 200
              ShapePath {
                  strokeWidth: 1
                  strokeColor: "blue"
                  fillColor: "red"
                  startX: 0
                  startY: 0
                  PathLine { x: 0; y: 150 }
                  PathLine { x: penta.width/2; y: penta.height }
                  PathLine { x: penta.width; y: 150 }
                  PathLine { x: penta.width; y: 0}
                  PathLine { x: 0; y: 0}
              }
          }
      
      }
      

      Causing only on Nexus 7 2012 with Android 5.1.1. Other such as SH-M05(Android 8.0.0) and Windows working correctly.

      Attachments

        1. Nexus7_2012.png
          Nexus7_2012.png
          12 kB
        2. qtbug73910.zip
          2 kB
        3. Windows7.png
          Windows7.png
          30 kB

        Activity

          People

            w00t Robin Burchell
            akizawa Akihito Izawa
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: