Files
figcraft/crates
Denis Gomes fe25e194d1 M7: Save as to another file names the tab after that file
Save as kept the document's name unless it was Untitled or the old
file's own name (#935). A file opened from an import (.fig, .penpot,
.sketch) carries its source's name and has no file yet, so after Save as
to Other.figcraft its tab still showed the source's name; a file renamed
here did the same. The tab and the file on disk then disagree, and the
file can't be found by the name on its tab.

Saving to another file now always names the document after it, as a
desktop app's document window does. Saving to the same file keeps a name
given here, so a name a file name can't hold (with a colon, say) stays
until the next Save as.

Keeping a name chosen here across Save as (the #935 rule) was the
alternative; it is what left imported files with names no file has.
2026-11-24 02:57:37 -05:00
..
2026-11-18 20:37:44 +01:00