← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1166127] Re: InverseMouseArea without sensingArea doesn't work

 

raring has seen the end of its life and is no longer receiving any
updates. Marking the raring task for this ticket as "Won't Fix".

** Changed in: ubuntu-ui-toolkit (Ubuntu Raring)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1166127

Title:
  InverseMouseArea without sensingArea doesn't work

Status in Ubuntu UI Toolkit:
  Fix Released
Status in ubuntu-ui-toolkit package in Ubuntu:
  Fix Released
Status in ubuntu-ui-toolkit source package in Raring:
  Won't Fix

Bug description:
  InverseMouseArea's default sensingArea seems to be broken -
  uncommenting the sensingArea binding in the example below makes it
  work.

  The tests pass, so they need to be improved.

  import QtQuick 2.0
  import Ubuntu.Components 0.1

  Item {
      id: root
      width: units.gu(80) 
      height: units.gu(80)

      MouseArea {
          anchors.fill: parent

          onClicked: console.log("++++++++")
      }

      Rectangle {
          width: units.gu(10)
          height: units.gu(10)
          anchors.centerIn: parent
          color: "red"

          InverseMouseArea {
              anchors.fill: parent
              // sensingArea: root
              onClicked: console.log("---------")
          }
      }
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1166127/+subscriptions