cvfosammmm / Setzer

LaTeX editor written in Python with Gtk
https://www.cvfosammmm.org/setzer/
Other
385 stars 33 forks source link

Bug: PDF preview does not scroll past original page number #377

Closed marcoSchr closed 8 months ago

marcoSchr commented 8 months ago

When adding new pages to a document and building the document again, the preview shows the correct number of pages in the header but does not allow to scroll past the old last page.

System Information

Steps to reproduce

  1. Open a tex file with a pdf already build
  2. Add one or more pages to the file
  3. Build the pdf again
  4. scroll to the end of the file

Expected behavior

The pdf preview shows all pages of the current build pdf

Observed behavior

The pdf preview only shows the number of pages of the first opened pdf.

sebastiaanfranken commented 8 months ago

This happens on my systems as well.

System Information

Expected behavior

The PDF preview shows all pages of the current built PDF

Observed behavior

The PDF preview shows only the number of pages of the PDF before (re)building. I have noticed that closing and reopening the PDF preview (press F9 twice) does solve the issue.

cvfosammmm commented 8 months ago

Should be fixed with the latest commit. Thanks for reporting this.

sebastiaanfranken commented 8 months ago

I have just tested it (after the last update) and for me the issue is indeed gone. The update has fixed it.