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

Falsely double click detected in widget when it is below another widget that disappears on clicked

    XMLWordPrintable

Details

    • Linux/X11

    Description

      The bug occurs when there exists a widget A that hides on click is on top of a widget B that responds to double click, where double clicking on A will trigger a double click on B as well.

      The behavior was also observed for various other widgets such as combo box or dialog box. The same behavior was also observed in Qt Creator 4.7.0 when double clicking the cancel button of a dialog box that is directly on top of some text in the editor.

      Attached is a QML example that illustrates the problem, where double clicking on RED will result in "RED clicked" and "WHITE double clicked" in the console, instead of "RED clicked" and "WHITE clicked".

      Attachments

        Issue Links

          Activity

            People

              srutledg Shawn Rutledge
              pcl8 Pechin Lo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: