Bug 154842

Summary: Pagebreak in a row with horizontally splitted cell will show content, which is set "middle", at "top"
Product: LibreOffice Reporter: Alexander Kurakin <kuraga333>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: buzea.bogdan, kuraga333
Priority: medium    
Version: 5.1.5.2 release   
Hardware: All   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103100    
Attachments: Test case file
Second case - before
Second case - after
First (main) case - Before
First (main) case - After

Description Alexander Kurakin 2023-04-16 15:00:58 UTC
Created attachment 186699 [details]
Test case file

1. Open test.odt.
2. See vertical align of "D" cell: it's middle.
3. Set the cursor just after "HERE" word. Press <Enter>.
4. See vertical align of "D" cell: it's middle (on the panel) but visually it's *top*!.

LibreOffice 7.4.4.2,
Calculate Linux 23 (Gentoo based).
Comment 1 Robert Großkopf 2023-04-17 07:42:03 UTC
Could confirm the buggy behavior with LO 7.5.2.2 on OpenSUSE 15.4 64bit rpm Linux. Bug will also appear with LO 5.1.5.2 (oldest version I have installed here). So might be it is inherited from OOo. Have set the Version to LO 5.1.5.2.

Note: It will only happen when a cell in the row has been splitted horizontally and there is a page break inside the row.
Comment 2 Alexander Kurakin 2023-04-17 08:08:33 UTC
Robert, thanks!

Caught even more interesting effects on merging cells.
But can't reproduce on a clean file. Saved the test case.
Comment 3 Alexander Kurakin 2023-04-17 08:09:09 UTC
Created attachment 186711 [details]
Second case - before
Comment 4 Alexander Kurakin 2023-04-17 08:09:43 UTC
Created attachment 186712 [details]
Second case - after
Comment 5 Alexander Kurakin 2023-04-17 08:35:43 UTC
Note: all these effects still appear after saving and re-opening the document.

And yes, these effects appear despite the values in UI.
Comment 6 Alexander Kurakin 2023-04-17 16:08:35 UTC
Originally:

Version: 7.4.4.2 / LibreOffice Community
Build ID: 40(Build:2)
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Gentoo official package
Calc: threaded
Comment 7 Alexander Kurakin 2023-04-17 16:16:47 UTC
Created attachment 186740 [details]
First (main) case - Before
Comment 8 Alexander Kurakin 2023-04-17 16:17:19 UTC
Created attachment 186741 [details]
First (main) case - After
Comment 9 Alexander Kurakin 2023-05-05 11:32:31 UTC
(In reply to Alexander Kurakin from comment #5)
> Note: all these effects still appear after saving and re-opening the
> document.
> 
> And yes, these effects appear despite the values in UI.

Possibly related: bug #128966