Bug 54227 - TABLES: single decimal tab in a paragraph in a table adjust text BEFORE the tabulation
Summary: TABLES: single decimal tab in a paragraph in a table adjust text BEFORE the t...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Tables Tab-Stops
  Show dependency treegraph
 
Reported: 2012-08-29 19:52 UTC by hastokkebye
Modified: 2022-11-29 15:02 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
ODT file demonstrating problem with decimal tab in table (14.21 KB, application/vnd.oasis.opendocument.text)
2016-07-18 10:27 UTC, Lars Jødal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hastokkebye 2012-08-29 19:52:24 UTC
If a paragraph in a table has just a single decimal tab, the text BEFORE the tabulation in the text is adjusted to the left of the tab, and the text (number) AFTER the tabulation is adjusted to the right of the next standard tab.

If another tab (any kind) is added before or after the decimal tab in the paragraph, the tabulations in the text work normally/as excepted.

The phenomenon only occurs in tables.

Haven't tried it in other versions of Writer/OS.

Henning Christiansen.
Danish version of LibreOffice.
Comment 1 hastokkebye 2012-08-30 13:04:28 UTC
While testing the bug in other available LiBO versions, a new detail was found:

If the text-line DOESN'T contain a tabulator, the first number in the line will automatically be adjusted to the decimal tab, but if the line doesn't contain a number, the hole line will be adjusted to the decimal tab like is was a right tab.

Same bug in 3.5.2.2 and 3.5.4.2.
Comment 2 fmgtack+libreoffice 2014-07-12 15:04:02 UTC
As of today, in Version: 4.2.4.2 Build ID: 420m0(Build:2)  (with Ubuntu 14.04) it appears as if decimal tabs in LibreOffice are completely broken. Cells contain only numbers. It is impossible to align the numbers on the decimal. Inserting a decimal tab using the ruler bar aligns the numbers to the right, irrespective of the position of the tab.
Comment 3 fmgtack+libreoffice 2014-10-17 13:08:07 UTC
LO 4.2.6.3: same issue. Impossible to properly align numbers in table cells. Apparently, nobody uses Libreoffice anymore for preparing tables.
Comment 4 hastokkebye 2014-10-17 13:46:13 UTC
Doesn't seem anybody uses tabs in tables (except a few, like me).

I found exactly the same bug in MS Word 2013 a few weeks ago.
Has MS "copied" the bug from Open/Libre Office or vice versa to make them alike?

I fix the issue by adding a dummy tab late in the paragraph, but it is still quite irritating.
Comment 5 QA Administrators 2015-12-20 16:09:34 UTC Comment hidden (obsolete)
Comment 6 hastokkebye 2016-02-08 15:31:22 UTC
Sorry for my late response.

The same TAB problem in tables occurs in LibreOffice 3.3.4 under Win XP, so it is an old phenomenon.

Same for 5.0.3 and 5.0.4, and just adding a decimal tab in a cells ruler will change the placement of a number/text in the cell, even without any tabulation in the cell.
Comment 7 Lars Jødal 2016-07-18 10:27:29 UTC
Created attachment 126273 [details]
ODT file demonstrating problem with decimal tab in table

I also try to work with tabs in tables and have noticed this problem, which still exists in LO version 5.1.4.2. The attachment contains a simple demonstration.
Comment 8 QA Administrators 2018-06-27 02:48:56 UTC Comment hidden (obsolete)
Comment 9 Lars Jødal 2018-06-27 06:45:53 UTC
The problem remains in LO 6.0.5.2, and also in LO 6.1.0.0.beta1. Tested with the file in attachment 126273 [details], and also with newly created tables.

Summing up:
If a decimal tab is set in a table cell, then the table is adjusted according to that decimal tab WITHOUT the user inserting a tab.
However, if the same cell contains another tab, then the bug is not present.
Comment 10 QA Administrators 2019-06-28 02:58:58 UTC Comment hidden (obsolete)
Comment 11 Lars Jødal 2019-07-03 07:59:01 UTC
The bug is still present in LO 6.2.4.2 and in the newest beta release 6.3.0.0.beta2

Version: 6.2.4.2 (x64)
Build ID: 2412653d852ce75f65fbfa83fb7e7b669a126d64
CPU tråde: 4; Styresystem: Windows 10.0; Gengiver af brugergrænseflade: GL; VCL: win; 
Lokalisering: da-DK (da_DK); Sprog for brugergrænseflade: da-DK
Calc: threaded

Version: 6.3.0.0.beta2 (x64)
Build ID: 6c6edded7133daf2d8d0b2ea7ae25b8109c5c064
CPU tråde: 4; Styresystem: Windows 10.0; Gengiver af brugergrænseflade: Standard; VCL: win; 
Lokalisering: da-DK (da_DK); UI-Language: da-DK
Calc: threaded
Comment 12 QA Administrators 2021-07-03 04:03:38 UTC Comment hidden (obsolete)
Comment 13 Lars Jødal 2021-07-06 06:56:42 UTC
The bug is still present in LO 7.1.4.2. Tested both with attachment 126273 [details] and with a newly created document. As before:
If the decimal tab is the only tab in the table cell (individual cell or e.g. whole column), then text is written as if started with a tab. If a second tab position is added (whether decimal tab or other tab), the text is written from cell beginning, as expected. The bug is only with decimal tab, not with left, right, or center tab.

Version: 7.1.4.2 (x64) / LibreOffice Community
Build ID: a529a4fab45b75fefc5b6226684193eb000654f6
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: da-DK (da_DK); UI: da-DK
Calc: threaded