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

Button inside MouseArea does not pass mouse hover events

XMLWordPrintable

    • Windows
    • 0c7b0a4306 (qt/qtdeclarative/dev) d4c31ec0cd (qt/qtdeclarative/6.2) 66d6c7ec01 (qt/qtdeclarative/6.3) d4c31ec0cd (qt/tqtc-qtdeclarative/6.2)

      If Button is inside MouseArea then it does not pass mouse hover events to its parent MouseArea. When you move the mouse over the button, the onExited and onEntered handlers of the MouseArea are called and containsMouse becomes false.

      In Qt 6.10 there is no such behavior.

        1. Hover6.zip
          2 kB
          andrey_e
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            richard Richard Moe Gustavsen
            andrey_e andrey_e
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes