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

TextEdit has wrong cursor shape on hover

    XMLWordPrintable

Details

    • All
    • 175dfd25c2 (qt/qtdeclarative/dev) 175dfd25c2 (qt/tqtc-qtdeclarative/dev) ea92763900 (qt/qtdeclarative/6.3) ea92763900 (qt/tqtc-qtdeclarative/6.3) 6f6db238d4 (qt/qtdeclarative/6.4) 6f6db238d4 (qt/tqtc-qtdeclarative/6.4)

    Description

      TextEdit has Qt.IBeamCursor cursor shape on hover even when it's readonly and not selectable by mouse

      Code sample:

      import QtQuick
      
      Window {
          id: window
          width: 640
          height: 480
          visible: true
      
          TextEdit {
              anchors.fill: parent
              horizontalAlignment: Qt.AlignHCenter
              verticalAlignment: Qt.AlignVCenter
              text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.'
              wrapMode: TextEdit.WordWrap
      
              readOnly: true
              selectByMouse: false
          }
      }
      

      It should have Qt.ArrowCursor cursor shape in this case.

      Attachments

        Issue Links

          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:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes