mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
File › Package… read every linked file and font and wrote the package on the UI thread, so the window stopped responding until the package was written. For a document that links 50 images of 21 MB each, OK with Background Export off, which does the same work, takes a median of 2.25 s in a release build on Windows. With Enable Background Export on (Preferences › File Handling), OK now takes the options, the report's Document Info text and a snapshot of the document, and closes the dialog. The thread that writes background saves and exports then collects the links and fonts and writes the package. The same OK takes 0.001 s, and the package holds the same bytes. A save of unsaved changes that Package starts is written first. With the preference off, on the web and over MCP and scripts, the package is made at once with the same reply as before. Docs: docs/target-app-parity.md.