Bug 93975 - Toolbar table borders control causes spacing to content issues (see comment #6)
Summary: Toolbar table borders control causes spacing to content issues (see comment #6)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Writer-Table-Properties-Dialog Toolbar-Border-Controls
  Show dependency treegraph
Reported: 2015-09-06 22:42 UTC by thanasis57
Modified: 2023-06-15 03:15 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:

Document with changing line and spacing attributes (13.06 KB, application/vnd.oasis.opendocument.text)
2015-09-06 22:42 UTC, thanasis57

Note You need to log in before you can comment on or make changes to this bug.
Description thanasis57 2015-09-06 22:42:02 UTC
Created attachment 118485 [details]
Document with changing line and spacing attributes

Writer undoes the formatting of table cells, lines and columns, with respect to: (a) spacing to contents and (b) border line format:
-When line style of borders is formatted manually, spacing to contents reverts to 0.10 cm
-When spacing to contents is applied to deleted then redrawn lines, the custom-made lines are deleted.

Steps to reproduce are described with examples within the uploaded document.
Comment 1 Buovjaga 2015-09-15 17:13:46 UTC
Not reproducible from scratch in 5.0.1.
I could only repro route B *in your document* using 5.0.1.
Route A from scratch step 3 did not revert.
Route B from scratch did not make the line formatting disappear.

Would you like to test with 5.0.1?

Win 7 Pro 64-bit, Version: (32-bit)
Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261
Locale: fi-FI (fi_FI)
Comment 2 Yousuf Philips (jay) (retired) 2016-10-17 08:10:42 UTC Comment hidden (obsolete)
Comment 3 Stephan van den Akker 2016-10-17 08:56:19 UTC
Route 1 is still very much reproducible in:

LO Version:
Build ID: 20m0(Build:2)
CPU Threads: 2; OS Version: Linux 4.7; UI Render: default; 
Locale: en-GB (en_GB.UTF-8); Calc: group

Both in a document created from scratch and in the sample document.

Crucial information not in the OP: 

Route 1 problem is only reproducible when removing and adding borders through the "Borders" drop down in the Table Toolbar.

Route 1 is NOT reproducible when removing and adding borders through
  Table Properties -> Borders -> Line Style
Comment 4 thanasis57 2016-10-17 09:06:57 UTC
Thanks Stephan,

I conquer with your additional observation on LO (Ubuntu 12.04).

Although I haven't updated to a newer version, I exactly reproduce the behavior you noted.
Comment 5 Stephan van den Akker 2016-10-17 09:31:59 UTC
Route A also still reproducible in 

LOdev Versie: 
Build ID: d66b12b5be0bb5fc6903772e89a48d8ad61f723c
CPU Threads: 4; Versie besturingssysteem:Linux 3.12; UI Render: standaard; 
Locale: nl-NL (en_GB.UTF-8); Calc: group

When using the Borders drop down list in the Table Toolbar.
Comment 6 Yousuf Philips (jay) (retired) 2016-10-17 12:49:21 UTC
I had stopped at step 3 of route A as i assume it had the same behaviour as route B's 2b onwards, so i didnt see the remaining issue. Lets focus on this one aspect and any other issues should be filed as separate bugs.

1) Open Writer
2) Insert a 1x5 table
3) Add numbers from 1 to 5 to each row
4) Table > Properties > Borders and set spacing to content to 0 and set borders lines to none
5) Select rows 2 and 3 and in the table toolbar, set the borders to line above and below
6) Notice rows 2 and 3 now have spacing to content different to other rows
7) Select rows 2 and 3 and Table > Properties > Borders and see spacing to content is set to 0.10cm
Comment 7 Gerry 2017-05-30 13:47:26 UTC
I have to deal a lot with tables in Writer and frequently add table borders. IMHO, this is a very annoying behavior that Writer adds 0.1cm padding to the neighboring table cells while I just want to add a border.
Comment 8 Gerry 2017-11-05 12:42:48 UTC Comment hidden (no-value)
Comment 9 Cor Nouws 2018-03-19 15:42:09 UTC
I concur in that we should focus on one issue first - see comment #6
Comment 10 Phil Krylov 2018-06-11 17:55:08 UTC
The bug is still there with 6.1.0b1. I would describe it simply as:
Changing cell padding on the Borders tab of the Table Properties dialog automatically applies border properties (autoselected on dialog entry) as well, that is, you cannot change borders and padding independently.
Comment 11 rishav raj 2018-07-20 10:17:44 UTC Comment hidden (spam)
Comment 12 QA Administrators 2019-07-21 02:47:04 UTC Comment hidden (obsolete)
Comment 13 Gerry 2019-07-21 16:04:03 UTC
The bug is still present in LO 6.2.5. Spacing to contents still wrongly reverts to 0.10 cm when adding a table border.

Version: (x86)
Build-ID: 1ec314fa52f458adc18c4f025c545a4e8b22c159
CPU-Threads: 4; BS: Windows 10.0; UI-Render: GL; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: threaded
Comment 14 Hans 2021-06-13 07:18:10 UTC
The padding-bug with the toolbar-button for table-borders is still present with, now also affecting the border-setting via table-properties (see Bug 142165).
Comment 15 QA Administrators 2023-06-15 03:15:19 UTC
Dear thanasis57,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)

If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword

Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team