Merge lp:~aacid/unity8/fasterMovingFakeHighlight into lp:unity8
Status: | Merged |
---|---|
Approved by: | Michael Terry |
Approved revision: | 2396 |
Merged at revision: | 2451 |
Proposed branch: | lp:~aacid/unity8/fasterMovingFakeHighlight |
Merge into: | lp:unity8 |
Diff against target: |
22 lines (+2/-0) 2 files modified
qml/Dash/Previews/Preview.qml (+1/-0) qml/Dash/Previews/PreviewImageGallery.qml (+1/-0) |
To merge this branch: | bzr merge lp:~aacid/unity8/fasterMovingFakeHighlight |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Unity8 CI Bot | continuous-integration | Approve | |
Michael Terry | Approve | ||
Review via email: mp+295071@code.launchpad.net |
Commit message
Workaround QTBUG-53460
Make the invisible dummy highlight animate fast as to not cause extra rendering
The preview change is easy to reproduce, the gallery one is a bit harder but is based on the same principle.
For the preview one, open the Telegram app on the store and scroll down quite a bit and leave it there.
Observe how both unity8-dash and unity8 use around 20% CPU (on the phone) for a LONG time
Now do the same with this patch and see the CPU usage drops to 0 quickly.
The same workaround could apply to other ListViews but i can not reproduce the behaviour in the rest so i was cautious
Description of the change
* Are there any related MPs required for this MP to build/function as expected?
No
* Did you perform an exploratory manual test run of your code change and any related functionality?
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
PASSED: Continuous integration, rev:2396 /unity8- jenkins. ubuntu. com/job/ lp-unity8- ci/1237/ /unity8- jenkins. ubuntu. com/job/ test-0- autopkgtest/ label=amd64, release= vivid+overlay, testname= qmluitests. sh/771 /unity8- jenkins. ubuntu. com/job/ test-0- autopkgtest/ label=amd64, release= xenial+ overlay, testname= qmluitests. sh/771 /unity8- jenkins. ubuntu. com/job/ build-0- fetch/1667 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= vivid+overlay/ 1618 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= xenial+ overlay/ 1618 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 1611 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 1611/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial+ overlay/ 1611 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial+ overlay/ 1611/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 1611 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 1611/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial+ overlay/ 1611 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial+ overlay/ 1611/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 1611 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 1611/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial+ overlay/ 1611 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial+ overlay/ 1611/artifact/ output/ *zip*/output. zip
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild: /unity8- jenkins. ubuntu. com/job/ lp-unity8- ci/1237/ rebuild
https:/