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)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Table-Properties-Dialog Toolbar-Border-Controls
  Show dependency treegraph
 
Reported: 2015-09-06 22:42 UTC by thanasis57
Modified: 2021-06-14 17:25 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


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

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: 5.0.1.2 (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: 5.2.2.2.0+
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 5.0.6.2 (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: 5.3.0.0.alpha0+ 
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.

Steps:
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: 6.2.5.2 (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 7.1.4.2, now also affecting the border-setting via table-properties (see Bug 142165).