momijizukamori / bookbinder-js

A JS application to format PDFs for bookbinding.
Mozilla Public License 2.0
99 stars 26 forks source link

Updating PDF file to a new file uses incorrect page count #71

Closed acestronautical closed 5 months ago

acestronautical commented 5 months ago
  1. Select input file
  2. Select a different input file, or the same input file which has been changed

Expected: page count updates and everything works Observed: page count does not update correctly and typeset/manifest has a bunch of blank pages or missing pages

acestronautical commented 5 months ago

I think this has something to do with createpagelist being called before [this.managedDoc, pages] = await this.embedPagesInNewPdf(this.currentdoc); so createpagelist is referencing an old document or something?