mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-30 02:07:10 +01:00
Package: a failed save before packaging writes no package
With Background Save on, Package's OK started the save of a dirty document on the worker and then wrote the package whether or not that save succeeded. With both preferences off, a failed save already stopped the package, so the result depended on the preferences. The package now starts only after the save is written, with both preferences in every combination. With Background Export on, it is still collected from the document as it was at OK and starts once the save's result arrives; when the save fails, or asks a question first, no package is written and the save's error stays in the status bar. With Background Export off, the dialog shows the save's error. background::after runs a step on the UI thread once a job's result is applied.
This commit is contained in:
1 parent
e899f3fdb4
commit
fe489405d7
4 files changed
+92
-11
No files matched your search
@@ -762,8 +762,8 @@ the `PATH` elsewhere), and any other file, or a raster image without PhotoCraft
|
||||
|
||||
Package: File → Package… (`ui.packageDialog`) opens the `package` dialog for a saved document (a document never saved
|
||||
gets a `confirm` dialog whose OK runs `file.saveAs`). Fields: `folder` (the location), `name` (the package folder),
|
||||
`copyLinks`, `linksFolder`, `relink`, `copyFonts`, `report`. `ui.dialog.confirm` saves unsaved changes, runs
|
||||
`file.package` and then opens a `confirm` dialog whose OK runs `file.showPackage {folder}`; the web downloads the zip
|
||||
`copyLinks`, `linksFolder`, `relink`, `copyFonts`, `report`. `ui.dialog.confirm` saves unsaved changes (when that save
|
||||
fails, no package is written, also with Background Save and Background Export on), runs `file.package` and then opens a `confirm` dialog whose OK runs `file.showPackage {folder}`; the web downloads the zip
|
||||
instead. Document Info's flyout picks a category and Save… runs `docInfo.save {path?, selectionOnly?, category?}` with the
|
||||
category the panel shows (none for All Categories, which writes every category).
|
||||
|
||||
|
||||
Reference in new issue
Block a user