Bug 162951 - In the print preview, the cell extend beyond the page break.
Summary: In the print preview, the cell extend beyond the page break.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
24.2.6.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Print-Preview
  Show dependency treegraph
 
Reported: 2024-09-13 16:50 UTC by 1412chen
Modified: 2024-09-14 15:19 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
example file (26.81 KB, application/vnd.oasis.opendocument.spreadsheet)
2024-09-13 16:50 UTC, 1412chen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 1412chen 2024-09-13 16:50:41 UTC
Created attachment 196430 [details]
example file

step:

1. From a new Calc.
2. Set a column page break.
3. Merge cells to extend beyond the page break. In the attach example file, it contains series merged cells.
4. Open print preview.

Some merged cells render one more cell width beyond the page break.

In my test, this issue always happened after a blank row. From the attach example file, the row 15 is after a blank row 14, and it over rendering. After copying row 15 to row 14, this issue gone.
Comment 1 m_a_riosv 2024-09-13 22:40:41 UTC
Reproducible
Version: 24.8.1.2 (X86_64) / LibreOffice Community
Build ID: 87fa9aec1a63e70835390b81c40bb8993f1d4ff6
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 22d3de16dc65b0708cf260205f6e94637f39859c
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded


Latest version that works on the ones I have installed.
Version: 4.4.7.2
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: es_ES
Comment 2 raal 2024-09-14 15:19:14 UTC
This seems to have begun at the below commit in bibisect repository/OS bibisect-50max/Linux.
 0971ac0b6255da88004c576906b1c6fa58092e13 is the first bad commit
commit 0971ac0b6255da88004c576906b1c6fa58092e13
Author: Matthew Francis <mjay.francis@gmail.com>
Date:   Wed May 27 23:36:04 2015 +0800

    source-hash-09a67a5bcec037fd837bb515c6c00a12e68e2ea5
    
    commit 09a67a5bcec037fd837bb515c6c00a12e68e2ea5
    Author:     Markus Mohrhard <markus.mohrhard@googlemail.com>
    AuthorDate: Mon May 18 19:54:20 2015 +0200
    Commit:     Markus Mohrhard <markus.mohrhard@googlemail.com>
    CommitDate: Mon May 18 19:58:01 2015 +0200
    
        render vertically merged cells together
    
        This helps with databars and color scales in merged cells.
    
        Change-Id: Ice2054a03d031012645a1f2537da1ea636cbbaef