2014-12-12 14:46:52 |
Olivier Tilloy |
bug |
|
|
added bug |
2014-12-12 14:46:52 |
Olivier Tilloy |
attachment added |
|
test.qml https://bugs.launchpad.net/bugs/1401920/+attachment/4279590/+files/test.qml |
|
2014-12-12 14:47:36 |
Olivier Tilloy |
description |
When importing Ubuntu.Components, the base Image QML type is enhanced (with the UCQQuickImageExtension class) to add transparent support for scaling assets.
This breaks the emission of the sourceChanged signal. Application developers cannot implement the onSourceChanged slot to be notified of changes to the value of the 'source' property, and this isn’t documented anywhere.
Another issue I’m observing with this custom extension is that an image is not reloaded if I do the following, and invoke the reload() function on the image (this works if I comment out the import of Ubuntu.Components):
Image {
cache: false
function reload() {
var s = source
source = ""
source = s
}
}
Similarly (and maybe even more worrying, actually changing the value of the source property (by appending a fragment to the URL) doesn’t trigger a reload either, as demonstrated by the attached example (requires a random image named "test.jpg" in the same folder). |
When importing Ubuntu.Components, the base Image QML type is enhanced (with the UCQQuickImageExtension class) to add transparent support for scaling assets.
This breaks the emission of the sourceChanged signal. Application developers cannot implement the onSourceChanged slot to be notified of changes to the value of the 'source' property, and this isn’t documented anywhere.
Another issue I’m observing with this custom extension is that an image is not reloaded if I do the following, and invoke the reload() function on the image (this works if I comment out the import of Ubuntu.Components):
Image {
cache: false
function reload() {
var s = source
source = ""
source = s
}
}
Similarly (and maybe even more worrying), actually changing the value of the source property (by appending a fragment to the URL) doesn’t trigger a reload either, as demonstrated by the attached example (requires a random image named "test.jpg" in the same folder). |
|
2015-11-14 14:40:06 |
Zsombor Egri |
ubuntu-ui-toolkit (Ubuntu): status |
New |
Incomplete |
|
2015-11-15 22:16:25 |
Olivier Tilloy |
ubuntu-ui-toolkit (Ubuntu): status |
Incomplete |
New |
|
2015-12-18 08:45:38 |
Zsombor Egri |
ubuntu-ui-toolkit (Ubuntu): assignee |
|
Zsombor Egri (zsombi) |
|
2015-12-18 08:45:40 |
Zsombor Egri |
ubuntu-ui-toolkit (Ubuntu): importance |
Undecided |
Critical |
|
2015-12-18 08:45:42 |
Zsombor Egri |
ubuntu-ui-toolkit (Ubuntu): status |
New |
In Progress |
|
2015-12-18 08:47:24 |
Launchpad Janitor |
branch linked |
|
lp:~zsombi/ubuntu-ui-toolkit/imageExtensionFix |
|
2015-12-22 10:27:19 |
Zoltan Balogh |
affects |
ubuntu-ui-toolkit (Ubuntu) |
ubuntu-ui-toolkit (Ubuntu RTM) |
|
2015-12-22 15:17:47 |
Cris Dywan |
ubuntu-ui-toolkit (Ubuntu RTM): assignee |
Zsombor Egri (zsombi) |
Christian Dywan (kalikiana) |
|
2015-12-22 17:31:28 |
Launchpad Janitor |
branch linked |
|
lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/scaleMeBabyOneMoreTime |
|
2016-01-05 11:31:56 |
Timo Jyrinki |
bug task added |
|
ubuntu-ui-toolkit (Ubuntu) |
|
2016-01-06 17:30:24 |
Łukasz Zemczak |
ubuntu-ui-toolkit (Ubuntu RTM): status |
In Progress |
Fix Released |
|
2016-01-06 17:37:22 |
Zoltan Balogh |
bug task deleted |
ubuntu-ui-toolkit (Ubuntu) |
|
|
2016-01-06 17:55:46 |
Jean-Baptiste Lallement |
bug task added |
|
canonical-devices-system-image |
|
2016-01-06 17:55:53 |
Jean-Baptiste Lallement |
canonical-devices-system-image: status |
New |
Fix Committed |
|
2016-01-06 17:55:56 |
Jean-Baptiste Lallement |
canonical-devices-system-image: importance |
Undecided |
Critical |
|
2016-01-06 17:56:02 |
Jean-Baptiste Lallement |
canonical-devices-system-image: assignee |
|
Zoltan Balogh (bzoltan) |
|
2016-01-06 17:56:06 |
Jean-Baptiste Lallement |
canonical-devices-system-image: milestone |
|
ww02-2016 |
|
2016-01-27 18:33:13 |
Pat McGowan |
canonical-devices-system-image: status |
Fix Committed |
Fix Released |
|