Failure to load images with @ suffix when images loaded before import Ubuntu.Components
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Invalid
|
High
|
Unassigned |
Bug Description
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
tags: | added: theming |
Changed in ubuntu-ui-toolkit: | |
importance: | Undecided → High |
Changed in ubuntu-ui-toolkit: | |
assignee: | nobody → Zsombor Egri (zsombi) |
Changed in ubuntu-ui-toolkit: | |
importance: | High → Critical |
Changed in ubuntu-ui-toolkit: | |
status: | New → Confirmed |
Changed in ubuntu-ui-toolkit: | |
importance: | Critical → High |
summary: |
- Failure to load theme when images loaded before SDK components + Failure to load images with @ suffix when images loaded before import + Ubuntu.Components |
tags: | removed: theming |
Changed in ubuntu-ui-toolkit: | |
status: | Confirmed → Invalid |
Why is this bug critical? Sure it is not nice, but does it block or break anything?