Merge pull request #9731 from dotCooCoo/fix/browser-place-distinct-sources-w4

Keep distinct browser Place files that share a name
This commit is contained in:
.CooCoo authored and GitHub committed 2026-11-27 22:11:26 -08:00
commit a8beb0310a
8 files changed
+340 -63

No files matched your search

+6 -1
View File
@@ -9928,7 +9928,12 @@ its allocation limit. Importing individual layers with `layers: true` retains it
`file.place.info` describes a file without placing it and `image.info` reports a placed image's link, colour mode and
effective ppi. `file.place.queue` loads the place cursor (the `place` tool) with several files: headless, drive it
with `pointer_gesture` (a click places at 100% with the top-left corner there, a drag at the dragged size) and
`press_key` (Left/Right/Up/Down cycle, Escape discards the current file). The cursor keeps an encrypted PDF, `.ai`
`press_key` (Left/Right/Up/Down cycle, Escape discards the current file). The place tool's state includes a
read-only `sourceIndex`: the current file's zero-based position in the original load, or null when empty.
It stays with that file when other files are placed or discarded; `current` indexes the remaining files.
In the app, same-named files also keep their own queued size and password requirement. Choosing another PDF
page after a cursor click places that page at its own size; a drag keeps the chosen box.
The cursor keeps an encrypted PDF, `.ai`
or `.ait` file that it cannot read without the password, at 612 × 792 pt (VectorCraft's own size) with
`needsPassword: true` and no thumbnail; in the app a click or drag on it asks for the password, and headless it places
nothing. `file.place`, `file.place.queue` and