Description: tabA.odt. BeforeText=0.25 in; tabStop @1.0. Format>Paragraph>Tabs; change BeforeText to 0.5, click OK; tabStop changes to 1.25. Add tabStop @ 2.0; it appears 2.0 in from the leftMargin. Since tabStops are defined with-respect-to the leftMargin (which seems logical), why did the 1st tabStop change with the BeforeText? Steps to Reproduce: 1.open tabA.odt 2.change BeforeText to 0.5 3. Actual Results: tabStop changes to 1.25 Expected Results: tabStop (defined with-respect-to the leftMargin) should not change Reproducible: Always User Profile Reset: No Additional Info: Version: 7.4.2.3 (x64) / LibreOffice Community Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf CPU threads: 4; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win Locale: en-CA (en_CA); UI: en-US Calc: CL
Created attachment 183822 [details] file with tabStops
(In reply to TorrAB from comment #0) > Since tabStops are defined > with-respect-to the leftMargin (which seems logical), why did the 1st > tabStop change with the BeforeText? But if they are defined to text indent (which is also logical for me), it's the expected behaviour and not a bug. Perhaps, help is not helpful in this case: https://help.libreoffice.org/7.4/en-GB/text/shared/guide/tabs.html?&DbPAR=WRITER&System=WIN Heiko, I'm sure, you know the answer. cc: Heiko Tietze
(In reply to Dieter from comment #2) > (In reply to TorrAB from comment #0) > > Since tabStops are defined > > with-respect-to the leftMargin (which seems logical), why did the 1st > > tabStop change with the BeforeText? > > But if they are defined to text indent (which is also logical for me), it's > the expected behaviour and not a bug. But the 2nd tabStop, defined at 2.0 in, appears 2.0 in from the leftMargin, not 2.0 in from the indent. Try to add a 3rd tabStop.
(In reply to TorrAB from comment #3) > But the 2nd tabStop, defined at 2.0 in, appears 2.0 in from the leftMargin, > not 2.0 in from the indent. You're right, sorry. Tab position is measured from text margin. But I still won't assess current behaviur a bug, because it retains current layout in a better way than if tab doesn't move. But again, let's wait for Heiko's opinion.
The tab stop position seems to be somehow bound to the indentation. In the example 2.56cm tab stop and 0.64cm indentation - changing the indentation affects the tab stop. We decided in bug 150848 to accept the convenience feature that no tabstop makes a tab as wide as the indentation is defined. This might be somehow related. Miklos, Mike: Any idea here?
This is a Writer vs Word difference, see https://bz.apache.org/ooo/show_bug.cgi?id=24363. Tabs are positioned relative to the left indent in Writer but not in Word. If you want to change this, probably you can change what is the value of the compat flag for new documents.
In ODF 1.4 there will be a new attribute for the default paragraph style instead of the TabsRelativeToIndent setting. The problem of tab stops being relative to right edge of paragraph margin was earlier reported in but 82234. So this is likely duplicate. The request for having a UI for the setting is in bug 76005.
(In reply to Regina Henschel from comment #7) > The problem of tab stops being relative to right edge of paragraph margin > was earlier reported in but 82234. So this is likely duplicate. So let's mark it as duplicate. TorrAB, feel free to change it back wirh a shorts reasoning, if you disagree *** This bug has been marked as a duplicate of bug 82234 ***