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

Setting cursorShape on TapHandler has no effect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.2.4, 6.3.2, 6.5.2
    • None
    • All

    Description

      Setting cursorShape on TapHandler has no effect.
      So e.g. to define cursor shape for clickable area we have to use extra HoverHandler instance instead of just using corresponding property in TapHandler itself.

      Code sample:

      import QtQuick
      
      Window {
          width: 640
          height: 480
          visible: true
      
          Item {
              anchors.fill: parent
              TapHandler {
                  cursorShape: Qt.PointingHandCursor // has no effect
                  onTapped: console.log('tapped')
              }
          }
      }
      

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes