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

MouseArea in MouseArea in QQuickWidget leaks the inner mouse events to the root widget window

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.5.1
    • Quick: Widget
    • Linux/Wayland, Linux/X11

    Description

      In QQuickWidget, If one MouseArea overlaps another MouseArea, clicking the overlapping area will leak the mouse event to the root widget window. This does not happen in Qt 5.15.9.

       

      In the example, click the red rectangle where there are two overlapping MouseAreas and see the mouse event is leaked to the main window. Click the green rectangle where there is only one MouseArea, and the mouse event is not leaked.

       

      See also: https://invent.kde.org/plasma/systemsettings/-/merge_requests/237

      Attachments

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

        Activity

          People

            tvete Paul Olav Tvete
            fusionfuture Yuanzheng Wang
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes