Bug 145341 - Heading 2 Contents refuses to move up, creating an empty first page (gone after save & reload)
Summary: Heading 2 Contents refuses to move up, creating an empty first page (gone aft...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Images Writer-Page-Break
  Show dependency treegraph
 
Reported: 2021-10-27 12:31 UTC by Telesto
Modified: 2023-05-13 19:11 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (2.07 MB, application/vnd.oasis.opendocument.text)
2021-10-27 12:32 UTC, Telesto
Details
Screencast (4.12 MB, video/mp4)
2021-11-01 07:41 UTC, Telesto
Details
Sample Document after "not reproducible" (2.09 MB, application/vnd.oasis.opendocument.text)
2021-11-01 09:20 UTC, Rainer Bielefeld Retired
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-10-27 12:31:50 UTC
Description:
Content refuses to move up, creating an empty first page (gone after save & reload)

Steps to Reproduce:
1. Open the attached file
2. Press delete until 'Hello' and the page break is gone
3. Save 
4. Reload -> content on page 1.. Expected at step 2

Actual Results:
Notice empty page 1

Expected Results:
Content moving up from second page to first


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 93115d2c54d645bcf2f80fde325e3ede39dee4d5
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2021-10-27 12:32:09 UTC
Created attachment 175953 [details]
Example file
Comment 2 Rainer Bielefeld Retired 2021-11-01 07:10:48 UTC
 NOT reproducible with reporter's sample document and  Server Installation of Version7.3.0.0.alpha1+ (x64) |  Build ID b8d17d754830ab57099dcdfa72a96bfad404ab1a | CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win  |  Locale: de-DE (de_DE); UI: de-DE | Calc: CL | Special dev-UserProfile

After step 2, picture "Ermita de San Miguel" has moved to first page, "Calabazas" and "Rebanisa" to second page. 

After Save an reopen all the same, picture "Ermita de San Miguel" still on first page, "Calabazas" and "Rebanisa" on second page. Noblank first page.
Comment 3 Telesto 2021-11-01 07:41:29 UTC
Created attachment 176049 [details]
Screencast
Comment 4 Rainer Bielefeld Retired 2021-11-01 09:13:08 UTC
@reporter:
I'm not sure whether understand your STR correctly. Although it's not relevant for my results:
"2. Press delete until 'Hello' and the page break is gone" means
      "You see that pictures have moved up to first page"
"3. Save " means 
      "Save and close"?
Comment 5 Rainer Bielefeld Retired 2021-11-01 09:20:40 UTC
Created attachment 176052 [details]
Sample Document after "not reproducible"

Problem seems to depend on daytime  😉 🤔

Early in the morning I created attached "Book2_a.odt" without any problems, same results in 7.2 and 7.3.: In step 3after pagebreak deletion pictures jumped upwards, no empty first page left. And now ...

And now reported Problem is reproducible for me with both versions: 7.2 default profile and 7.3. newly created User Profile
Comment 6 Rainer Bielefeld Retired 2021-11-01 09:41:41 UTC
There seems to be some dependence on formatting in picture area. 

I see something I did not check this morning, so I can't tell how it looked: The pseudo caption for chapel picture "Ermita de San Miguel en el parque municipal - Año 2005" is "heading 2", not "caption". and it'snot below the picture, but on the next page.  

Currently I see:
1. Open the attached file
2. Press delete until 'Hello' and the page break have gone. No More!
   » Unexpectedly there leaves a blank page
     additional <Del> will notmove up picture, but delete church picture.
     Don't do this!
3. Save under new name and close
4. Reopen new document
   » Unexpectedly blank page has gone

No some new attempt:
1. Open the attached file
1.1 Click on "Ermita" and change formatting from "Heading 2" to "Default"
2. Press delete until 'Hello' and the page break have gone. No More!
   » Problem has gone,chapel  picture moves up

What ever this all might mean
Comment 7 Rainer Bielefeld Retired 2021-11-01 09:53:25 UTC
For clarification: interesting with 'Sample Document after "not reproducible"' is not, that there is contents on page 1. Interesting is that that looked so for me already before I saved the document. But I doubt that that strange fact will be visible in document source.
Comment 8 Buovjaga 2022-11-09 15:21:48 UTC
Repro already with 3.3.0 on Win.

Arch Linux 64-bit
Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b57307e8f3553fcb292c9c11fcf58bcef3a6cb3c
CPU threads: 8; OS: Linux 6.0; UI render: default; VCL: gtk3
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 8 November 2022