** No longer affects: ubuntu-ui-toolkit

-- 
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/1395690

Title:
  importing Ubuntu.Components makes Image source property non notify-
  able

Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Confirmed

Bug description:
  The following code works

  import QtQuick 2.3

  Image {
      id: image

      visible: source != ""

      Component.onCompleted: image.source = "myimage.jpg"
  }

  but if you add the Ubuntu.Components import it breaks

  
  import QtQuick 2.3
  import Ubuntu.Components 1.1

  Image {
      id: image

      visible: source != ""

      Component.onCompleted: image.source = "myimage.jpg"
  }

  and you get

  QQmlExpression: Expression file:///home/tsdgeos_work/borrame/main.qml:8:14 
depends on non-NOTIFYable properties:
      QQuickImage::source

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

-- 
Mailing list: https://launchpad.net/~ubuntu-sdk-bugs
Post to     : ubuntu-sdk-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-sdk-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to