Bug 156722 - Document layout changed in PDF export: content in frames slips upwards
Summary: Document layout changed in PDF export: content in frames slips upwards
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.0.3 release
Hardware: All All
: medium normal
Assignee: Michael Stahl (allotropia)
URL:
Whiteboard: target:24.2.0 target:7.6.1
Keywords: bibisected, bisected, regression
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2023-08-10 17:28 UTC by Gabor Kelemen (allotropia)
Modified: 2023-11-14 11:30 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of the expected (from LO 7.2) and 7.5 exported PDF side by side (86.13 KB, image/png)
2023-08-10 17:28 UTC, Gabor Kelemen (allotropia)
Details
Bad export PDF from fresh linux-bibisect 24.2 (113.28 KB, application/pdf)
2023-08-10 17:28 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2023-08-10 17:28:12 UTC
Created attachment 188916 [details]
Screenshot of the expected (from LO 7.2) and 7.5 exported PDF side by side

In command line PDF export mode, attachment 39732 [details] layout changes.

1. Download attachment 39732 [details]
2. in CLI save as PDF: --convert-to pdf

-> Layout changes, some parts slip into each other. Fine if saved from UI.

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 0d571ff8079f858a5650bf6cbb38296d22cc58e1
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded

Started in 7.5 with:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=c605283ad6785dea762feab5fdffd9d27e75c292

author	Michael Stahl <michael.stahl@allotropia.de>	2022-07-11 19:20:33 +0200
committer	Michael Stahl <michael.stahl@allotropia.de>	2022-07-13 16:58:05 +0200
commit c605283ad6785dea762feab5fdffd9d27e75c292 (patch)

sw: fix spurious layout invalidation from ~SwCallLink()
Comment 1 Gabor Kelemen (allotropia) 2023-08-10 17:28:52 UTC
Created attachment 188917 [details]
Bad export PDF from fresh linux-bibisect 24.2
Comment 2 Commit Notification 2023-08-14 19:15:57 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/610c6f02b11b4b4c555a78b0feb2a1eb35159e39

tdf#156724 tdf#156722 tdf#156745 sw: layout: partially remove IsPaintLocked()

It will be available in 24.2.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 3 Commit Notification 2023-08-15 07:45:13 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/61a78a523a6131ff98b5d846368e5626fe58d99c

tdf#156724 tdf#156722 sw: layout: remove IsPaintLocked() check

It will be available in 24.2.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 4 Michael Stahl (allotropia) 2023-08-15 07:52:53 UTC
fixed on master

this is probably not a duplicate of 156724 because there the problem is that a table split fails, while here there is no table split anyway.
Comment 5 Commit Notification 2023-08-21 10:07:04 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "libreoffice-7-6":

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

tdf#156724 tdf#156722 tdf#156745 sw: layout: partially remove IsPaintLocked()

It will be available in 7.6.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 6 Commit Notification 2023-08-21 10:27:11 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "libreoffice-7-6":

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

tdf#156724 tdf#156722 sw: layout: remove IsPaintLocked() check

It will be available in 7.6.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.