Merge lp:~verzegnassi-stefano/ubuntu-docviewer-app/fix-zoom-performance into lp:ubuntu-docviewer-app/trunk
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Nicholas Skaggs on 2015-02-26 | ||||
| Approved revision: | 77 | ||||
| Merged at revision: | 83 | ||||
| Proposed branch: | lp:~verzegnassi-stefano/ubuntu-docviewer-app/fix-zoom-performance | ||||
| Merge into: | lp:ubuntu-docviewer-app/trunk | ||||
| Diff against target: |
53 lines (+10/-12) 1 file modified
src/app/qml/PdfView.qml (+10/-12) |
||||
| To merge this branch: | bzr merge lp:~verzegnassi-stefano/ubuntu-docviewer-app/fix-zoom-performance | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Ubuntu Phone Apps Jenkins Bot | continuous-integration | Approve on 2015-02-26 | |
| Alan Pope πΊπ§π± π¦ | 2015-02-09 | Approve on 2015-02-18 | |
|
Review via email:
|
|||
Commit Message
Fixed zoom performance
Description of the Change
QQuickView:
In the current trunk code, it's called whenever _zoomHelper.scale value changes, one call for each delegate currently loaded.
That means that (on phones) we have ~5 calls for each pinchUpdated event, and it's too much.
In the proposed patch, QQuickView:
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
UNSTABLE: http://
deb: http://
SUCCESS: http://
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
UNSTABLE: http://
deb: http://
SUCCESS: http://


PASSED: Continuous integration, rev:77 91.189. 93.70:8080/ job/ubuntu- docviewer- app-ci/ 166/ 91.189. 93.70:8080/ job/generic- mediumtests- vivid/1040 91.189. 93.70:8080/ job/generic- mediumtests- vivid/1040/ artifact/ work/output/ *zip*/output. zip 91.189. 93.70:8080/ job/ubuntu- docviewer- app-vivid- amd64-ci/ 69
http://
Executed test runs:
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: 91.189. 93.70:8080/ job/ubuntu- docviewer- app-ci/ 166/rebuild
http://