Bug 152970 - Empty page (without paragraph mark) is added at beginning of document
Summary: Empty page (without paragraph mark) is added at beginning of document
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Additional-Blank-Pages
  Show dependency treegraph
 
Reported: 2023-01-10 20:53 UTC by Telesto
Modified: 2023-01-25 07:12 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Sample (26.95 KB, application/vnd.oasis.opendocument.text)
2023-01-10 20:53 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2023-01-10 20:53:14 UTC
Description:
Difference layout when editing & saving & reopening

Steps to Reproduce:
1. Open the attached file
2. Cursor on page 1. Press Delete.. Cursor moves to page 2. Page 1 empty
3. Save
4. File -> Reload

5. Open the attached file
6. Edit -> track changes -> record ON; SHOW off
7. Cursor on page 1. Press Delete.. -> one of the images moves

Actual Results:
Images on page 2 until save and reload

Expected Results:
Should move when pressing delete. Unsure if a single image or multiple should move.. 


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 12e8d57e791bb1befc0716d4d02af7d1d1ccb4ae
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL threaded

and with
Versie: 4.4.7.2 
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL

and with
Versie: 4.2.0.4 
Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71

and with
Versie 4.0.0.3 (Bouw-id: 7545bee9c2a0782548772a21bc84a9dcc583b89)
Comment 1 Telesto 2023-01-10 20:53:34 UTC
Created attachment 184567 [details]
Sample
Comment 2 Telesto 2023-01-10 20:55:03 UTC
Based upon file at bug 150280
Comment 3 Dieter 2023-01-25 07:12:56 UTC
I confirm it with

Version: 7.5.0.2 (X86_64) / LibreOffice Community
Build ID: c0dd1bc3f1a385d110b88e26ece634da94921f58
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

But what happens is, that an extra page is added at beginning of the document

Steps:
1. Open attachment 184567 [details]
2. On page 1 add text frame, shape or something similar above text area (this makes bug more obvious)
3. Delete empty paragraph on first page

Actual result
Image jumps one page above (expected), but empty page without any paragraph mark is inserted as a new first page.