ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #02123
[Bug 1395690] Re: importing Ubuntu.Components makes Image source property non notify-able
** 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