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

QtQuick Shapes Module containsMode don't work as expected

XMLWordPrintable

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

      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)

        For Gerrit Dashboard: QTBUG-118037
        # Subject Branch Project Status CR V

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

              Created:
              Updated:

                There is 1 open Gerrit change