Bug 108074 - Merged cells can overlap page break, and are displayed incorrectly
Summary: Merged cells can overlap page break, and are displayed incorrectly
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Tables
  Show dependency treegraph
 
Reported: 2017-05-25 00:15 UTC by Aron Budea
Modified: 2023-06-30 03:13 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample ODT (10.11 KB, application/vnd.oasis.opendocument.text)
2017-05-25 00:15 UTC, Aron Budea
Details
Sample DOCX (16.91 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2017-05-25 00:17 UTC, Aron Budea
Details
Example table and actions to get wrong behavior (44.44 KB, application/zip)
2017-08-05 14:34 UTC, Alexander Polkhovskiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2017-05-25 00:15:27 UTC
Created attachment 133548 [details]
Sample ODT

Open attached ODT (saved from a DOCX in Writer).
Note how the first two rows of the table look strange.

Adding a line break before the table moves the rows to the next page and fixes the layout. Then deleting two line breaks and adding one causes the bug to reappear.

Observed with 5.4beta1 and 4.0.0.3 / Windows 7.
Comment 1 Aron Budea 2017-05-25 00:17:41 UTC
Created attachment 133549 [details]
Sample DOCX

Here's the original DOCX created in Word 2013. Just attaching for reference, it's not relevant for the issue, which is more about very specific positioning.
Comment 2 Yousuf Philips (jay) (retired) 2017-05-25 02:50:28 UTC
Confirmed. Seems B2 is being hidden behind the footer area of page 1, as i can type in the cell but what i type isnt shown.

Version: 5.5.0.0.alpha0+
Build ID: 0e6297932252403883a6057feee488e4ee2bc360
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-05-22_23:44:32
Locale: en-US (en_US.UTF-8); Calc: group
Comment 3 Alexander Polkhovskiy 2017-08-05 14:27:26 UTC
Yes, always troubles with merged cells. And always unexpected behavior.
Comment 4 Alexander Polkhovskiy 2017-08-05 14:34:52 UTC
Created attachment 135171 [details]
Example table and actions to get wrong behavior

Expand row #18 text to make it go to a new line - you'll get another wrong page break (After.png). If you add Enter (CRLF) to make a new second line, you'll see another behavior (After2.png).
Every time you change the table (add, delete, resize rows), you can see wrong cells' behavior (Effects.png).
Comment 5 QA Administrators 2018-08-06 02:29:13 UTC Comment hidden (obsolete)
Comment 6 Alexander Polkhovskiy 2018-08-06 08:01:13 UTC
Still reproduced in LO 6.0.6.2
ID: 0c292870b25a325b5ed35f6b45599d2ea4458e77
Windows 6.3; GL; 
ru-RU (ru_RU); Calc: CL
Comment 7 QA Administrators 2019-08-07 04:46:00 UTC Comment hidden (obsolete)
Comment 8 Alexander Polkhovskiy 2019-08-07 11:58:34 UTC
Same behaviour

Version: 6.4.0.0.alpha0+ (x86)
Build ID: a675fe37abc134cc5cbf54385ca99c8d1417ce2b
CPU threads: 4; OS: Windows 6.3; UI render: GL; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-07-26_09:09:34
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: CL
Comment 9 Stéphane Guillou (stragu) 2021-06-29 03:50:51 UTC
Reproduced with:

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: f446a203fa2897bab8ae7686c948a8bf060675c6
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-06-24_15:16:38
Calc: threaded

With Attachment 133548 [details]:

1. Remove some carriage returns on the first page to see the row that has a split cell in the second column.
2. Add carriage returns again to progressively push the split cell over the next page:
3. Looks OK when the split cell is over two pages for the first time (although, arguably, the whole thing should go to the other side in one go? This behaviour is reproducible regardless of the setting "Allow row to break across pages and columns" in "Table properties > Text flow")
4. Return once more: only half of it is visible in the top page. (The bottom of the table even move upwards instead of downwards!)
5. Return once more: the whole split cell is on the second page.

Expected results: there should be no step 4.
Comment 10 QA Administrators 2023-06-30 03:13:26 UTC
Dear Aron Budea,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug