Bug 169157 - Calc - Inserting a row above does not copy existing cell borders
Summary: Calc - Inserting a row above does not copy existing cell borders
Status: RESOLVED DUPLICATE of bug 113687
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
24.2.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-30 16:15 UTC by Ezinne
Modified: 2025-10-30 18:22 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Insert Row Above does not copy the cell border (244.70 KB, video/webm)
2025-10-30 16:15 UTC, Ezinne
Details
Inserting Row Below copies the cell border (242.45 KB, video/webm)
2025-10-30 16:17 UTC, Ezinne
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ezinne 2025-10-30 16:15:09 UTC
Created attachment 203624 [details]
Insert Row Above does not copy the cell border

In LibreOffice Calc, inserting rows behaves inconsistently with respect to cell borders. When a row is inserted below a bordered cell, the new row inherits the cell’s border formatting. However, when a row is inserted above, the new row does not copy the border.

Steps to Reproduce:

1. Open LibreOffice Calc.
2. Create a new spreadsheet.
3. Apply borders to a cell (for example, cell A1).
4. Right-click the bordered cell and choose Insert Rows Below → notice that the new row copies the borders. - OK
5. Right-click the same bordered cell and choose Insert Rows Above → notice that the new row does not copy the borders. - NOK

Actual Results:
Rows inserted above a bordered cell do not inherit the existing border formatting.

Expected Results:
Rows inserted above a bordered cell should also copy the existing borders, ensuring consistent formatting behavior.
Comment 1 Ezinne 2025-10-30 16:17:13 UTC
Created attachment 203625 [details]
Inserting Row Below copies the cell border
Comment 2 Ezinne 2025-10-30 16:27:47 UTC
Reproducible in:
Version: 5.2.0.0.alpha1
Build ID: 902b28a39528b6c92602e9b521a1d0861be1caf9
CPU Threads: 14; OS Version: Linux 6.14; UI Render: default; 
Locale: en-US (en_US.UTF-8)
Comment 3 raal 2025-10-30 18:22:12 UTC
Hello,

Thank you for submitting the bug. The bug has previously been reported, so this bug will be added as a duplicate of it. You will automatically be CCed to updates made to the other bug.

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