Bug 154128

Summary: Writer: Drawing object becomes invisible when flushed to next page
Product: LibreOffice Reporter: ajlittoz <page74010-sf>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: aron.budea, raal, software.v9onn, telesto
Priority: medium Keywords: bibisected, bisected, regression
Version: 5.4.0.3 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=154126
https://bugs.documentfoundation.org/show_bug.cgi?id=135846
https://bugs.documentfoundation.org/show_bug.cgi?id=91260
https://bugs.documentfoundation.org/show_bug.cgi?id=157579
https://bugs.documentfoundation.org/show_bug.cgi?id=144880
https://bugs.documentfoundation.org/show_bug.cgi?id=160526
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 141295    
Attachments: Drawing object becomes invisible
bibisect result

Description ajlittoz 2023-03-10 19:52:54 UTC
Created attachment 185902 [details]
Drawing object becomes invisible

A drawing object is created in Draw and grouped as a single block. It is then pasted into Writer. It is positioned at Bottom relative to Entire paragraph area with Keep inside page boundaries checked.

When the anchoring paragraph is close to page bottom, the drawing is flushed to next page but it becomes invisible.

A frame with identical settings remains visible across page break.

As explained in bug 154126, no frame style can be applied to a drawing object though the settings are similar.

Both bugs may be related
Comment 1 Telesto 2023-03-10 20:31:11 UTC
Confirm
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 8635c9aa8c6f1078a9e220076d5a08daf30077e8
CPU threads: 8; OS: Mac OS X 12.6.3; UI render: Skia/Raster; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded
Comment 2 Telesto 2023-03-11 18:41:19 UTC
Version: 7.0.7.0.0+ (x64)
Build ID: 626ea4e62a3e5005fe9825923a1c0c5bdb61cc08
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

Version: 6.2.9.0.0+ (x86)
Build ID: 5f01fe15eb2661f1f9ce12d1d99dc2a705b462ee
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL

and in
Version: 6.0.0.0.alpha0+
Build ID: 9127d1a89cbfba89eb9df6755ea7b9e161cfc67a
CPU threads: 4; OS: Windows 6.3; UI render: default; 
Locale: nl-NL (nl_NL); Calc: CL

fine with
Version: 5.2.0.0.alpha1+
Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e
CPU Threads: 4; OS Version: Windows 6.29; UI Render: default; 
Locale: nl-NL (nl_NL)
Comment 3 raal 2023-03-16 19:13:04 UTC
Created attachment 186012 [details]
bibisect result

bibisect result
Comment 4 Aron Budea 2023-03-17 19:18:17 UTC
Indeed, this started from the same commit as bug 135846, bibisected using linux-64-5.4:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=689cead9e0837dc932e3a4cd765f7d319b529018
author		Michael Stahl <mstahl@redhat.com>	2016-12-06 22:59:40 +0100
committer	Michael Stahl <mstahl@redhat.com>	2016-12-07 14:46:07 +0100

tdf#91260 svx, sw: don't paint off-page part of drawing object
Comment 5 Mike Kaganski 2024-04-05 06:22:50 UTC
*** Bug 158745 has been marked as a duplicate of this bug. ***