Bug 167417 - Changing cell border also adds padding
Summary: Changing cell border also adds padding
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.2.4.3 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Tables
  Show dependency treegraph
 
Reported: 2025-07-07 22:43 UTC by foolishgrunt
Modified: 2025-07-12 12:33 UTC (History)
2 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 foolishgrunt 2025-07-07 22:43:18 UTC
Description:
If I use the the "Borders" button on the "Table" tab in the Ribbon to change the border of a cell (e.g. add borders to a cells that doesn't have them or remove from one that does) whose cell padding is *less* than the default value of 0.04" (e.g. 0.00" or 0.02"), then the cell padding value is automatically changed to a uniform 0.04". 

Steps to Reproduce:
1. Create a table of any size.
2. Set the cell padding to a 0.00".
3. Using the "Borders" button on the "Table" tab in the Ribbon, remove the cell border from one or more cells in the table.


Actual Results:
In all affected cells, the cell padding is automatically set to a uniform 0.04". 

Furthermore, in the "Borders" tab of the "Table Properties" dialog, the "Synchronize" option under the "Padding" section is automatically selected, regardless of its previous setting.

Expected Results:
Nothing would be changed that I have not explicitly changed.


Reproducible: Always


User Profile Reset: No

Additional Info:
When changing the borders from the "Borders" tab of the "Table Properties" dialog, where the cell padding values also reside, the cell padding remains at whatever value it is currently (as it should).
Comment 1 mikhail.machine 2025-07-11 08:09:58 UTC
Hello foolishgrunt,

I cannot confirm that the bug is present in master.

Version: 25.2.4.3 (X86_64) / LibreOffice Community
Build ID: 33e196637044ead23f5c3226cde09b47731f7e27
CPU threads: 12; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win
Locale: en-US (en_FI); UI: en-US
Calc: threaded
Comment 2 Dieter 2025-07-12 12:33:05 UTC
I confirm it with

Version: 25.2.4.3 (X86_64) / LibreOffice Community
Build ID: 33e196637044ead23f5c3226cde09b47731f7e27
CPU threads: 12; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

and with

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: bfa28a257ae621747dddbb61f228705cf46079b8
CPU threads: 12; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

Tested with tandradt toolbar and borders icon in table toolbar

Workaround
1. open table propeerties dialog
2. change padding an borders in that dialog and it works