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

[macOS] ListView's items get hover while scrolling in Inactive window and behaviour seems completely broken

    XMLWordPrintable

Details

    • macOS
    • 1309bac26 (dev), 67e97b0e6 (6.4), 36eead2ff (6.5)

    Description

      ListView's items get hover while scrolling in Inactive window and behaviour seems completely broken. see attached video Screen Recording 2022-11-17 at 13.02.18.mov

      Sample code:

      import QtQuick
      
      Window {
          width: 640
          height: 480
          visible: true
      
          ListView {
              id: view
              anchors.fill: parent
              model: 200
              delegate: Rectangle {
                  width: view.width
                  height: 60
                  border.width: 1
                  color: hh.hovered ? 'blue' : 'white'
      
                  HoverHandler { id: hh }
              }
          }
      }
      

      Normally on macOS, app's controls shouldn't process hover at all in case of Inactive window, you can check this behaviour with e.g. native applications. Reproduced at least with macbook's touchpad, unfortunately I have no possibility to check with a mouse wheel. (reproduced with a mouse wheel as well).

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              studiosus Vladimir Belyavsky
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes