Bug 154806 - Writer: Splitted page after launching
Summary: Writer: Splitted page after launching
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Formatting-Mark
  Show dependency treegraph
 
Reported: 2023-04-14 09:01 UTC by vladankudlac
Modified: 2023-11-01 12:18 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Letak_klub_2023.docx (148.93 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-04-14 09:06 UTC, vladankudlac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vladankudlac 2023-04-14 09:01:04 UTC
Description:
The page is broken into two pages but Toggle Formatting Marks fixes the view. Also editing the page and then reverting to the initial state fixes that. PDF export is also affected.

Reproducible in failsafe mode.

Steps to Reproduce:
1. Open Letak_klub_2023.docx
2. The page is broken into two pages
3. Turn on Toggle Formatting Marks
4. Turn off Toggle Formatting Marks
5. Page is displayed correctly as a single page

Actual Results:
The view is inconsistent after launching the document after the first edit of the document.

Expected Results:
Toggle Formatting Marks or other edits should not affect breaking the pages.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.5.1.2 (X86_64) / LibreOffice Community
Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129
CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: cs-CZ (cs_CZ); UI: en-GB
Calc: CL threaded
Comment 1 vladankudlac 2023-04-14 09:06:15 UTC
Created attachment 186657 [details]
Letak_klub_2023.docx

Problematic document
Comment 2 Telesto 2023-04-15 07:17:59 UTC
Confirm
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1cfeb4bd8ce7f7727a81136bd3e2d6ebea976895
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 3 Telesto 2023-04-15 07:21:50 UTC
Also with
Version: 7.0.0.3
Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e
CPU threads: 8; OS: Mac OS X 10.16; UI render: default; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded

fine with 4.4.7.2
Comment 4 BogdanB 2023-04-15 18:46:24 UTC
It seems it's just Mac and Windows related. Not Linux.

Don't repro in
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ad387d5b984c6666906505d25685065f710ed55d
CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 5 raal 2023-04-24 14:49:07 UTC
This seems to have begun at the below commit in bibisect repository/OS 
/win64-7.2.
Adding Cc: to László Németh ; Could you possibly take a look at this one?
Thanks
 5d6b2e0929dc59d5b8c82a724bb783c7abbf13a1 is the first bad commit
commit 5d6b2e0929dc59d5b8c82a724bb783c7abbf13a1
Author: Norbert Thiebaud <nthiebaud@gmail.com>
Date:   Tue May 4 10:43:24 2021 -0700

    source 5812fb81013cc124a9b6a0b9912a34cc715fc495

After the commit, which fixed the document, appears two pages.

114476: tdf#138782 DOCX import: fix frame positions of old docs | https://gerrit.libreoffice.org/c/core/+/114476
Comment 6 Timur 2023-11-01 12:18:52 UTC
Fixed in 7.6 with:

commit bb8f04972baae3efc5101db423c4b5ddbeee59f0
Author: Jenkins Build User <tdf@pollux.tdf>
Date:   Tue Sep 26 13:54:47 2023 +0200

    source 5b3fcbf23773ea8d039185dec2b9704981833473
author	Michael Stahl <michael.stahl@allotropia.de>	Wed Aug 23 2023 
tdf#156724 sw: layout: fix tables not splitting due to footnotes differently