<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Creating a new .odt file from Win Explorer does not use default template"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=139962">139962</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Creating a new .odt file from Win Explorer does not use default template
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Writer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>orwel01@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Description:
If your create your own template in Writer, creating a new text document from
Win Explorer (Right click - New - Text document) creates a document which is
not based on your new default template, but on a default empty soffice.odt file
stored in
Steps to Reproduce:
1. create your own template (with some Numbering etc., or use my test_template,
attached)
2. put it in some folder, make it default by LO-Writer.
3. try opening a new file from Windows Explorer (mouse right click - New - Text
document Opendocument).
Actual Results:
The new created empty file is NOT based on default template.
Expected Results:
The new created empty file SHOULD BE based on default template.
Reproducible: Always
User Profile Reset: Yes
OpenGL enabled: Yes
Additional Info:
Windows registry stores the default soffice.odt for ShellNew in the registry
key: Computer\HKEY_CLASSES_ROOT\.odt\LibreOffice.WriterDocument.1\ShellNew
You can create a new ODT file in Writer in 2 different ways:
1. LO - File - New
2. Win Explorer - right mouse click - New - Text document
For me as an user both possibilities of creating a new document should bring
the same result (new document based on own default template).
A possible solution could be:
By each create/re-save of own default template (LO-File-Templates-Manage) LO
should automatically rewrite the default file C:\Program
Files\LibreOffice\share\template\shellnew\soffice.odt (as it is pointed by Win
Shallnew registry key).
Important - the C:\Program
Files\LibreOffice\share\template\shellnew\soffice.odt file should not be (in
possible solution above) rewritten by an update of LO.
I do know know if it is possible to make it working on Win environment with
more users as I do not know, if each user can use own (different) default
template... If the proposed solution is not possible, another solution could be
proposed:
- Each time LO opens a document based on the default C:\Program
Files\LibreOffice\share\template\shellnew\soffice.odt a proposal for importing
settings from the default template should appear and user could with one click
import all settings from the default template.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>