Bug 148399

Summary: Hard page break inextricable from table which follows it
Product: LibreOffice Reporter: hammerquill
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED INSUFFICIENTDATA    
Severity: normal CC: dgp-mail
Priority: medium    
Version: 5.4.5.1 release   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description hammerquill 2022-04-05 15:46:37 UTC
Description:
When I create a hard page break in Writer (Ctrl+Enter), then create a table directly after it, it becomes impossible to move the table without moving the hard page break. It is also impossible to delete the hard page break. If, for example, I select the table (either by menu or with the little diagonal arrow that appears to select the whole table) and cut or copy it, and then paste it in the middle of another page, it creates a new page break and puts the table at the top of the page following. It is also impossible to move the table down the page it is on by inserting carriage returns ahead of it. When I View>Formatting Marks I see no mark for the hard page break, so there is nothing to select to remove the page break. Pressing delete from the end of the previous page starts deleting the text of the first header cell of the table. Pressing backspace from before the first character of text in the table does nothing at all.

Steps to Reproduce:
1. In a document, use Ctrl+Enter to create a hard page break.
2. At the beginning of the new page, create a table.
3. Attempt to move the table away from the page break by any of the following means:
(a) inserting carriage returns ahead of the table on the page it's on.
(b) deleting the page break with delete key from previous page.
(c) deleting the page break with backspace from the start of the table.
(d) turning on View >Formatting Marks and attempting to find a hard page break mark
(e) selecting and cutting (or copying) the table and attempting to move it to the middle of the same or a previous page.

Actual Results:
When I create a hard page break in Writer (Ctrl+Enter), then create a table directly after it, it becomes impossible to move the table without moving the hard page break. It is also impossible to delete the hard page break. If, for example, I select the table (either by menu or with the little diagonal arrow that appears to select the whole table) and cut or copy it, and then paste it in the middle of another page, it creates a new page break and puts the table at the top of the page following. It is also impossible to move the table down the page it is on by inserting carriage returns ahead of it. When I View>Formatting Marks I see no mark for the hard page break, so there is nothing to select to remove the page break. Pressing delete from the end of the previous page starts deleting the text of the first header cell of the table. Pressing backspace from before the first character of text in the table does nothing at all.

Expected Results:
You should be able to select a table and move it without moving the hard page break at the same time.

Finally, you should be able to place the cursor at the beginning of the table, but outside it, so that you can press Enter to create a carriage return/line feed and move the table down the page, just like anything else inserted inline.

The hard page break should be visible at the end of the page as a Formatting Mark when View>Formatting Marks is turned on. There you should be able to delete it. The hard page break should be a discrete object that does not directly interact with things around it, much less get entangled in inline objects such as tables. If it is possible to insert a hard page break within a table for some reason, it should still be visible, selectable, deletable and moveable like a Paragraph end.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 5.4.5.1 (x64)
Build ID: 79c9829dd5d8054ec39a82dc51cd9eff340dbee8
CPU threads: 4; OS: Windows 6.19; UI render: default; 
Locale: en-US (en_US); Calc: group
Comment 1 Dieter 2022-04-19 08:04:56 UTC
Thank you for reporting the bug. It seems you're using an old version of LibreOffice. Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version. Change to RESOLVED WORKSFORME, if the problem went away.
Comment 2 QA Administrators 2022-10-17 03:30:23 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2022-11-17 03:47:18 UTC
Dear hammerquill,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp