We will be migrating from Ask to Discourse on the first week of August, read the details here

Ask Your Question
0

Default template or fonts are not applied to new documents, created with right mouse click

asked 2019-02-21 11:19:12 +0200

Tyco72 gravatar image

LO 6.1.5.2 (x64) Win7

When I create a new document directly in a folder in Windows explorer, using the right mouse click "New -> OpenDocument Text", the document is always created with the default font "Liberation Serif" ,"12pt" which I don't want.

If I create new document in LO, clicking on the button "New" on the toolbar, my default template is correctly applied to the new document. The settings for the default fonts, in menu: Tools > Options > Libre Office Writer > Basic fonts seem to be applied only to the currently opened document. Is there a conflict of this setting with the default template? I have not found a bug about this in buzilla. This happened also with the previous main version of LO

edit retag flag offensive close merge delete

Comments

Where is your template stored? Maybe Windows explorer can't find your saved template?

PèreOrval gravatar imagePèreOrval ( 2019-02-21 11:33:49 +0200 )edit

The templates are stored in the default path in LO profile: C:\Daten\Users\%username%\AppData\Roaming\LibreOffice\4\user\template

But should windows explorer search for templates? I guess it sends just a command "create new Writer document in this path" to LO. Which template should be used, should be a task of LO, not of win. explorer (I am just guessing)

Tyco72 gravatar imageTyco72 ( 2019-02-21 12:18:49 +0200 )edit

3 Answers

Sort by » oldest newest most voted
0

answered 2019-02-21 12:30:51 +0200

robleyd gravatar image

Please see this question or type right click template in the search box above for more results.

If this answer helped you, please accept it by clicking the check mark ✔ to the left and, karma permitting, upvote it. If this resolves your problem, close the question, that will help other people with the same question.

edit flag offensive delete link more

Comments

Thank you. I missed that question in my search. I have changed the "soffice.odt" file in the path: C:\Program Files\LibreOffice\share\template\shellnew which is used as default odt file when creating a new document with the right mouse click, and now it works. It is not comfortably to change manually this default file, when you need to modify it, but it works. I hope this behavior will be improved.

Tyco72 gravatar imageTyco72 ( 2019-02-21 16:05:46 +0200 )edit
0

answered 2019-02-21 12:27:27 +0200

ajlittoz gravatar image

This is a known "bug" (?) in Windows (all versions). Windows first creates an empty file then handles this empty file to LibreOffice. LO then uses the file contents, independently of file extension, to decide which component (Writer, Calc, Draw, Impress) to launch. Since the file is empty, no template, which by nature is specific to a component, can be applied.

edit flag offensive delete link more

Comments

See also tdf#123476.

But that only relates to "New" items created by MS Office (so, DOCX/XLSX/...), and this is another case - @robleyd is correct.

Mike Kaganski gravatar imageMike Kaganski ( 2019-02-21 13:35:08 +0200 )edit

Thanks to both you. Very interesting.

Tyco72 gravatar imageTyco72 ( 2019-02-21 16:08:58 +0200 )edit
0

answered 2019-02-21 15:51:04 +0200

ballie gravatar image

If I may ask. Why would you create a document like that? I assume that you would open it directly after creating the document. If that is the case, why not just open libreoffice to create a new document? That way you would always get a document that is created with your desired template...

edit flag offensive delete link more

Comments

Because of the way people think and work. E.g., a set of documents is usually organized into a directory structure, where multiple files in each directory of some parent project directory relate to some common topic. People often work with the set of documents, looking at the project as a whole, using file managers as means to see the document names to get the idea; and when they decide that "here, we need another document", the "here" is the important part of the thinking process - which is immediately materialized into "right-click and create"; alternative ways (like "start your editing application, write something, then navigate here and save") disrupt the natural process.

Mike Kaganski gravatar imageMike Kaganski ( 2019-02-22 07:27:39 +0200 )edit

Yes :), but also because it is the faster way, when you have documents organized in many different paths, and not all documents located together in a single default folder.

When I search for a document, I open is the file manager by clicking on links pointed to the main paths which I use. Then if I need a new document in a certain folder, right click and it is already there. If you create a new doc in LO and then "save as" you have to browse each time to the desired path to save it, and it is very bothering, if you have to navigate each time in a big tree with many different locations and sub folders.

Tyco72 gravatar imageTyco72 ( 2019-02-22 08:41:56 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-02-21 11:19:12 +0200

Seen: 303 times

Last updated: Feb 21 '19