Failure to load theme when images loaded before SDK components
This bug was reported on TextArea embedding a scrollbar, where the scrollbar assets are not loaded depending on the order of the text area in its parent item.
Blueprint information
- Status:
- Complete
- Approver:
- Zoltan Balogh
- Priority:
- Undefined
- Drafter:
- Zsombor Egri
- Direction:
- Needs approval
- Assignee:
- Zsombor Egri
- Definition:
- Superseded
- Series goal:
- Accepted for raring
- Implementation:
- Unknown
- Milestone target:
- ubuntu-13.04-month-6
- Started by
- Completed by
- Zoltan Balogh
Related branches
Related bugs
Bug #1100795: Failure to load images with @ suffix when images loaded before import Ubuntu.Components | Invalid |
Sprints
Whiteboard
Given the following simple 3 files, you get the following error when running Main.qml in qmlscene:
file://
file://
(repeated several times)
Here's the files:
==== Main.qml ====
import QtQuick 2.0
Item {
height: 100
width: 400
ImageItem {}
TextItem {}
}
==== ImageItem.qml ====
import QtQuick 2.0
Image {}
==== TextItem.qml ====
import QtQuick 2.0
import Ubuntu.Components 0.1
TextArea {}
=======
If you switch the order of ImageItem and TextItem in Main.qml or "import Ubuntu.Components 0.1" from Main.qml, then the error doesn't appear anymore
Work Items
Work items:
Investigate the bug: TODO