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

Disabled QML Item background color changes on mouse hover

    XMLWordPrintable

Details

    • Windows

    Description

      The background color of QML `Item`s changes to the color set in the hovered property even when it is disabled. According to the documentation of Item, it should not receive keyboard or mouse events when disabled.
      https://doc.qt.io/qt-6.2/qml-qtquick-item.html#enabled-prop

      This can be reproduced with the attached sample.

      This issue happens with Qt6.2.4 and the expected behavior as it is written in above mentioned URL is observed with Qt 5.15. So we wonder if this is a regression.

      Attachments

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              sfukuda Shin Fukuda
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes