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

Control changes hover state even though it is disabled

    XMLWordPrintable

Details

    Description

      Even thought the SpinBox is set to enabled: false it will react to hover events.

      import QtQuick 2.15
      import QtQuick.Controls 2.15
      import QtQuick.Window 2.15
      
      Window {
          width: 640
          height: 480
          visible: true
          title: qsTr("Hello World")
      
      
          SpinBox {
              id: spinBox
              anchors.centerIn: parent
              enabled: false
              hoverEnabled: true
              onHoveredChanged: console.log("hover", spinBox.hovered)
          }
      }
      

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-94919
          # Subject Branch Project Status CR V

          Activity

            People

              mitch_curtis Mitch Curtis
              henning Henning Gründl
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: