[Solved] Edit *.ott impossible

Writing a book, Automating Document Production - Discuss your special needs here
Post Reply
User avatar
morphingstar
Posts: 100
Joined: Mon Mar 28, 2011 5:52 am
Location: Mx

[Solved] Edit *.ott impossible

Post by morphingstar »

There use to be a choice whether an *.ott file would open as *.otd or *.ott (open / edit). This choice vanished. My templates are not in an OO-folder, but elsewhere on same disk. This problem is new, did not exist few month ago. what's up?
When I start OO it indicated a new version to be available, clicking to download/update leads to the message "not available - or similar". Just to mention it.
I am really concerned about the failing access to display *.ott.
Last edited by MrProgrammer on Tue Mar 12, 2024 7:18 pm, edited 1 time in total.
Reason: Tagged ✓ [Solved] File → Templates → Edit -- MrProgrammer, forum moderator
OO 4.1.6 on Win10. Member since StarOffice 7. Alternative name "morphingstar2" when other fails. Use Writer, Calc (as DB + Calc), Draw. Impress mainly for Eyedropper and animating GIFs. Updated 20190716.
User avatar
keme
Volunteer
Posts: 3705
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: Edit *.ott impossible

Post by keme »

morphingstar wrote: Fri Mar 01, 2024 8:55 pm There use to be a choice whether an *.ott file would open as *.otd or *.ott (open / edit). This choice vanished. My templates are not in an OO-folder, but elsewhere on same disk. This problem is new, did not exist few month ago. what's up?
When opening from the system file manager window (Windows explorer, MacOS "Finder", etc.), I can right click a template entry to get its context menu, where "New" is default (same as doubleclick) but "Open" allows you to directly open the template file for editing.

When opening from Writer (whether using system or OpenOffice/LibreOffice file manager dialogs) the "Open" button performs the "New" action. I was not aware of this, as I usually work on file level from the "explorer" (file manager standalone) window. Logically (to me at least), the "File - Open" would open the template file for edit. Having the option to create a new file from template should reside in the "File - New" menu branch. Alas, it is not so, and changing this would probably confuse a majority of the users of the suite (someone editing a template by accident) which is probably why it works like it does. Still, an option should be provided (perhaps hidden or with some security question) to actually edit the template, when the selection is indeed a template file.

The behavior seems to be identical with LibreOffice and OpenOffice, and also whether you use open/save dialogs from the system or from the suite. Optimally it is probably left as it is, for more advanced users to deal with it in one way or other. I'd say that working with templates is in the "moderately advanced" category.

Solution (One way)
If you can work from the file manager, use the right click - "Open" to open your templates for editing.

Workaround (Other way)
If you need to work from within Writer, it looks like you have toaddress your issue in a "roundabout" fashion: "File - save as ...", then change file type to "template", select your template file again and confirm overwrite.
morphingstar wrote: Fri Mar 01, 2024 8:55 pmWhen I start OO it indicated a new version to be available, clicking to download/update leads to the message "not available - or similar". Just to mention it.
I never got the integrated update system to work. I just revert to download the full install from the web page.
FJCC
Moderator
Posts: 9283
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Edit *.ott impossible

Post by FJCC »

I hope I'm not muddying the water here through a misunderstanding. I thought the way to edit a template is through the menu File -> Templates -> Edit. I agree it isn't obvious, but it makes sense to me that you access the template through File -> Templates and you get documents based on the template through File -> New or File -> Open.
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
User avatar
RoryOF
Moderator
Posts: 34619
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Edit *.ott impossible

Post by RoryOF »

I agree with FJCC; I found /File /Templates /Edit allows editing and Saving of a template as a template.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
User avatar
keme
Volunteer
Posts: 3705
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: Edit *.ott impossible

Post by keme »

FJCC wrote: Sat Mar 02, 2024 4:00 pm I hope I'm not muddying the water here through a misunderstanding. I thought the way to edit a template is through the menu File -> Templates -> Edit. I agree it isn't obvious, but it makes sense to me that you access the template through File -> Templates and you get documents based on the template through File -> New or File -> Open.
RoryOF wrote: Sat Mar 02, 2024 4:32 pm I agree with FJCC; I found /File /Templates /Edit allows editing and Saving of a template as a template.
Agreed too! Which reminded me of the (somewhat unrelated) PERL motto, "There's more than one way to do it." I have used that menu option before, and forgot all about it. Growing old, I guess. Must try to be less "trigger-happy" and research better. Thanks for the reminder!

That templates file dialog will default to the OO templates directory, which the OP says is not the folder used. You can still browse to your other location, anywhere in the file system.

If you go there a lot, to save the browsing steps you can make the Templates - Edit dialog default to your own templates folder: Go to menu item Tools - Options, expand the OpenOffice branch and select Paths. Add your path in the "templates" section and use the "radio button" on the left to set it as default.
Bill
Volunteer
Posts: 8934
Joined: Sat Nov 24, 2007 6:48 am

Re: Edit *.ott impossible

Post by Bill »

morphingstar wrote: Fri Mar 01, 2024 8:55 pm When I start OO it indicated a new version to be available, clicking to download/update leads to the message "not available - or similar". Just to mention it.
This was a known bug which was fixed in a later version of AOO. If you download and install the latest version, the automatic check for updates should work properly.
AOO 4.1.14 on Ubuntu MATE 22.04
User avatar
morphingstar
Posts: 100
Joined: Mon Mar 28, 2011 5:52 am
Location: Mx

Re: [Solved] Edit *.ott impossible

Post by morphingstar »

Lots of useful answer, many thanks to all. In my memory, clicking a *.ott would offer a New (an *.odt) and an Edit (*.ott). I have lots of "home made" templates moved from older computers to the present, about since 2014. The LO and OO installation defines the path of included templates. For me this was impractical because of the large qty of such. That is why I have my designs in a different path on a different partition. It has become troublesome to open OO template standard and redirect the path each time. Hence I changed to open *.ott from the file manager. That is where I missed the EDIT, which led to my question. I think I received all the answers I need. I shall try the methods and if these work for me I shall come back to mark "Solved".
OO 4.1.6 on Win10. Member since StarOffice 7. Alternative name "morphingstar2" when other fails. Use Writer, Calc (as DB + Calc), Draw. Impress mainly for Eyedropper and animating GIFs. Updated 20190716.
Post Reply