vectorcraft/docs
dotCooCoo 05bc89827b Drops: libraries, presets and plug-ins open on a drop, as File › Open opens them
With a document open, the desktop app ran File › Place on a swatch or
graphic style library, a Libraries panel file, a presets file or a
plug-in dropped on it. A desktop drop has no position, and without one
the app opened only documents and ran File › Place on every other file.
On the web, the app also ran File › Place on these files when they were
dropped on the canvas. File › Place can't read them, and the drop
failed with "Couldn't place X: ... not a format VectorCraft reads".

VectorcraftApp::drop_target now returns Open for these files, with or
without a drop position, and they open as File › Open opens them:
plug-ins are installed, presets are imported, swatch and graphic style
libraries open in the library panel, and a Libraries panel file is
added to the Libraries panel as a new library. A dropped library,
presets file or plug-in that has a path is added to Open Recent Files
when it opens, as File › Open adds it. io::opens_as returns the kind of
each of these files from its extension, and drop_target and
io::open_bytes both call it. The rules from #472 still apply to
documents, pictures and text. On the web the browser gives no file name
before the drop, so the app still outlines the canvas while such a file
is dragged over it.

Tests: drop_target returns Open for each of the eleven extensions, with
no position and with a position on the canvas. A .gpl dropped through
the desktop drop path loads in the library panel and is added to Open
Recent Files, and a .vclibrary dropped the same way becomes a new
library in the Libraries panel.

Docs: docs/control-protocol.md (file.place), docs/development.md
(Drag-and-drop), docs/target-app-parity.md (Evidence, UI).
2026-10-11 11:32:58 +07:00
..
brand Licensing: MIT OR Apache-2.0 files, NOTICE, ArtCraft brand terms 2026-10-04 10:05:13 -04:00
images README: refresh the screenshots and renders, add a Perspective Grid shot 2026-10-08 02:39:29 +07:00
affinity-validation.md AF.4 docs: leave out shop listings and sandbox notes 2026-10-09 22:20:39 +07:00
architecture.md Progress docs: target-app parity, gaps, alpha gate, readiness by audience (#994) 2026-10-10 14:11:14 -04:00
contributors.md About: contributor and model credits compiled in (grab bag + table, self-submitted names) (#411) 2026-10-07 21:22:04 -04:00
control-protocol.md Drops: libraries, presets and plug-ins open on a drop, as File › Open opens them 2026-10-11 11:32:58 +07:00
development.md Drops: libraries, presets and plug-ins open on a drop, as File › Open opens them 2026-10-11 11:32:58 +07:00
effects-parity.md Part of gap 2: Effect › Brush Strokes (Accented Edges, Angled Strokes, Crosshatch, Dark Strokes, Ink Outlines, Spatter, Sprayed Strokes, Sumi-e) 2026-10-11 01:19:26 +07:00
file-format-parity.md #1102: an EPS keeps its page and stacked text strokes through its layers 2026-10-11 11:03:11 +07:00
gaps.md #1034: scaled type shows and takes its scaled sizes 2026-10-11 07:00:34 +07:00
hardware-parity.md Progress docs: target-app parity, gaps, alpha gate, readiness by audience (#994) 2026-10-10 14:11:14 -04:00
localization-parity.md Progress docs: target-app parity, gaps, alpha gate, readiness by audience (#994) 2026-10-10 14:11:14 -04:00
mcp.md Object: Align, Move, Arrange and other commands that change nothing record no undo step 2026-10-11 07:02:28 +07:00
plugins.md Fix #121: sandboxed WebAssembly plug-ins: object filters and live effects 2026-10-06 00:19:41 +07:00
releasing.md #1085: the DMG's app passes codesign --strict 2026-10-11 11:24:36 +07:00
revolve.md M9: add live Revolve with artboard rotation and lighting controls 2026-10-10 23:44:46 +07:00
roadmap.md #1034: scaled type shows and takes its scaled sizes 2026-10-11 07:00:34 +07:00
shaper.md M2.9: add editable Shaper groups and shape orientation steps 2026-10-08 22:52:23 +01:00
target-app-parity.md Drops: libraries, presets and plug-ins open on a drop, as File › Open opens them 2026-10-11 11:32:58 +07:00
type-parity.md #1034: scaled type shows and takes its scaled sizes 2026-10-11 07:00:34 +07:00
ui-parity.md Docs: ruler guides on layers in the parity docs 2026-10-11 06:03:47 +07:00
windows7.md M14: Windows 7 build: patch windows-link for that build only, manual CI 2026-10-08 05:37:06 +07:00