Bug 121119 - Loss of image anchored to page in a writer master document
Summary: Loss of image anchored to page in a writer master document
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:25.8.0 target:25.2.1
Keywords:
Depends on:
Blocks: Writer-Images Writer-Master-Doc
  Show dependency treegraph
 
Reported: 2018-11-02 08:32 UTC by Pierre C
Modified: 2025-02-06 05:33 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
test document with image anchored to page (72.86 KB, application/vnd.oasis.opendocument.text)
2018-11-02 10:00 UTC, Marina Latini (SUSE)
Details
test master document with two subdocuments (tdf121119.odm, DUMMY2.odt, DUMMY2B.odt) (25.18 KB, application/zip)
2025-01-23 16:57 UTC, László Németh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre C 2018-11-02 08:32:34 UTC
Easy to reproduce

1 - Create a writer document with an image anchored to page
2 - Create a master document, and insert the previous doc
3 - The image cannot be seen

If you anchor the image to paragraph, all is fine

Expected behaviour : The image should be seen
Comment 1 Marina Latini (SUSE) 2018-11-02 09:57:21 UTC
Confirmed on:

Version: 5.3.7.2 (x64)
Build ID: 6b8ed514a9f8b44d37a1b96673cbbdd077e24059
CPU Threads: 4; OS Version: Windows 6.19; UI Render: GL; Layout Engine: new; 
Locale: en-US (en_US); Calc: CL

Version: 6.2.0.0.alpha1+ (x64)
Build ID: 0ee11c3f55ec1285d8febc065bda44224052eaae
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@62-TDF, Branch:MASTER, Time: 2018-11-01_20:45:03
Locale: en-US (en_US); Calc: CL
Comment 2 Marina Latini (SUSE) 2018-11-02 10:00:59 UTC
Created attachment 146251 [details]
test document with image anchored to page
Comment 3 Marina Latini (SUSE) 2018-11-02 10:01:47 UTC
Steps:

1) create a new master document
2) insert the provided test file
Comment 4 Pierre C 2018-11-02 13:56:19 UTC
Same problem with AOO 4.1.5
Comment 5 Telesto 2020-04-19 14:38:31 UTC
Repro
Version: 7.0.0.0.alpha0+ (x64)
Build ID: 4475bcd83aac7e033fc5250f268eb922bd471e7b
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL
Comment 6 Telesto 2020-04-19 14:43:44 UTC
Also in
Versie: 4.4.7.2 
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL
Comment 7 Buovjaga 2021-04-29 11:55:28 UTC
Still confirmed and already in 3.3.0

Arch Linux 64-bit
Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: 9658115370bf33c2fdb68a3b759cf2f9d9e7c6c1
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 28 April 2021
Comment 8 QA Administrators 2023-04-30 03:22:42 UTC Comment hidden (obsolete)
Comment 9 László Németh 2024-09-24 18:53:21 UTC
From 2003:

"The problem has nothing to do with page styles. 
It's simply caused by the frame beeing anchored at the page and that
it is not possible to link page anchored frames to sections (which are
used to create master documents)." (Oliver Specht, https://bz.apache.org/ooo/show_bug.cgi?id=19131#c8)

"We'll get another workaround with our new content(paragraph) anchored
but page layouted frames in OOo2.0.
An automatic conversion from page anchored frames to this new type is
not planned for this version yet." (Andreas Martens, https://bz.apache.org/ooo/show_bug.cgi?id=19131#c10)
Comment 10 Commit Notification 2025-01-23 16:28:24 UTC
László Németh committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/2f135fa82c5d78ddafc14f38c0ee33358075b266

tdf#121119 master docs at-page anchor: fix missing images

It will be available in 25.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 11 Commit Notification 2025-01-23 16:30:26 UTC
László Németh committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/fb4197ed81765e122b862471e184fcade4a2b524

tdf#121119 master docs at-page anchor: fix duplicated images

It will be available in 25.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 12 Commit Notification 2025-01-23 16:31:29 UTC
László Németh committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/47d596688f2dcdf67fab24e58d92f823e69c0c35

tdf#121119 master docs at-page anchor: fix runtime duplicated images

It will be available in 25.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 13 László Németh 2025-01-23 16:57:03 UTC
Created attachment 198705 [details]
test master document with two subdocuments (tdf121119.odm, DUMMY2.odt, DUMMY2B.odt)
Comment 14 Commit Notification 2025-01-24 06:41:10 UTC
László Németh committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/c377f4f038293fa57b6abed46e6576c29813888a

tdf#121119 master docs at-page anchor: clean-up renaming

It will be available in 25.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 15 Commit Notification 2025-02-06 05:32:49 UTC
László Németh committed a patch related to this issue.
It has been pushed to "libreoffice-25-2":

https://git.libreoffice.org/core/commit/071bffa387a8a4b39e140dc8afdd9f01b6924d07

tdf#121119 master docs at-page anchor: fix missing images

It will be available in 25.2.1.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 16 Commit Notification 2025-02-06 05:32:52 UTC
László Németh committed a patch related to this issue.
It has been pushed to "libreoffice-25-2":

https://git.libreoffice.org/core/commit/d32f6ecb3973064dbe26e40722f5d1f01d046907

tdf#121119 master docs at-page anchor: fix duplicated images

It will be available in 25.2.1.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 17 Commit Notification 2025-02-06 05:33:54 UTC
László Németh committed a patch related to this issue.
It has been pushed to "libreoffice-25-2":

https://git.libreoffice.org/core/commit/250e46d37c43d290f2830e1d2f35dfd9921f61a6

tdf#121119 master docs at-page anchor: fix runtime duplicated images

It will be available in 25.2.1.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 18 Commit Notification 2025-02-06 05:33:57 UTC
László Németh committed a patch related to this issue.
It has been pushed to "libreoffice-25-2":

https://git.libreoffice.org/core/commit/c0ad522e37888daed9a6486c41f1d6a444aacb3d

tdf#121119 master docs at-page anchor: clean-up renaming

It will be available in 25.2.1.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.