Merge lp:~sil2100/ubuntu-system-settings/background_fallback_workaround into lp:ubuntu-system-settings
Status: | Merged |
---|---|
Approved by: | Sebastien Bacher |
Approved revision: | 439 |
Merged at revision: | 448 |
Proposed branch: | lp:~sil2100/ubuntu-system-settings/background_fallback_workaround |
Merge into: | lp:ubuntu-system-settings |
Diff against target: |
49 lines (+5/-4) 2 files modified
plugins/background/MainPage.qml (+5/-2) plugins/background/background.pro (+0/-2) |
To merge this branch: | bzr merge lp:~sil2100/ubuntu-system-settings/background_fallback_workaround |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sebastien Bacher (community) | Approve | ||
PS Jenkins bot | continuous-integration | Approve | |
Review via email: mp+189918@code.launchpad.net |
Commit message
Remove the included fallback images, use the ones that unity8 uses - we do it in the same way that unity8 does, but oh well, it's a workaround for now anyway
Description of the change
- Problem:
We have a snail and cogs as fallback images. SNAILS!
- Fix:
So, this fix is a temporary workaround for now, as the topic is still fresh. Please read up about the rationale:
Unity8 offers default fallback background images in its code. These are hardcoded and selected in the same way as I made it - a different one for tablet and phone. I decided to move the same thing here so that we have the very same visuals in settings as in the shell itself.
The thing I am recommending in the end is using the default value from GSettings. This is nice, but I think we still need to have a 'final' fallback in case someone overrides the default value to an invalid image, or the image gets broken etc. So anyway this change could get in I think.
Resetting to default value is a different game, and I have a branch for that already - using the default from GSettings. So we won't use the fallback there. In that fix/branch I will add all the default value GSettings functionality. Anyway it would make sense to have this in, no?
Since I am using absolute paths to the Unity8 graphics, I was thinking of maybe adding a dependency? But on the other hand, I guess ubuntu-
Please comment!
- Tests:
N/A
PASSED: Continuous integration, rev:438 jenkins. qa.ubuntu. com/job/ ubuntu- system- settings- ci/451/ jenkins. qa.ubuntu. com/job/ ubuntu- system- settings- saucy-amd64- ci/451
http://
Executed test runs:
SUCCESS: http://
Click here to trigger a rebuild: 10.97.0. 26:8080/ job/ubuntu- system- settings- ci/451/ rebuild
http://