guarantee_metadata is enabled by default in Meson
There was some back and forth over this in the past. See bug 733536. We tried to enable it by default in commit 898ac3ca and then reverted in commit ecb703e4.
It's helpful to have it disabled because we deliberately hide the file name in some cases. eg., in the grid view in gnome-photos
where the basename is often IMG00042 or something human unreadable like that we'd only show a title if it was explicitly set by the user. And in other cases when the nie:title is unset we fallback to the nfo:fileName. eg., in gnome-documents
where the chances of the file name being machine generated is lower. So having the nie:title
clearly separate from the nfo:fileName
was, kind of, useful in this case.
(One could add logic to the applications to check if nie:title
is a suffix of the nfo:fileName
, but that can break when files are renamed.)
Some of the above application logic might have changed over the years, but the basic idea remains.