Bug 158959 - FILESAVE XLSX Cell padding does not persist after save and document reload
Summary: FILESAVE XLSX Cell padding does not persist after save and document reload
Status: RESOLVED DUPLICATE of bug 140185
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-01 17:25 UTC by thelandarian
Modified: 2024-08-06 11:06 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 thelandarian 2024-01-01 17:25:10 UTC
Description:
I am attempting to create a spreadsheet with specific cell padding of 5.0 pt for top, left, right, and bottom. When I apply the borders and cell padding, they get successfully applied to the document. However, after I save and close, then reopen the document, the cell padding reverts to the default 1.0 pt.

Steps to Reproduce:
1.Select one or more cell
2.Right-click and select Format Cells...
3.In the Borders tab, in the Padding section, change the padding (note that changing left padding produces the most visible result).
4.Type text in the affected cell(s). Observe the correct padding.
5.Save the document, then exit LibreCalc.
6.Open the newly saved document.
7.Observe that the changed padding in the modified cells have been reverted.
8.Select the cells, do Format Cells..., go to the Borders tab and observe that padding has been reverted to 1.0.

Actual Results:
The padding for the modified cells is the default 1.0 pt. all around, despite being changed to 5.0 and saving with the aforementioned change.

Expected Results:
The cells should maintain the 5.0 pt. padding.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.5.3.2 (X86_64) / LibreOffice Community
Build ID: 9f56dff12ba03b9acd7730a5a481eea045e468f3
CPU threads: 12; OS: Windows 10.0 Build 22635; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 1 ady 2024-01-01 18:44:10 UTC
Applying the padding to _one_ cell, no repro with 7.5.3.2 nor with 24.8 alpha.

The only difference in my tests is that I use mm instead of pt.

Now, if you are trying to apply to _all_ cells, there are several reports about similar failing attempts (not specifically related to border padding).
Comment 2 Buovjaga 2024-01-18 18:06:34 UTC
Works fine here

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 25276df12abd9d002f7f899900434617b256f745
CPU threads: 2; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 3 ady 2024-01-18 18:31:41 UTC
(In reply to thelandarian from comment #0)

> 5.Save the document, then exit LibreCalc.

By any chance, are you saving the file as ODF, or as XLSX?

Just a hunch, this is about saving / exporting as XLS(x), not saving as ODF.
Comment 4 QA Administrators 2024-07-17 03:14:51 UTC Comment hidden (obsolete)
Comment 5 lukas.schreiber 2024-08-06 09:23:44 UTC
I can confirm that the described bug only exists when saving as XLSX. After reopening. Cell padding is reset to 1 pt; any change made before saving is disregarded. When saving as ODS and reopening, the cell padding stays at the new values, as expected.

I tested with LibreOffice 7.6.5.2
Comment 6 Buovjaga 2024-08-06 09:30:49 UTC
Bug 140185 comment 17: "Marking as INVALID - request is for something not possible in MSO formats."

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