Merge lp://staging/~verzegnassi-stefano/ubuntu-docviewer-app/lok-new-zoom-modes+spreadsheet-zoom into lp://staging/ubuntu-docviewer-app
Status: | Merged | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Stefano Verzegnassi | ||||||||||||
Approved revision: | 257 | ||||||||||||
Merged at revision: | 274 | ||||||||||||
Proposed branch: | lp://staging/~verzegnassi-stefano/ubuntu-docviewer-app/lok-new-zoom-modes+spreadsheet-zoom | ||||||||||||
Merge into: | lp://staging/ubuntu-docviewer-app | ||||||||||||
Diff against target: |
1001 lines (+647/-86) 9 files modified
po/com.ubuntu.docviewer.pot (+13/-5) src/app/qml/loView/ZoomSelector.qml (+66/-28) src/plugin/libreofficetoolkit-qml-plugin/CMakeLists.txt (+1/-0) src/plugin/libreofficetoolkit-qml-plugin/loview.cpp (+183/-32) src/plugin/libreofficetoolkit-qml-plugin/loview.h (+24/-11) src/plugin/libreofficetoolkit-qml-plugin/qml/Viewer.qml (+23/-1) src/plugin/libreofficetoolkit-qml-plugin/twips.h (+36/-9) src/plugin/libreofficetoolkit-qml-plugin/ucunits.cpp (+241/-0) src/plugin/libreofficetoolkit-qml-plugin/ucunits.h (+60/-0) |
||||||||||||
To merge this branch: | bzr merge lp://staging/~verzegnassi-stefano/ubuntu-docviewer-app/lok-new-zoom-modes+spreadsheet-zoom | ||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jenkins Bot | continuous-integration | Approve | |
Alan Pope πΊπ§π± π¦ (community) | Needs Fixing | ||
Review via email:
|
Commit message
LibreOffice Viewer - LibreOfficeKit QML plugin:
- Open spreadsheet with manual zoom (1.0x factor)
- Added "Fit to height" and "Automatic" zoom behaviours
- Added a "zoomModesAvail
- Use UCUnits when converting TWIPs in pixels (and vice versa)
- Minor changes
Description of the change
LibreOffice Viewer - LibreOfficeKit QML plugin:
- Open spreadsheet with manual zoom (1.0x factor)
- Added "Fit to height" and "Automatic" zoom behaviours
- Added a "zoomModesAvail
- Use UCUnits when converting TWIPs in pixels (and vice versa)
- Minor changes
*** NOTE FOR REVIEWERS ***
Please let me know what do you think about the usage of manual zoom as default for spreadsheet documents.
It behaves properly on desktop, but on phones it looks overzoomed.
I believe it's anyway better than earlier, since the zoom value does not depend on the number of columns with content.
Ideally we want in future to set a different default zoom value when running on a mobile device (but it could be a bit complex to do)
FAILED: Continuous integration, rev:254 /core-apps- jenkins. ubuntu. com/job/ docviewer- app-ci/ 60/ /core-apps- jenkins. ubuntu. com/job/ generic- update- mp/322/ console
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild: /core-apps- jenkins. ubuntu. com/job/ docviewer- app-ci/ 60/rebuild
https:/