Bug 132918 - Allow row to break across pages and columns does the opposite for embedded table
Summary: Allow row to break across pages and columns does the opposite for embedded table
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Tables-Nested
  Show dependency treegraph
 
Reported: 2020-05-10 13:27 UTC by Telesto
Modified: 2023-04-10 13:49 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (12.00 KB, application/vnd.oasis.opendocument.text)
2020-05-10 13:28 UTC, Telesto
Details
Screencast (3.43 MB, video/mp4)
2020-09-01 17:57 UTC, Telesto
Details
Expected result under scrutiny (43.42 KB, image/png)
2020-09-01 19:59 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-05-10 13:27:37 UTC
Description:
Allow row to break across pages and columns does the opposite for embedded table

Steps to Reproduce:
1. Open the attached file
2. Place cursor in cell A1 & delete the row -> This more or less what I would expect.. but doesn't show
3. Undo
4. Open table properties for the embedded cell -> Text flow tab
Uncheck Allow row to break across pages and columns
5. Press OK
6. No change -> Probably a bug
7. Set the cursor above the table
8. Press backspace
9. Press enter.. The result I would expected

Actual Results:
Splitting table appears to be wrong

Expected Results:
As demonstrated


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.0.0.alpha0+ (x64)
Build ID: 97a2c1fc5e376c0c00968f17a0392c6d3a5ed565
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: threaded

More broken before 5.1
Comment 1 Telesto 2020-05-10 13:28:52 UTC
Created attachment 160598 [details]
Example file
Comment 2 Buovjaga 2020-08-31 18:02:49 UTC
I assume step 2 should be "Place cursor in cell A1 OF EMBEDDED TABLE".

Step 4: it does not allow me to uncheck it!

Arch Linux 64-bit
Version: 7.1.0.0.alpha0+
Build ID: d784e711c102f204552c3c816636da01b1085f61
CPU threads: 8; OS: Linux 5.8; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 29 August 2020
Comment 3 Telesto 2020-08-31 20:55:29 UTC
1. Open the attached file
2. Place cursor in cell A1 of the outer table -> This more or less what I would expect.. but doesn't show
3. Undo
4. Open table properties for the embedded cell -> Text flow tab
Uncheck Allow row to break across pages and columns
5. Press OK
6. No change -> Probably a bug
7. Set the cursor above the (outer) table
8. Press backspace
9. Press enter.. The result I would expected

Step 2 -> outer type -> table above text (embedded table splits)

Step 4: it does not allow me to uncheck it! -> checkbox is 'active' on Windows. So I assume a setting here. No clue what the proper dialog is kf5 or Win
Comment 4 Buovjaga 2020-09-01 16:21:43 UTC
(In reply to Telesto from comment #3)
> 1. Open the attached file
> 2. Place cursor in cell A1 of the outer table -> This more or less what I
> would expect.. but doesn't show

Doesn't show what?

> 3. Undo
> 4. Open table properties for the embedded cell -> Text flow tab
> Uncheck Allow row to break across pages and columns

Ok, I see, you forgot to mention that we need to check "Allow table to split across pages and columns" before we get access to unchecking the row break.

> 5. Press OK
> 6. No change -> Probably a bug
> 7. Set the cursor above the (outer) table
> 8. Press backspace
> 9. Press enter.. The result I would expected

What is the result? I don't understand.
Comment 5 Telesto 2020-09-01 17:57:45 UTC
Created attachment 164984 [details]
Screencast
Comment 6 Telesto 2020-09-01 18:00:48 UTC
If i understand my own bug correct, 

*Allow* row to break across pages and columns is checked, but doesn't split. After unchecking that for the embedded table, the desired/expected split occurs.

However not directly, but only after pressing backspace (step 8) followed by step 9
Comment 7 Buovjaga 2020-09-01 19:59:33 UTC
Created attachment 164989 [details]
Expected result under scrutiny

Argh, so apparently I had saved over the original file while testing one of your other reports and the initial state was different regarding the number of empty paragraphs.

Attached is an annotated screenshots of what I believe to be the relevant observation. Am I correct?
Comment 8 Telesto 2020-09-01 20:20:58 UTC
Yes, except I'm assuming the split being the 'right' behavior'. Only looking off. But if a developer has the opinion it shouldn't split this way (but move to the next page) also fine.
Comment 9 Dieter 2022-08-25 12:48:21 UTC
I can reproduce it with the following (simplified) steps:

1. Open attachment 160598 [details]
2. Open table properties for the embedded cell -> Text flow tab
Uncheck Allow row to break across pages and columns
3. Set the cursor above the table
4. Press backspace
5. Undo or press enter

Actual result:
Part of first row of embedded table disappears

Expected result:
Complete row should be visible

=> NEW

But I can't reproduce with the following steps:
1. Open the attachment 160598 [details]
2. Place cursor in cell A1 & delete the row
3. Open table properties for the embedded cell -> Text flow tab
Uncheck Allow row to break across pages and columns
3. Set the cursor above the table
4. Press backspace
5. Undo or press enter

so i don't think, that input from developers is necessary here.

Version: 7.4.0.3 (x64) / LibreOffice Community
Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a
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

Very strange.