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

Arrow cursor does't work on splitter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.1.1
    • Fix Version/s: 5.2.1
    • Component/s: Quick: Controls 1
    • Labels:
      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

            Assignee:
            bachewii Jens
            Reporter:
            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