[Libreoffice-bugs] [Bug 143428] New: Master Document doesn't update images in header when updated in subdocument

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Jul 18 08:24:39 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=143428

            Bug ID: 143428
           Summary: Master Document doesn't update images in header when
                    updated in subdocument
           Product: LibreOffice
           Version: 7.1.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: csongor at halmai.hu

Created attachment 173654
  --> https://bugs.documentfoundation.org/attachment.cgi?id=173654&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210718/bbe231f9/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list