Icon image loading is synchronous
Bug #1535480 reported by
Albert Astals Cid
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Zoltan Balogh | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
High
|
Zsombor Egri |
Bug Description
The Image {} in Icon*.qml is not setting asynchronous to true.
I would suggest to set it to true so the loading is not blocking the main thread.
If you don't want to set it to async by default maybe you can add an alias so we can set it externally?
What do you think?
Related branches
lp:~zsombi/ubuntu-ui-toolkit/icon_async
- ubuntu-sdk-build-bot: Approve (continuous-integration)
- Cris Dywan: Approve
- Albert Astals Cid (community): Approve
-
Diff: 188 lines (+148/-0)3 files modifiedcomponents.api (+2/-0)
src/Ubuntu/Components/1.3/Icon.qml (+7/-0)
tests/unit_x11/tst_components/tst_icon13.qml (+139/-0)
description: | updated |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Zoltan Balogh (bzoltan) |
status: | New → Fix Committed |
milestone: | none → ww08-2016 |
importance: | Undecided → High |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Yes, agree on this. However, to avoid the other parties, who want to load synchronously, the best will be to expose the property to the Icon API.