Merge lp:~verzegnassi-stefano/ubuntu-docviewer-app/fix-zoom-performance into lp:ubuntu-docviewer-app/trunk
Proposed by
Stefano Verzegnassi
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Nicholas Skaggs | ||||
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 | |
Alan Pope πΊπ§π± π¦ (community) | Approve | ||
Review via email: mp+249060@code.launchpad.net |
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:
To post a comment you must log in.
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://