Comment 1 for bug 1349769

Revision history for this message
Tim Peeters (tpeeters) wrote :

it happens when the icon size is 1. I added some debugging output and see this:

qml: icon height = 5
qml: icon height = 4
qml: icon height = 3
qml: icon height = 2
qml: icon height = 1
file:///home/tim/dev/ubuntu-ui-toolkit/m/iconFix/modules/Ubuntu/Components/Icon.qml:85:5: QML Image: Failed to get image from provider: image://theme/add
qml: icon height = 0
qml: icon height = 1
qml: icon height = 2
qml: icon height = 1
file:///home/tim/dev/ubuntu-ui-toolkit/m/iconFix/modules/Ubuntu/Components/Icon.qml:85:5: QML Image: Failed to get image from provider: image://theme/add
qml: icon height = 0
qml: icon height = 1
qml: icon height = 2
qml: icon height = 1
file:///home/tim/dev/ubuntu-ui-toolkit/m/iconFix/modules/Ubuntu/Components/Icon.qml:85:5: QML Image: Failed to get image from provider: image://theme/add
qml: icon height = 0
qml: icon height = 1
qml: icon height = 2
qml: icon height = 3
qml: icon height = 4
qml: icon height = 5

the result does not seem to depend the value of GRID_UNIT_PX.