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

[REG 6.2.4 - 6.3.2] HoverHandler "eats" all hover events even when disabled

    XMLWordPrintable

Details

    • All
    • 205e31df16 (qt/qtdeclarative/dev) 205e31df16 (qt/tqtc-qtdeclarative/dev) ef6fe3e499 (qt/qtdeclarative/6.4) ef6fe3e499 (qt/tqtc-qtdeclarative/6.4) 8435926668 (qt/tqtc-qtdeclarative/6.2) fe7122e17b (qt/qtdeclarative/6.3)

    Description

      HoverHandler "eats" all hover events even when disabled. Regression from Qt 6.2.4.

      Code sample:

      import QtQuick
      
      Window {
          width: 640
          height: 480
          visible: true
      
          Rectangle {
              anchors.fill: parent
              color: hh.hovered ? 'red' : 'white'
              HoverHandler { id: hh }
          }
      
          Item {
              enabled: false // disabling parent item also has no effect
              anchors.fill: parent
              HoverHandler { enabled: false } // "eats" hover events even when disabled
          }
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              richard Richard Moe Gustavsen
              studiosus Vladimir Belyavsky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: