[Libreoffice-bugs] [Bug 125769] Save as" offers .ott as default file type if you use a template to create odt-file from desktop

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jan 27 13:54:06 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=125769

Mike Kaganski <mikekaganski at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOTABUG
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #15 from Mike Kaganski <mikekaganski at hotmail.com> ---
Pointing ShellNew to an OTT is wrong. Windows simply copies the pointed file to
the place where you use the ShellNew functionality, renaming it to "New
<Something>.<ext>"; it is expected that the copy is edited and used afterwards.
This conflicts with the behavior of templates, which by default are not opened,
but used to create another document. Templates are not just renamed ODTs, they
have some metadata inside that they are templates. When a new document is
created from such a template, this metadata is removed from the new document,
but when you decide to edit the template itself, the metadata (and knowledge
that this is a template) is kept.

This means that pointing the registry to an OTT, and right-clicking somewhere
in Explorer (desktop) to create a new OpenDocument text file, you get a 
copy of the OTT, which is renamed to ODT by Windows. So now ODT's registry
actions are performed when you double-click it in Explorer - namely, "Open"
(remember, that if it were correctly named OTT, the double-click would run
"New"). So LibreOffice *opens* what is internally template; LibreOffice knows
that; and when you Save As (or Save), it correctly uses the template filter.

This is not a bug, but a user error. Closing NOTABUG.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210127/0603c67f/attachment.htm>


More information about the Libreoffice-bugs mailing list