Bug 159944 - Master document: cosmetical bug: repeated MoveDown/MoveUp may insert (visually) page break
Summary: Master document: cosmetical bug: repeated MoveDown/MoveUp may insert (visuall...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Master-Doc
  Show dependency treegraph
 
Reported: 2024-02-28 16:46 UTC by Peter Gervai
Modified: 2024-11-26 17:23 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample documents and screenshot (172.79 KB, application/zip)
2024-09-12 09:18 UTC, Peter Gervai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Gervai 2024-02-28 16:46:24 UTC
Description:
If a chapter in master document navigator gets moved down and up repeatedly it may cause all changed document parts to disapper in the document window. It turned out they were one page down, like there was a page break in the documents, except there wasn't. 

Steps to Reproduce:
1.create a master document with 2 subdocuments, containins 2 second level headers, and a TOC in master doc.
2.move down 1st part, then move it up
3.there's a page break after toc

Actual Results:
Randomly a page break appears. Update All fixes it.

Expected Results:
Moving down and up would result the same view.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 24.2.0.3 (X86_64) / LibreOffice Community
Build ID: 420(Build:3)
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: hu-HU (en_US.UTF8); UI: en-US
Debian package version: 4:24.2.0-1
Calc: threaded
Comment 1 DuyN 2024-03-14 14:20:29 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
Comment 2 QA Administrators 2024-09-12 03:16:47 UTC Comment hidden (obsolete)
Comment 3 Peter Gervai 2024-09-12 09:18:26 UTC
Created attachment 196394 [details]
Sample documents and screenshot

Attached a master and its 2 subdocuments.

1. Open the master, update subdocument links.
2. Open navigator, and move subdocument 1 one position down, to below sub2.

At that point there will appear a "page break" after TOC.

If you save it, and load it the page break will be gone. Moving it again it will come back.

Present in:
Version: 24.2.5.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Debian package version: 4:24.2.5-4
Calc: threaded
Comment 4 Peter Gervai 2024-09-12 09:28:13 UTC
Same in:
Version: 24.2.6.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Debian package version: 4:24.2.6-1
Calc: threaded
Comment 5 Buovjaga 2024-11-26 17:23:59 UTC
Repro. Already in 3.5.

Arch Linux 64-bit
Version: 25.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: f81af8f7a5e8f86d4214bc328c44632841fbec2b
CPU threads: 8; OS: Linux 6.11; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 26 November 2024