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

Cursor doesn't change its shape when hovering spliiter of SplitView containing WebView

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • Some future release
    • 5.1.0 , 5.2.0 RC1
    • Quick: Controls 1
    • None
    • Visual 2012, Qt 5.1.0
      Fedora 19, GCC 4.8.1, Qt 5.2 RC1

    Description

      When QML SplitView control contains WebView as one of its children, the mouse cursor stops changing its shape when hovering the draggable splitter element.

      The following code can be used to observe the issue

      import QtQuick 2.0
      import QtQuick.Controls 1.0
      import QtQuick.Layouts 1.0
      import QtWebKit 3.0
      
      Rectangle {
          width: 400
          height: 400
      
          SplitView {
              anchors.fill: parent
              orientation: Qt.Horizontal
      
              Rectangle {
                  width: 200
                  color: "gray"
              }
      
      
      // uncomment this Rectangle and comment below WebView and resize icon properly appears
      //         Rectangle {
      //             color: "red"
      //         }
      
               WebView {
                   url: "http://qt-project.org/"
               }
           }
      }
      

      After WebView finishes loading, cursor never changes its shape, even when hovering the draggable splitter between the Rectangle and WebView.
      However, if the WebView is replaced with Rectangle (commented out section in the code above) everything works as it should.

      I've reproduced the issue both on Windows (Qt 5.1) and Fedora (Qt 5.2 RC). When trying to reproduce this bug on Windows with MSVC 2012 and Qt 5.2 RC1 I encounter the crash, as described in QTBUG-34066.

      Attachments

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

        Activity

          People

            bachewii Jens
            mwu Michał Urbańczyk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes