← Back to team overview

ubuntu-touch-coreapps-reviewers team mailing list archive

[Merge] lp:~tpeeters/ubuntu-docviewer-app/bug1577277-workaround into lp:ubuntu-docviewer-app

 

Tim Peeters has proposed merging lp:~tpeeters/ubuntu-docviewer-app/bug1577277-workaround into lp:ubuntu-docviewer-app.

Commit message:
Workaround for bug 1577277.

Requested reviews:
  Ubuntu Document Viewer Developers (ubuntu-docviewer-dev)

For more details, see:
https://code.launchpad.net/~tpeeters/ubuntu-docviewer-app/bug1577277-workaround/+merge/304561
-- 
Your team Ubuntu Document Viewer Developers is requested to review the proposed merge of lp:~tpeeters/ubuntu-docviewer-app/bug1577277-workaround into lp:ubuntu-docviewer-app.
=== modified file 'src/app/qml/pdfView/PdfView.qml'
--- src/app/qml/pdfView/PdfView.qml	2016-03-26 18:44:53 +0000
+++ src/app/qml/pdfView/PdfView.qml	2016-08-31 20:15:12 +0000
@@ -96,6 +96,10 @@
                 Component.onDestruction: window.releaseResources()
             }
 
+            Component.onDestruction: {
+                // workaround for bug #1577277
+                pdfPage.header.flickable = null;
+            }
             // FIXME: On zooming, keep the same content position.
             PinchArea {
                 id: pinchy


Follow ups