Bug 149002

Summary: It is impossible to delete a page break inserted right before a table
Product: LibreOffice Reporter: maxloh.register
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: maxloh.register, miguelangelrv
Priority: medium    
Version: 7.3.2.2 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=151762
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Sample document demonstrating the bug. It is impossible to delete the page break right before the table.
Sample document of having a line break within table with Microsoft word

Description maxloh.register 2022-05-09 16:21:38 UTC
Description:
It is impossible to delete a page break inserted right before a table. Neither any of the following works:

- Pressing "delete" before page break
- Pressing "backspace on the first cell of table

Steps to Reproduce:
Insert a page break within or before a table.

Actual Results:
It is impossible to delete the page break.

Expected Results:
We should be able to delete the page break.


Reproducible: Always


User Profile Reset: No



Additional Info:
I don't know if it is another bug.

When I insert a page break within a table, it goes right before the table instead of breaking the table into two.

In Microsoft Word, the table will be broken into two and the page break will be added between them, which is the desired outcome.
Comment 1 maxloh.register 2022-05-09 16:22:12 UTC
Created attachment 180021 [details]
Sample document demonstrating the bug.
It is impossible to delete the page break right before the table.
Comment 2 m_a_riosv 2022-05-09 16:41:54 UTC
On the table, Right-click  - Table properties - Text Flow - Clear 'Break'
Comment 3 maxloh.register 2022-05-09 16:50:24 UTC
Oh I see.

Is it a bug that I can't insert a page break within a table?

In Microsoft Word, the table will be broken into two and the page break will be added between them, which is the desired outcome.
Comment 4 m_a_riosv 2022-05-09 21:14:27 UTC
Can you attach a sample done with word?
Comment 5 maxloh.register 2022-05-10 02:50:07 UTC
Created attachment 180030 [details]
Sample document of having a line break within table with Microsoft word
Comment 6 maxloh.register 2022-05-10 02:51:15 UTC
OK. I uploaded a sample done with Word.
Comment 7 m_a_riosv 2022-05-10 17:52:24 UTC
I see the same under LibreOffice and Word.
There are two tables, one per page.
Comment 8 maxloh.register 2022-05-11 02:08:29 UTC
Insert a page break within a table behaves differently in Word and LibreOffice.

In Microsoft Word, the table will be split into two and the page break will be added between them.

In LibreOffice, you can't really split a table with page break. The page break will be added just before the table.

I think the Microsoft Word's behavior makes more sense for me.