Bug 161403 - LibreOffice writer fails in calculations inside table cells when the origin cells are spanned between pages
Summary: LibreOffice writer fails in calculations inside table cells when the origin c...
Status: RESOLVED DUPLICATE of bug 159027
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.3.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-03 20:23 UTC by acastan
Modified: 2024-06-08 12:02 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
The cells to add are spanned in two pages. The result should be 38 but only adds 16 (the cells tha remains in first page) (107.00 KB, image/png)
2024-06-03 20:34 UTC, acastan
Details
The same table. I just added some lines at the start of the page. Now the cells to add are in the same page. The result is fine, 38 (99.19 KB, image/png)
2024-06-03 20:35 UTC, acastan
Details
file with a table . The cells to add are spanned in two pages. The formula at left cell add all 10 cells at right. (12.52 KB, application/vnd.oasis.opendocument.text)
2024-06-03 22:21 UTC, acastan
Details
Sample file (10.74 KB, application/vnd.oasis.opendocument.text)
2024-06-04 08:52 UTC, m_a_riosv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description acastan 2024-06-03 20:23:00 UTC
Description:
Excuse my poor English

LibreOffice writer fails in calculations inside table cells when the origin cells are spanned between pages.

The bug is easily reproducible:

Look this two screenshots. Look the marked cells. The cell in the left column is a formula adding the the nine cells at right column.

In the first screenshot, all the cells are in the same page and the calculations is fine.

In the second screenshot I had to move the table few lines down and now the cells used for the calculation are spanned in two pages, As you can see, now the formula for a strange reason is adding only the cells in the firs page. This is unexpected behavior

Steps to Reproduce:
1.Create a table with two columns and many rows, Merge the cells of the left column.
2. Write numbers in the right cells. Add a Table formula in the left cell adding all the right cells.
3. The result is fine, but if you move the table down in the way that some rows are in firs page and some rows are in second page, the formula only adds the rows in one page

Actual Results:
If the table rows to add are spanned in two pages, it only add the rows of one page

Expected Results:
If the table rows to add are spanned in two pages, still should add all the rows of the formula


Reproducible: Always


User Profile Reset: Yes

Additional Info:
LibreOffice 24.2.3.2

3 june 2024

Linux Debian Testing amd64

I can send you screenshots where you see clearly the bug
Comment 1 acastan 2024-06-03 20:34:23 UTC
Created attachment 194523 [details]
The cells to add are spanned in two pages. The result should be 38 but only adds 16 (the cells tha remains in first page)
Comment 2 acastan 2024-06-03 20:35:45 UTC
Created attachment 194524 [details]
The same table. I just added some lines at the start of the page. Now the cells to add are in the same page. The result is fine, 38
Comment 3 m_a_riosv 2024-06-03 21:41:06 UTC
Please attach a sample file, reduce the size as much as possible without private information, and paste the information in Menu/Help/About LibreOffice, there is a copy icon.
Comment 4 acastan 2024-06-03 22:21:30 UTC
Created attachment 194527 [details]
file with a table . The cells to add are spanned in two pages. The formula at left cell add all 10 cells at right.
Comment 5 m_a_riosv 2024-06-04 08:52:08 UTC
Created attachment 194541 [details]
Sample file

The case when not updating is notice is after undo [Ctrl+Z], that is recalculated after click on the cell.
Comment 6 acastan 2024-06-04 12:21:44 UTC
The result is recalculated and updated after click on the cell, but if the cells included in the calculus are spanned in two pages, the result isn't correct.
Comment 7 Stéphane Guillou (stragu) 2024-06-08 12:02:04 UTC
Thanks for the report. That was a 7.3 regression that is already fixed in the upcoming 24.8 version, see bug 159027.

*** This bug has been marked as a duplicate of bug 159027 ***