Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-136499

While performing pinch to zoom in on PdfMultiPageView, page is partially obscured due to z-order error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.2
    • PDF
    • None
    • Linux/X11

    Description

      When performing a pinch gesture, the page of the PDF that is being zoomed in will partially be obscured by the page before it, but not by the page after it. Which makes sense when only this single page is being scaled up, thus partially overlapping the previous and next pages, and all the pages are all sibling delegates of the same TableView and the z-order of the delegate isn't been explicitly manipulated.

      In PdfMultiPageView.qml, inside the PinchHandler around line 429, an attempt is actually made to manipulate the delegate's z-order (paper.z = 10 and paper.z = 02), but that has no effect whatsoever because the paper is the single child of the pageHolder, but that pageHolder is actually the TableView's delegate. So, the fix would simply be to call pageHolder.z = 10 instead

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            srutledg Shawn Rutledge
            chris_w_ Chris Wolkenfelt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes