fix(engine): follow stored media paths only on this computer or the project's share

Media and proxy paths read from a project file, a project template or an
interchange file are opened only when they name a local file or a file on
the network share the document itself is on (craft-docpath); a relative
path is taken from the document's folder. Other paths count as missing:
the item renders the offline slate with the reason, the open says how many
were not opened, and Link Media lists them. This covers the open-time
scan, rendering and proxies, the growing-files look and interchange
import. Files imported or linked in this session are opened as given.

The Scratch Disks folders use the same check, and Captured Audio and Video
(voice-over takes, pasted images, the default proxy folder) and Audio
Previews follow the rule Auto Save and Video Previews already follow.
This commit is contained in:
aiongg
2026-10-16 17:27:39 +00:00
parent 07374d1f2a
commit f565f7b38d
18 changed files with 470 additions and 65 deletions
+1
View File
@@ -70,6 +70,7 @@ log = "0.4"
rayon = "1"
proptest = "1"
roxmltree = "0.21"
craft-docpath = { path = "../secfix-craft-libs/crates/docpath" }
# ui
# Shared frontend components; keep this dependency above the engine boundary.