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

PdfMultiPageView's `currentPage` property value gets out of sync when rapidly calling goToPage(currentPage + 1)

    XMLWordPrintable

Details

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

    Description

      I have a 'next page' button that simply calls

      pdfView.goToPage(pdfView.currentPage + 1)

      where pdfView is a PdfMultiPageView

       

      If I start at the first page of a PDF (index 0) and rapidly press this button 15 times, pdfView.currentPage will have the expected value 15, but the PdfMultiPageView will actually show me a page that is somewhere around index 8-12 or so. It seems there's some asynchronous handling going on that can't cope well with being called while the previous "iteration" is still going on.

      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:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes