<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><font class="Apple-style-span" face="monospace"><div><span class="Apple-style-span" style="white-space: pre-wrap;">Hi,</span></div><div><span class="Apple-style-span" style="white-space: pre-wrap;"><br></span></div><div><span class="Apple-style-span" style="white-space: pre-wrap;">I've used glass background for my app successfully in the first alpha</span></div><div><span class="Apple-style-span" style="white-space: pre-wrap;">sdk, but since the second alpha sdk, DeclarativeGlassImageProvider hasn't worked.</span></div><div><span class="Apple-style-span" style="white-space: pre-wrap;"><br></span></div><div><span class="Apple-style-span" style="white-space: pre-wrap;">Whatever I try to set to source of image element I get error similar to this:</span></div><div><span class="Apple-style-span" style="white-space: pre-wrap;"><br></span></div><div><span class="Apple-style-span" style="white-space: pre-wrap;">QFSFileEngine::open: No file name specified</span></div><div><span class="Apple-style-span" style="white-space: pre-wrap;">QFSFileEngine::open: No file name specified</span></div><div><span class="Apple-style-span" style="white-space: pre-wrap;">DeclarativeGlassImageProvider::requestImage(): source image "" is not available. </span></div><div><span class="Apple-style-span" style="white-space: pre-wrap;">qrc:/qml/Silica/AlbumContentPage.qml:66:5: QML Image: Failed to get image from provider: <a href="image://glass//home/nemo/.cache/cuteremote/album/127.png">image://glass//home/nemo/.cache/cuteremote/album/127.png</a></span></div><div><span class="Apple-style-span" style="white-space: pre-wrap;"><br></span></div><div><span class="Apple-style-span" style="white-space: pre-wrap;">The code is here:</span></div><div><span class="Apple-style-span" style="white-space: pre-wrap;">Image {</span></div><div><span class="Apple-style-span" style="white-space: pre-wrap;">    id: backgroundImage</span></div><div><span class="Apple-style-span" style="white-space: pre-wrap;">    source: "<a href="image://glass/">image://glass/</a>" + __artFileName</span></div><div><span class="Apple-style-span" style="white-space: pre-wrap;">    sourceSize { width: parent.width; height: parent.height }</span></div><div><span class="Apple-style-span" style="white-space: pre-wrap;">}</span></div><div><span class="Apple-style-span" style="white-space: pre-wrap;"><br></span></div><div><span class="Apple-style-span" style="white-space: pre-wrap;">where __artFileName changes to correct path (/home/nemo/.cache/cuteremote/album/127.png, file does exists)</span></div><div><span class="Apple-style-span" style="white-space: pre-wrap;"><br></span></div><div><span class="Apple-style-span" style="white-space: pre-wrap;">Is the DeclarativeGlassImageProvider still supported, has the API changed or is it just broken?</span></div><div><span class="Apple-style-span" style="white-space: pre-wrap;"><br></span></div><div><span class="Apple-style-span" style="white-space: pre-wrap;"><br></span></div><div><span class="Apple-style-span" style="white-space: pre-wrap;">-- </span></div><div><span class="Apple-style-span" style="white-space: pre-wrap;">Tero</span></div><div style="white-space: pre-wrap; "><br></div></font></div></body></html>