Merge lp:~jamesh/thumbnailer/no-fallback-albumart into lp:thumbnailer
Proposed by
James Henstridge
Status: | Superseded | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~jamesh/thumbnailer/no-fallback-albumart | ||||
Merge into: | lp:thumbnailer | ||||
Diff against target: |
68 lines (+11/-12) 2 files modified
plugins/Ubuntu/Thumbnailer/albumartgenerator.cpp (+3/-12) tests/qml/tst_image_provider.qml (+8/-0) |
||||
To merge this branch: | bzr merge lp:~jamesh/thumbnailer/no-fallback-albumart | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Henstridge | Needs Fixing | ||
Jussi Pakkanen (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Needs Fixing | |
Review via email: mp+219460@code.launchpad.net |
This proposal has been superseded by a proposal from 2015-06-29.
Commit message
Make the album art image provider return a null QImage on error so that applications can detect the failure and handle fallback themselves.
Description of the change
Rather than providing a fallback image from the albumart ImageProvider, return a null QImage object. When used with the QML Image component, this sets the status to Image.Error which allows applications to handle the fallback themselves.
This was requested by the music-app guys, but I haven't yet verified behaviour in the dash.
To post a comment you must log in.
FAILED: Continuous integration, rev:85 /code.launchpad .net/~jamesh/ thumbnailer/ no-fallback- albumart/ +merge/ 219460/ +edit-commit- message
No commit message was specified in the merge proposal. Click on the following link and set the commit message (if you want a jenkins rebuild you need to trigger it yourself):
https:/
http:// jenkins. qa.ubuntu. com/job/ thumbnailer- ci/59/ jenkins. qa.ubuntu. com/job/ thumbnailer- utopic- amd64-ci/ 1 jenkins. qa.ubuntu. com/job/ thumbnailer- utopic- armhf-ci/ 1 jenkins. qa.ubuntu. com/job/ thumbnailer- utopic- armhf-ci/ 1/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ thumbnailer- utopic- i386-ci/ 1
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/thumbnailer -ci/59/ rebuild
http://