importing Ubuntu.Components makes Image source property non notify-able
Bug #1395690 reported by
Albert Astals Cid
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Critical
|
Zsombor Egri | ||
Vivid |
New
|
Undecided
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu RTM) |
New
|
Undecided
|
Unassigned |
Bug Description
The following code works
import QtQuick 2.3
Image {
id: image
visible: source != ""
Component.
}
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.
}
and you get
QQmlExpression: Expression file://
QQuickImage
Related branches
lp://staging/~ubuntu-sdk-team/ubuntu-ui-toolkit/imageSourceNotNOTIFYable
- PS Jenkins bot: Approve (continuous-integration)
- Cris Dywan: Approve
-
Diff: 102 lines (+35/-6)4 files modifiedcomponents.api (+2/-0)
modules/Ubuntu/Components/plugin/ucqquickimageextension.cpp (+3/-0)
modules/Ubuntu/Components/plugin/ucqquickimageextension.h (+4/-1)
tests/unit_x11/tst_components/tst_imageprovider.qml (+26/-5)
Changed in ubuntu-ui-toolkit: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
assignee: | nobody → Zsombor Egri (zsombi) |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Zsombor Egri (zsombi) |
importance: | Undecided → Critical |
status: | New → Confirmed |
no longer affects: | ubuntu-ui-toolkit |
To post a comment you must log in.
The relevant MP that caused this: /code.launchpad .net/~zsombi/ ubuntu- ui-toolkit/ image-sourcecha nged/+merge/ 242051
https:/