Ok. Thanks Daniel. Tracked it down to the MainView. Updating title and
example code.

** Summary changed:

- QML MouseArea CursorShape: not respected
+ MainView intercepts MouseArea's CursorShape property

** Description changed:

  The MouseArea CursorShape doesnt have any effect.
  
  Docs Here: http://doc.qt.io/qt-5/qml-qtquick-mousearea.html
  
- Expected Behavour: 
+ Expected Behavour:
  Mouse image shows selected Qt cursor
  
- Experienced Behavour: 
- The regular arrow is displayed. 
- 
+ Experienced Behavour:
+ The regular arrow is displayed.
  
  Example Code:
  
  import QtQuick 2.4
  import Ubuntu.Components 1.3
  
+ MainView {
+     objectName: "mainView"
+     applicationName: "mouseTest"
  
- MainView {
-     objectName: "mainView"
-     applicationName: "mouseTest"
+     width: units.gu(100)
+     height: units.gu(75)
  
-     width: units.gu(100)
-     height: units.gu(75)
+     Rectangle{
+         anchors.fill: parent
+         color: UbuntuColors.coolGrey
  
-     Page {
-         header: PageHeader {
-             id: pageHeader
-             title: i18n.tr("Cursor Test")
-         }
- 
-         Rectangle{
-             anchors.fill: parent
-             color: UbuntuColors.coolGrey
- 
- 
-             MouseArea{
-                 anchors.fill: parent
-                 cursorShape: Qt.CrossCursor
-                 hoverEnabled: true
-                 onClicked: console.log("In MouseArea")
- 
-             }
-         }
-     }
+         MouseArea{
+             anchors.fill: parent
+             cursorShape: Qt.CrossCursor
+             hoverEnabled: true
+             onClicked: console.log("In MouseArea")
+         }
+     }
  }

** Summary changed:

- MainView intercepts MouseArea's CursorShape property
+ MainView intercepts MouseArea's cursorShape property

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1598920

Title:
  MainView intercepts MouseArea's cursorShape property

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1598920/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to