Bug 157188 - LibreOffice Calc removes formatting when deleting non-populated columns
Summary: LibreOffice Calc removes formatting when deleting non-populated columns
Status: RESOLVED DUPLICATE of bug 156689
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.6.0.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-11 13:03 UTC by Ruud Mantingh
Modified: 2023-09-11 14:54 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example before removing unpopulated column E (11.92 KB, application/vnd.oasis.opendocument.spreadsheet)
2023-09-11 13:05 UTC, Ruud Mantingh
Details
Result after removing unpopulated column E (12.32 KB, application/vnd.oasis.opendocument.spreadsheet)
2023-09-11 13:06 UTC, Ruud Mantingh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ruud Mantingh 2023-09-11 13:03:23 UTC
Description:
When I delete columns after my last populated column Calc removes formatting from the columns before the deleted columns.

Steps to Reproduce:
1. Create a new file and create a simple table with some formatted headers and values in the rows below it - doesn't matter what - as long as there is formatting applied (e.g. background on cells, bold text, etc.)
2. Select the column next to the table
3. Delete the selected column
4. Select cell A1
5. Select the last populated cell


Actual Results:
Formatting gets corrupted

Expected Results:
Existing formatted cells should be unaffected by deleting unpopulated columns.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Deleting rows does not seem to have the same problem.
Comment 1 Ruud Mantingh 2023-09-11 13:05:56 UTC
Created attachment 189488 [details]
Example before removing unpopulated column E

Example before removing unpopulated column E
Comment 2 Ruud Mantingh 2023-09-11 13:06:52 UTC
Created attachment 189489 [details]
Result after removing unpopulated column E

Result after removing unpopulated column E
Comment 3 Ruud Mantingh 2023-09-11 13:08:08 UTC
The number of 'populated' columns that get corrupted seems to depend on the number of 'unpopulated' columns deleted after the populated cells.
Comment 4 m_a_riosv 2023-09-11 14:54:09 UTC

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