<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 - Copy of file opened in a fresh Writer window has lost all chapter titles"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=138419">138419</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Copy of file opened in a fresh Writer window has lost all chapter titles
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>7.0.2.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>major
</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>luke.kendall@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=167488" name="attach_167488" title="The broken document, obfuscated">attachment 167488</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=167488&action=edit" title="The broken document, obfuscated">[details]</a></span>
The broken document, obfuscated
I've had my file open for weeks now, saving regularly, and it's looking good.
Unfortunately, today I copied it to a new file and opened that up, and found
that all chapter titles had broken (when I chose to Update the TOC).
The file is identical to what I have open in another window.
The original file in the other window still has all chapter titles: I can see
them (they appear as Chapter <N>, where Chapter is all caps and <N> is the
chapter number). The TOC updates correctly. I can Navigate via Headers.
The identical copy of the original file has all chapter titles broken: they all
appear as just <N>, the chapter number. If I Update Index on the TOC it
vanishes. If I attempt to Navigate by Headers, Writer says "No headers".
A cmp of the files confirmed they were identical.
So I suspect the file in memory has become corrupt or broken and if I close and
reopen it I will have lost all the chapter headings. In the meantime I can
create PDF versions from it as I require.
I have prepared an obfuscated version of the copied file. There's no point in
providing the unobfuscated original because the only working version I have is
the one in memory.</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>