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

QtQuick Shapes Module containsMode don't work as expected

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.5
    • None
    • ubuntu20.04 Qt6.5 branch build from source
    • Linux/Wayland

    Description

      please see main2.qml for source code.  As far as I know, the MouseArea in the example in the code should only work within the scope of ShapePath, when my containsMode is Shape.FillContains。

      brief: 
      containsMode: Shape.FillContains don't work, MouseArea works on the entire window, really it should only work on the ShapePath scope。 (Qt6.4.2, Qt6.5.2 don't have this bug)

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              smd Jan Arve
              sunjiahe 孙 嘉禾
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change