Bug 161439 - Text overflowing cell is truncated in printing
Summary: Text overflowing cell is truncated in printing
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
24.2.3.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Calc-Page-Break
  Show dependency treegraph
 
Reported: 2024-06-06 07:57 UTC by WilfriedH
Modified: 2024-06-14 08:01 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
sample files demonstrating the bug (11.80 KB, application/vnd.oasis.opendocument.spreadsheet)
2024-06-06 07:57 UTC, WilfriedH
Details
sample file demonstrating the bug (11.51 KB, application/vnd.oasis.opendocument.spreadsheet)
2024-06-06 07:58 UTC, WilfriedH
Details

Note You need to log in before you can comment on or make changes to this bug.
Description WilfriedH 2024-06-06 07:57:21 UTC
Created attachment 194564 [details]
sample files demonstrating the bug

Normally, when text is overflowing a cell but still fits on the page, the complete text is printed (sample file Cell_overflow_1.ods).
But after adding an empty column at column 1, the text is truncated at the right of the last non-empty column (sample file Cell_overflow_2.ods)
Comment 1 WilfriedH 2024-06-06 07:58:31 UTC
Created attachment 194565 [details]
sample file demonstrating the bug
Comment 2 m_a_riosv 2024-06-06 19:11:15 UTC
It's easy to view with Menu/View/Page break.

Reproducible (even in safe mode)
Version: 24.2.4.2 (X86_64) / LibreOffice Community
Build ID: 51a6219feb6075d9a4c46691dcfe0cd9c4fff3c2
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded

but works fine with
Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 32eaef8ddb7acbd8ab40c69acd9b8ca06a26b015
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
and
Version: 24.2.1.1 (X86_64) / LibreOffice Community
Build ID: 359ef544e625d2ffbfced462ab37bd593ca85fa7
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: es-ES
Calc: CL threaded
Comment 3 Buovjaga 2024-06-14 06:50:46 UTC
With 24.2 and 24.8 bibisect repos on Linux, I found out that commit 2ad14abcf790002ac6fe09afbc5a2cae46f62085 fixes the issue, but it was only applied to 24.8 and never to 24.2. I have sent a cherry pick patch:

https://gerrit.libreoffice.org/c/core/+/168802
Comment 4 Buovjaga 2024-06-14 08:01:26 UTC
Now I merged the picked change for bug 160399, so let's set this to fixed.