Bug 154183 - deleting a row breaks highlighting background
Summary: deleting a row breaks highlighting background
Status: RESOLVED DUPLICATE of bug 153437
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.4.0.0 beta1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Calc-Cells
  Show dependency treegraph
 
Reported: 2023-03-14 11:14 UTC by Rob
Modified: 2023-06-23 08:48 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rob 2023-03-14 11:14:10 UTC
Description:
I have a spreadsheet in which I have set background of a row to yellow (E.g. line 10)
When I delete a line above it the highlighted line breaks in two.
Line 10 will be highlighted for the some fields and line 11 for the remainder

Steps to Reproduce:
1.Start with empty sheet
2.place a value in C10
3.highlight row 10
4.delete line 9

Actual Results:
broken highlight

Expected Results:
highlight of line 10 should move up to line 9


Reproducible: Always


User Profile Reset: No

Additional Info:
This problem does not happen with columns
Comment 1 ady 2023-03-14 12:07:05 UTC
Repro in:
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 668c44e841a10cec8932a446a941e6d7c386bf3b
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (es_AR); UI: en-US
Calc: CL threaded
Built 2023-03-12

Repro in:
Version: 7.4.3.2 (x86) / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (es_AR); UI: en-US
Calc: CL

Not repro in:
Version: 7.2.7.2 (x86) / LibreOffice Community
Build ID: 8d71d29d553c0f7dcbfa38fbfda25ee34cce99a2
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (es_AR); UI: en-US
Calc: CL

Setting for now to 7.4.3.2. Regression.
Comment 2 Stéphane Guillou (stragu) 2023-03-14 12:45:05 UTC
Bibisected with linux-64-7.4 repository to first bad commit 73ba34ca0f3aa921f7351d4aef714a7fadfd7335 which points to core commit:

commit 2e86718626a07e1656661df3ad69a64848bf4614
author	Luboš Luňák <l.lunak@collabora.com>	Wed May 18 18:48:23 2022 +0200
committer	Luboš Luňák <l.lunak@collabora.com>	Thu May 19 00:18:26 2022 +0200
don't allocate unnecessary columns when inserting a row
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134547

Same root cause as two other similar regressions:
- bug 153437
- bug 150052
Comment 3 ady 2023-06-02 16:37:05 UTC
Repro in LO 7.4 but no longer repro in:

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 389a8d52d9961f89c0b2847b30ee1ca59a8fdc80
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (es_AR); UI: en-US
Calc: CL threaded
Built: 2023-05-02

Possibly related to patch as in bug 153437 comment 7 (but I haven't checked this specific relation).

I have not checked in LO 7.5.
Comment 4 ady 2023-06-02 17:35:29 UTC
(In reply to ady from comment #3)
> Repro in LO 7.4 but no longer repro in:
> Built: 2023-05-02
Typo: 7.6.alpha as of 2023-06-02
Comment 5 Czeber László Ádám (NISZ) 2023-06-23 06:15:46 UTC

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