Bug 160130 - Writer TEMPLATE #2: save as template, templates should not be based on templates (in the name of transparency)
Summary: Writer TEMPLATE #2: save as template, templates should not be based on templa...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha0+ Master
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks:
 
Reported: 2024-03-10 10:56 UTC by peter josvai
Modified: 2024-04-29 13:07 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description peter josvai 2024-03-10 10:56:11 UTC
hi,

This is actually a bug, I believe...

You open a template, say, "base-23.ott",
and save it as template, "base-24"...


Oops...
I couldn't write save it as "base-24.ott"...
cause when you save it as template, you actually save it under a template name...

to be enhanced:

#1. When you save a document or template as a template, 
you should save it as a file... with a filename...
and see all other templates in your template directories...

just like as it happens when you save a document among other documents...

#2. when you save a document or a template as a template, 
the new template's properties shouldn't have a template record...

a template is a template.... something that documents are based on...
not something that's based on other templates or documents...

 - - -

additionally, 
we should consider making sure that the act of saving a document or template as template 
works the exact same way whatever way we go about it...

via File / templates / save as template
or File / save as / "base-24-A5.ott"... (for example)
or anything else... (by renaming or copying in file manager)


- - - thank you for developing Libreoffice and Writer - - -


 to be cont....
Comment 1 Stéphane Guillou (stragu) 2024-03-26 12:16:01 UTC
Steps:
1. open Writer, write a few words
2. File > Templates > Save as Template, give it a name, pick a category, click Save
3. File > Templates > Manage Templates, find that template, right-click > Edit
4. Confirm that the window is title "<template_name>.ott"
5. File > Save as

Result: I can save as OTT wherever I want.

Alternatively:
5. File > Templates > Save as template

Result: I can save the template so it is easily found in the Template Manager.

So we have the two options available. I think it makes sense as it works right now, and is consistent. "File > Save as" goes to the file dialog, "File > Templates > Save as template" makes it easy to add to the template manager.

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1344e6261a1d856c71eca1e0cc29215a586bf335
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

(In reply to peter josvai from comment #0)
> #2. when you save a document or a template as a template, 
> the new template's properties shouldn't have a template record...
What do you mean by "a template record"? How do you see that?
Comment 2 Heiko Tietze 2024-04-29 13:07:29 UTC
(In reply to Stéphane Guillou (stragu) from comment #1)
> What do you mean by "a template record"? How do you see that?
Feel free to reopen with more info.