<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:glogow@fbihome.de" title="Jan-Marek Glogowski <glogow@fbihome.de>"> <span class="fn">Jan-Marek Glogowski</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Untitled document remains open when have a default template"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=126700">bug 126700</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Ever confirmed</td>
<td>
</td>
<td>1
</td>
</tr>
<tr>
<td style="text-align:right;">See Also</td>
<td>
</td>
<td>https://bugs.documentfoundation.org/show_bug.cgi?id=83722
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>UNCONFIRMED
</td>
<td>NEW
</td>
</tr>
<tr>
<td style="text-align:right;">Assignee</td>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
<td>glogow@fbihome.de
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Untitled document remains open when have a default template"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=126700#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Untitled document remains open when have a default template"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=126700">bug 126700</a>
from <span class="vcard"><a class="email" href="mailto:glogow@fbihome.de" title="Jan-Marek Glogowski <glogow@fbihome.de>"> <span class="fn">Jan-Marek Glogowski</span></a>
</span></b>
<pre>I can confirm this behavior. For whatever reason, a changed default document
template isn't handled as an empty document, e.g. configured via
<item
oor:path="/org.openoffice.Setup/Office/Factories/org.openoffice.Setup:Factory['com.sun.star.sheet.SpreadsheetDocument']">
<prop oor:name="ooSetupFactorySystemDefaultTemplateChanged" oor:op="fuse">
<value>true</value>
</prop>
</item>
<item
oor:path="/org.openoffice.Setup/Office/Factories/org.openoffice.Setup:Factory['com.sun.star.sheet.SpreadsheetDocument']">
<prop oor:name="ooSetupFactoryTemplateFile" oor:op="fuse">
<value>$(inst)/share/template/empty/soffice.ots</value>
</prop>
</item>
This factory default template still works correctly, so most people simply
won't have noticed this change.
ooSetupFactoryTemplateFile is also the value in user/registrymodifications.xcu,
if you use the "Set as Default" from the right click menu of templates in the
template manager - kind of well hidden.
Looking into officecfg/registry/schema/org/openoffice/Setup.xcs, I actually
found three settings, which might be related to the default template handling:
* ooSetupFactoryTemplateFile
* ooSetupFactorySystemDefaultTemplateChanged
* ooSetupFactoryEmptyDocumentURL
The difference is between a "manually" opened template and the automatically
"empty" template of the LO module. IMHO the later one should still be replaced
by any user opened document, if it hasn't been modified.</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>