Files
vectorcraft/crates/engine
dotCooCoo f8cdebe86d Save: Export Text, Unembed and metadata templates ask again in the Flatpak file chooser
In the Flatpak build the save panel answers with a path in the document
portal, which puts only that exact name into the folder picked. Three
more save panels changed the answer before writing, so the write
succeeded inside the portal and no file appeared:

- Keyboard Shortcuts > Export Text added or replaced the extension of
  the format picked (list became list.pdf).
- Save Metadata Template added .xmp to a name typed without it.
- Unembed added the stored image format's extension to a name typed
  without one (links.unembed does this in the engine).

Each now opens the save panel again in the answer's folder, suggesting
the completed name, and the status bar says why. Its answer is written.
Paths outside the portal are unchanged. The check reuses the helper the
main Save and Export flows use, now shared as
io::save::portal_ask_again, and the engine exposes
links::unembed_path so the panel knows the name Unembed writes.
2026-12-04 20:25:49 -08:00
..