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

ShapePath.closed returns true when empty

    XMLWordPrintable

Details

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

    Description

      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") }}}

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: