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

Popup allows mouse fallthrough regardless of mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.8.5, 6.9.3, 6.10.0
    • Quick: Controls 2
    • None
    • The Windows build was tested on Windows 11 22H2.
      The Linux build was tested on Ubuntu 24.04.2 in vmware.
    • Windows

      QML Popups with popupType: Popup.Window allow mouse clicks to fall through to the window underneath.

      Adding a MouseArea to the popup with propagateComposedEvents: false and preventStealing: false does not affect this.

      Setting{{ modal: true}} also does not affect this.

      To reproduce:

      The attached example has a Button which opens a popup. The popup has a Button which closes the popup. The popup is positioned to partially overlay the first button.

      When the portion of the popup button which overlays the first button is clicked, the mouse events fall through to the first button underneath. When the portion of the popup button which is outside of the first button is clicked, the popup button is pressed as expected.

      This issue occurs on Windows, but not on Linux.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            michael.s Michael Szczerba
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes