packages.flutter icon indicating copy to clipboard operation
packages.flutter copied to clipboard

[pdfx] Blank pages when using controller to change page

Open carman247 opened this issue 2 years ago • 1 comments

Getting blank pages when using the controller to change page. Always seems to be on pages 4-8, or around that point.

Continuing past the blank pages eventually loads the ones behind.

It doesn't occur when swiping/scrolling through pages.

Changing zoom/scale on blank page seems to update the widget and eventually display the page.

It also fails to update the PdfPageNumber widget when skipping to a page after a blank page

e.g.

Page 3 is blank > nextPage > Page 4 loads but PdfPageNumber widget shows 3 of ...

carman247 avatar Jun 29 '22 12:06 carman247

I am having the same issue. I only seem to have the issue on PDFs longer than 2 pages.

If I navigate to the 3rd page, change apps, then change back to my app, the 3rd page appears as though it's been there from the start.

Sounds to me like some sort of refresh method is not being triggered correctly internally.

dajack05 avatar Dec 24 '23 02:12 dajack05