<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 - Master Document doesn't update images in header when updated in subdocument"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=143428">143428</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Master Document doesn't update images in header when updated in subdocument
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>7.1.4.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</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>csongor@halmai.hu
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="https://bugs.documentfoundation.org/attachment.cgi?id=173654" name="attach_173654" title="subdocument">attachment 173654</a> <a href="https://bugs.documentfoundation.org/attachment.cgi?id=173654&action=edit" title="subdocument">[details]</a></span>
subdocument
Headers of subdocuments are copied into the Master Document instead of just
referring to them.
Preparation:
===========
Create a new page style:
- Start a new Writer document
- View -> Styles -> Page Styles -> Right click -> New
- Organiser tab -> Name = "Demo"
- Header tab -> Header On
- OK
Apply the style:
- Right-click on the Status Bar
- select "Demo"
Compose the subdocument:
- type "CONTENT" into the body of the document
- click in the header
- type "HEADER"
- Insert -> Image-> image.png
- right-click on the image -> Anchor -> To Paragraph
- right-click on the image -> Wrap -> Edit Contour
- draw a contour that contains the whole image, apart from a gap on the
left-hand side (as if cut out a smaller rectangle from the whole one)
- click Apply
- close the contour editor
- drag the image partly over the word "HEADER" so that the word is visible
behind the cut-out part of the image.
- File -> Save As "sub.odt"
Create a Master Document:
- File -> New -> Master Document
- righ-click in the Navigator -> Insert -> File -> select "sub.odt"
Further Preparation
===================
- Click in the word "CONTENT" and try to edit it. You can't. "Write-protected
content cannot be changed." is displayed. This is good.
- Click on the word "HEADER". You can edit it. I think you shouldn't be able to
because it comes from the subdocument.
- go back to sub.odt again
- change "CONTENT" to "2-CONTENT"
- change "HEADER" to "2-HEADER"
- change the contour of the image so that the cut-out is much larger
- File -> Save
- go back to the Master Document
- in the Navigator, click Update All -> click Yes to confirm
Symptoms
========
- "CONTENT" became "2-CONTENT". This is good.
- "HEADER" did not change to "2-HEADER". This seems to be a bug.
- the shape cut-out did not change. This also seems to be a bug.
Problem in a use-case
=====================
Now, I cannot move any changes from the header of the subdocument into the
master. I need to retype the header content in the master document, re-draw the
same contour of the image in the master, and so on. This is very painful.
How to reproduce the bug easily:
- open the attached "sub.odt" and "master.odt"
- see the headers' content are different
- change anything in sub.odt header
- see that the master document does not reflect these changes.</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>