Bug 158330

Summary: .otp file extension no longer causes 'template' behaviour?
Product: LibreOffice Reporter: john
Component: ImpressAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED INVALID    
Severity: normal CC: ilmari.lauhakangas
Priority: medium    
Version: 7.5.8.2 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description john 2023-11-23 00:54:04 UTC
Description:
.otp, .ott etc extensions used to cause LibreOffice to open new files based on a template. That behaviour seems to have gone away, and an .otp file on my system behaves exactly the same as the .odp file that I started with. 

This open-as-template behaviour (which I believe was supported in the past) is useful, since one can have per-project presentation templates that need to be followed. It is not convenient for templates to be filed away in a mysterious internal folder by LO, given that working on projects files need to be saved in shared-access project folder.

Steps to Reproduce:
1.create .odp file
2.rename to .otp file
3.open the file

Actual Results:
file opens and can be edited and saved as normal

Expected Results:
expected a 'new' file that, if saved, would prompt a filename for where to save it.
(if I wanted to edit the template itself, I would use the file-open menu in LO itself)


Reproducible: Always


User Profile Reset: No

Additional Info:
this behaviour pattern follows what is done in Word with .dot files for example.
Comment 1 Mike Kaganski 2023-11-23 04:36:28 UTC
Now save as OTP (so not only "rename to .otp" - because OTP has a different MIME), and repeat the test.