Bug 116349 - Writer table underlining indents text 1 mm at both sides
Summary: Writer table underlining indents text 1 mm at both sides
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval, preBibisect, regression
Depends on:
Blocks: Table-Borders
  Show dependency treegraph
 
Reported: 2018-03-11 19:04 UTC by Frank
Modified: 2021-03-19 10:13 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot (59.27 KB, image/jpeg)
2018-03-11 19:05 UTC, Frank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank 2018-03-11 19:04:39 UTC
Description:
Sometimes text is well ordered in tables. I like text to start at the beginning of the table, especially with a thin black lower cell-border.

When i have text with no indent in the cell and switch the lower line from unvisible to thin black, the text gets indented by 1 mm or so. This happens on both ends.

Steps to Reproduce:
1. write text in a table
2. make sure there is no padding
3. make the lower line visible black

Actual Results:  
the text gets indented by 1 mm

Expected Results:
make the lower line black, nothing else


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36
Comment 1 Frank 2018-03-11 19:05:57 UTC
Created attachment 140565 [details]
Screenshot
Comment 2 Dieter 2018-03-11 21:20:21 UTC
I confirm this with

Version: 6.1.0.0.alpha0+ (x64)
Build ID: d64ce643275e0b2b0dea9e532fc261391dc8793c
CPU threads: 4; OS: Windows 10.0; UI render: GL; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-03-01_03:24:30
Locale: de-DE (de_DE); Calc: CL


Steps to reproduce

1. write text in a table
2. make sure there is no padding
3. make the lower line visible black
4. text gets intended by 1mm on all sides
5. set cursor within the text => open table properties => padding shows 0,00cm
6. mark the whole cell => open table properties => padding shows 0,1cm

Perhaps there is a reason why there is a difference between setting a curos in the cell and mark the cell, but I dont understand it.
Comment 3 Dieter 2018-03-11 21:21:48 UTC
(In reply to Dieter Praas from comment #2)
> setting a curos
setting the cursor
Comment 4 Frank 2018-03-11 22:53:31 UTC
Thank you, at least a workaround,.
The second point is also responsible for having trouble with changing the attributes on columns. LibreOffice is at this point a bit clumsy, compared to MS-Office
Comment 5 QA Administrators 2019-03-12 03:37:56 UTC Comment hidden (obsolete)
Comment 6 Frank 2019-03-12 10:00:39 UTC
There is neither RESOLVED - FIXED nor RESOLVED - WORKSFORME, only RESOLVED.
It is, indeed. But i won't change the status at this moment.
Comment 7 Frank 2019-03-12 10:04:35 UTC
To be clear: 
the padding is no more 0,10 cm, it jumps to 0,05 instead, but i can change it to 0,00.
Comment 8 Martin Srdoš 2020-12-31 09:35:05 UTC
Reproduced in:
Version: 7.2.0.0.alpha0+ (x64)
Build ID: c0eee433e079d8e3413f4691607e075b99af92b0
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: cs-CZ (cs_CZ); UI: en-US
Calc: threaded
Comment 9 Martin Srdoš 2020-12-31 09:40:14 UTC Comment hidden (obsolete)
Comment 10 Martin Srdoš 2020-12-31 18:40:02 UTC
This behavior starts in
LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Comment 11 Justin L 2021-03-17 13:11:53 UTC
If I understand this correctly, this will be a WONTFIX.

When I create a table without any borders, I can see that the padding in the table border properties is zero.   As soon as I introduce a border, the padding changes to 0.05 cm.

That is very intentional. When there is no border, then zero padding is what is actually happening - so that is correct. Normally, when people add a border, they won't want it touching the text, so by default a minimal padding is added by default when the borders are turned on. By default the padding is synchronized on all four sides. It is up to the user to adjust the settings from there as they see fit for their specific application.

Those are very good default settings. I'm asking UX to mark as WONTFIX if they agree. Please correct me if I have misunderstood the bug report.
Comment 12 Dieter 2021-03-17 13:52:00 UTC
(In reply to Justin L from comment #11)
> I'm asking UX to mark as WONTFIX if
> they agree. Please correct me if I have misunderstood the bug report.

cc: libreoffice-ux-advise@lists.freedesktop.org
Comment 13 Frank 2021-03-17 14:03:52 UTC
Yes, now everything is fine. I would even say it is fixed.
Comment 14 Frank 2021-03-17 14:08:14 UTC
(In reply to Frank from comment #13)
> Yes, now everything is fine. I would even say it is fixed.

No, it is not. 
Of course, if i would add a border, where there was none, text should have a distance from that border.
The thing is, if i put the border UNDER the text, it would not need a distance ON THE LEFT.
Libre Office is able to define the padding on all 4 sides, but changes them all at once.
Comment 15 Frank 2021-03-17 14:08:44 UTC Comment hidden (obsolete)
Comment 16 Heiko Tietze 2021-03-19 10:13:19 UTC
Table > Insert > "Default Table Style" uses 0.10 cm padding. But neither "None" or the toolbar widget has such padding defined (and comes with no border). The dialog offers a couple of table styles. Likewise the Stylist does but has no UI yet, see bug 105933.
The paragraph style "Table Contents" has no spacing/indentation defined.

This sounds like good default settings to me.