Bug 144007 - [CALC] FORMATTING Insert Row Above uses wrong format of previous instead of selected row
Summary: [CALC] FORMATTING Insert Row Above uses wrong format of previous instead of s...
Status: RESOLVED DUPLICATE of bug 113687
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-22 16:01 UTC by crptdngl71
Modified: 2024-01-26 06:05 UTC (History)
1 user (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 crptdngl71 2021-08-22 16:01:11 UTC
[CALC] FORMATTING Insert line above current line uses wrong format

Steps to reproduce

(1) Open Calc,
(2) create some entries for a small table (e.g. 5 columns). Table has a header and some rows with data.

(3) Change header line format to have yellow background of cells, increase text size of header cells.

(4) Click first cell in first row of data (1st row below header).

(5) Select full first row of data (the same row that you have just clicked first cell of)

(6) Right click mouse to open context menu. Select "Add line above"

(7) BUG: Calc will insert a new line below header, but instead assigning the same format to it as data rows have it will copy header format (i.e. yellow background, bigger text size).

Expected behaviour: newly inserted line should have same format as first data row has because that is from where whole procedure started.

Same happens (but less an issue, more expected) when using "insert line below" when starting from header row.

When I select a row and use "insert line above/ below" I expect CALC to use the same format for newly inserted line as has the line that I have selected to start inserting above/below from.
Comment 1 crptdngl71 2021-08-22 16:08:11 UTC
COMMENT
It is worth noting that the issue affects all rows in a table, not just the first data row.

Whenever you add a line ABOVE a particular line CALC will always use the Format of the line above that row instead of copying the format relatively from row you started insertion from.
Comment 2 Timur 2021-08-23 08:07:30 UTC
Reproduced. But duplicate of earlier, although not so clearly written bug.

*** This bug has been marked as a duplicate of bug 108016 ***
Comment 3 Mike Kaganski 2024-01-26 06:05:00 UTC

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