Description: Read file Regles.odt: it appears as 'Untitled —', as if it were a new file. Why? Actual Results: existing file is loaded as 'Untitled' Expected Results: An existing file should not be 'Untitled' Reproducible: Always User Profile Reset: No Additional Info: file was written by OpenOffice
Created attachment 159666 [details] existing file
This happens because the attached file isn't really a document but a template, just with a wrong file extension. The default behavior when opening templates is to create a new document based on the template. That's why the document's title is "Untitled 1". There is also a special menu item File > Templates > Open Template... which allows you to edit the template itself, if you wish. (And OpenOffice has the same behavior, so this isn't specific to LO.) You can verify that this is indeed a template, by changing the extension to zip, and opening with your favorite archiver. Both mimetype and META-INF/manifest.xml files indicate the type as "application/vnd.oasis.opendocument.text-template".
(In reply to Maxim Monastirsky from comment #2) > This happens because the attached file isn't really a document but a > template, just with a wrong file extension. The default behavior when > opening templates is to create a new document based on the template. That's > why the document's title is "Untitled 1". There is also a special menu item > File > Templates > Open Template... which allows you to edit the template > itself, if you wish. (And OpenOffice has the same behavior, so this isn't > specific to LO.) > > You can verify that this is indeed a template, by changing the extension to > zip, and opening with your favorite archiver. Both mimetype and > META-INF/manifest.xml files indicate the type as > "application/vnd.oasis.opendocument.text-template". Thank you! I don't remember creating —and renaming! —this template.