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

Arrow cursor does't work on splitter

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • 5.2.1
    • 5.1.1
    • Quick: Controls 1
    • None

    Description

      I am using MouseArea above SplitView.
      The property cursorShape is set to Qt.ArrowCursor.

      When cursor is hovering over splitter, cursor doesn't remain and "Qt.SplitHCursor" is shown,

      When cursorShape isn't Qt.ArrowCursor, this problem doesn't happen.

      The following code can be used to observe this problem.

      import QtQuick 2.0
      import QtQuick.Controls 1.0
      
      Rectangle {
          width: 360
          height: 360
      
          SplitView {
              orientation: Qt.Horizontal
              anchors.fill: parent
      
              Rectangle {
                  width: 100
                  color: "black"
              }
      
              Rectangle {
                  color: "red"
              }
          }
      
          MouseArea {
              z: 100
              anchors.fill: parent
              hoverEnabled: true
              acceptedButtons: Qt.AllButtons
              preventStealing: true
              propagateComposedEvents: false
              cursorShape: Qt.ArrowCursor
          }
      }
      

      Attachments

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

        Activity

          People

            bachewii Jens
            qrgscor RiJong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes