Merge lp:~aacid/unity8/dash_backgroud_source_size_rework into lp:unity8
| Status: | Merged |
|---|---|
| Approved by: | Gerry Boland on 2015-12-16 |
| Approved revision: | 2014 |
| Merged at revision: | 2168 |
| Proposed branch: | lp:~aacid/unity8/dash_backgroud_source_size_rework |
| Merge into: | lp:unity8 |
| Prerequisite: | lp:~aacid/unity8/real_instead_of_var |
| Diff against target: |
29 lines (+6/-2) 1 file modified
qml/Dash/DashBackground.qml (+6/-2) |
| To merge this branch: | bzr merge lp:~aacid/unity8/dash_backgroud_source_size_rework |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Gerry Boland | 2015-10-29 | Approve on 2015-12-16 | |
| Michał Sawicz | Approve on 2015-12-16 | ||
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-11-27 | |
|
Review via email:
|
|||
Commit Message
Set the background source size to the max we'll need + new background
Solves async reloading and rescaling the image on every horizontal resize of the window
Description of the Change
* Are there any related MPs required for this MP to build/function as expected?
No, i've set the prerequisite since it's a series i've been working on but if needed i can unchain the branches.
* Did you perform an exploratory manual test run of your code change and any related functionality?
Yes
* Did you make sure that your branch does not contain spurious tags?
Yes
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/A
* If you changed the UI, has there been a design review?
N/A
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2010
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 2011. By Albert Astals Cid on 2015-10-30
-
readonly+comment
| Albert Astals Cid (aacid) wrote : | # |
> That kinda beats the change below... Don't think we can leave the above be, we need a square asset instead.
I agree with a square asset it'd be better but this patch still improves a lot the regular resizing case in which most of the times you're not changing the anchors.fill.width > anchors.fill.height condition
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2011
http://
Executed test runs:
UNSTABLE: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2011
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 2012. By Albert Astals Cid on 2015-11-06
-
merge
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2012
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 2013. By Albert Astals Cid on 2015-11-27
-
Merge
- 2014. By Albert Astals Cid on 2015-11-27
-
Use a square background provided by design
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2013
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2014
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Michał Sawicz (saviq) wrote : | # |
* Did you perform an exploratory manual test run of the code change and any related functionality?
Will do in silo
* Did CI run pass? If not, please explain why.
Except for broken xenial AP :/
* Did you make sure that the branch does not contain spurious tags?
Yes
| Gerry Boland (gerboland) wrote : | # |
I dislike that it's such a huge image. But the QML approach is sound
- 2015. By Albert Astals Cid on 2015-12-18
-
Merge
- 2016. By Albert Astals Cid on 2015-12-18
-
Use the thumbnailer to load the dash background
In the worst case (not in cache) we're a bit slower since we need to go through some extra steps for the resizing
but hopefully most of the cases the file will be in cache and we save the resizing on boot - 2017. By Albert Astals Cid on 2015-12-18
-
no need for the substr

Could be readonly, and a quick comment like
// avoids CPU scaling when window size changes
does no harm.
This will increase GPU memory pressure, but if that becomes an issue, we can pursue texture compression