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

MultiPointTouchArea with enabled:false blocks events to MouseArea

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • 6.5.1, 6.6.0
    • 6.3.2, 6.5, dev
    • None
    • Apple Silicon M1, macOS 12.1, Apple clang version 13.0.0 (clang-1300.0.29.30)
    • macOS
    • 3991a2e8c (dev), ae05e8918 (6.5)

      According to the documentation for `MultiPointTouchArea`:

      > The Item::enabled property is used to enable and disable touch handling. When disabled, the touch area becomes transparent to mouse and touch events.

      In reality, it blocks hover events such that a MouseArea beneath it, with hoverEnabled: true, does not receive mouse position changes.

      This is a regression as it used to work in Qt 5.X. (I'm going to need a nasty hack to work around this for the time being.)

      Minimal `main.qml` attached to demonstrate this.

       

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

            vhilshei Volker Hilsheimer
            paulmasri Paul
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes