Bug 169960 - Writer: master document bug: opens with multiple unwanted page breaks (or similar)
Summary: Writer: master document bug: opens with multiple unwanted page breaks (or sim...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.8.2.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-13 12:48 UTC by David Lee
Modified: 2025-12-13 14:09 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Lee 2025-12-13 12:48:57 UTC
Description:
----------
Version: 25.8.2.2 (X86_64)
Build ID: d401f2107ccab8f924a8e2df40f573aab7605b6f
CPU threads: 8; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-US
Calc: CL threaded
----------

Master document: three trivial placeholder opening pages; 7 linked documents.

All documents (master and subdocuments) use the same, quite basic, template.


Issue:

On opening the master document (and answering yes to updating links) the total page count (bottom left corner looks far too high: 131. On scrolling through, the first few pages look OK, but then there are frequent page breaks, not in the original.  Subsequent pages are often then much reduced, sometimes just a single line.

Naturally this is alarming.  But then when I click "Toggle Formatting Marks", that overall page count drops to 54 (which feels about right).  And scrolling through now looks OK.  (I haven't checked every word of every page!)

Whether the initial "Toggle Formatting Marks" is on or off seems to make no difference.  It opens in this odd state with multiple instances of what I assume are inserted page breaks (or similar visual effect) and far too many pages.  Toggling it to the opposite value seems to fix things.

Steps to Reproduce:
1. as described above: master doc + subdocs on same basic template
2. open: see lots of additional page-breaks
3. toggle "Toggle Formatting Marks": see problem fix itself

Actual Results:
Initial opening: far too many pages, as though many additional page-break (or similar) have been inserted.

Expected Results:
Should open correctly first time, not require unintuitive (and presumably unrelated) operation of "Toggle Formatting Marks".


Reproducible: Always


User Profile Reset: No

Additional Info:
Open correctly.
Comment 1 steve.contrib@gmail.com 2025-12-13 14:09:16 UTC
Partially reproductible for 5 seconds..
Version: 25.8.3.2 (X86_64)
Build ID: 8ca8d55c161d602844f5428fa4b58097424e324e

when at startup of the master document, the total page count switch to 56 then 70 in my case after around 5 secondes (bottom-left status bar)
When I toggle Formatting mark or not that seems does not change anything. the only think I see for the is when is start the document LOW seems to take a while to count the right number of pages, but where it is not consistent, why displaing it the wrong number if the calcul is not update.

Could you provide a file for ex. a odm linked and a odt test file (let's say around 3-4 pages minimum with all the stuff you usually put in here (style, font, break pages,..) except sensible informations)  ?