touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #89353
[Bug 1349769] Re: Failed to get image from provider Error message seen while using the Icon component
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1349769
Title:
Failed to get image from provider Error message seen while using the
Icon component
Status in Ubuntu UI Toolkit:
Fix Released
Status in ubuntu-ui-toolkit package in Ubuntu:
Fix Released
Bug description:
I have noticed that while using the icon component in the new clock
app that there is always an error message in the console about failing
to get image from provider. The error is not critical since despite
that message, one can still see the icon.
file:///usr/lib/i386-linux-
gnu/qt5/qml/Ubuntu/Components/Icon.qml:85:5: QML Image: Failed to get
image from provider: image://theme/add
Here is a sample app to reproduce the issue,
import QtQuick 2.0
import Ubuntu.Components 0.1
MainView {
objectName: "mainView"
applicationName: "com.ubuntu.developer.nik90.IconBug"
width: units.gu(100)
height: units.gu(75)
Page {
title: i18n.tr("Simple")
Flickable {
id: mainFlickable
anchors.fill: parent
contentHeight: units.gu(50)
contentWidth: parent.width
Icon {
id: plusIcon
anchors.centerIn: parent
color: UbuntuColors.coolGrey
name: "add"
height: Math.abs(mainFlickable.contentY)
width: height
}
}
}
}
So basically the add icon size change as you drag the flickable up an
down. I notice the error pop up when the icon is barely visible. Try
draggging the flickable up very slowly until the icon becomes really
small (looks like a dot) and you should see the message pop up on the
console, file:///usr/lib/x86_64-linux-
gnu/qt5/qml/Ubuntu/Components/Icon.qml:85:5: QML Image: Failed to get
image from provider: image://theme/add
I thought this is happening because the icon size reaches 0 at some
point, however on manually setting the icon size to 0, I don't see the
error.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1349769/+subscriptions