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

ShapePath.closed returns true when empty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.15.2
    • Quick: Shapes
    • None
    • All

      ShapePath returns true for closed when it is empty, while Path does not.

      I think Path is correct here and ShapePath incorrect.

      Code to reproduce:

      {{ShapePath { Component.onCompleted: console.log(closed, "shapePath") } Path { Component.onCompleted: console.log(closed, "path") }}}

        1. QTBUG-90451.qml
          0.2 kB
          Fabian Kosmale
        For Gerrit Dashboard: QTBUG-90451
        # Subject Branch Project Status CR V

            lagocs Laszlo Agocs
            skaldesh Sebastian Borchers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change