Bug 153197 - FILEOPEN RTF Paragraph style tabulator deleted by DF is not removed
Summary: FILEOPEN RTF Paragraph style tabulator deleted by DF is not removed
Status: RESOLVED FIXED
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:
Depends on:
Blocks: RTF-Paragraph
  Show dependency treegraph
 
Reported: 2023-01-25 01:18 UTC by Gabor Kelemen (allotropia)
Modified: 2023-11-29 13:20 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Word (deleted)
2023-01-25 01:18 UTC, Gabor Kelemen (allotropia)
Details
The example file in Word 2016 and Writer (129.72 KB, image/png)
2023-01-25 01:18 UTC, Gabor Kelemen (allotropia)
Details
Updated example file (41.90 KB, application/rtf)
2023-11-28 14:14 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2023-01-25 01:18:40 UTC
Created attachment 184897 [details]
Example file from Word

Attached example RTF file has tabulators set in the paragraph style at 8 and 16 cm.
In the paragraphs of the document these are removed by direct formatting.
In Writer the tabulators are still visible, changing document layout a bit.

1. Open attached document

Observe the right side of the paragraphs is aligned to the tabulator at 8 cm, instead of just the default tab distance.

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f1830bff71847a9c17715cff52383956719847fe
CPU threads: 14; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: de-DE (hu_HU); UI: en-US
Calc: threaded

and all the way back to 3.5
Comment 1 Gabor Kelemen (allotropia) 2023-01-25 01:18:57 UTC
Created attachment 184898 [details]
The example file in Word 2016 and Writer
Comment 2 Stéphane Guillou (stragu) 2023-01-25 22:29:51 UTC
Reproduced in:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e125e6623fa1c0f39d927bb37547ca6d1e299cb1
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

The 1.25 cm tab stops set in Paragraph > Tabs in MS Word are lost, revert back to the style's 8 and 16 cm tabs.

No need to create file in Word, can also modify the paragraph's tabs in direct formatting, save as RTF and reload.

Checked in:
Microsoft® Word for Microsoft 365 MSO (Version 2212 Build 16.0.15928.20196) 64-bit 

Gabor, is this really different to your earlier bug 147078?
Comment 3 Gabor Kelemen (allotropia) 2023-11-07 14:10:23 UTC
(In reply to Stéphane Guillou (stragu) from comment #2)
> Gabor, is this really different to your earlier bug 147078?

For the record: yes, this is for the opening side of the same topic, that one is for the saving side.
Comment 4 Gabor Kelemen (allotropia) 2023-11-12 20:16:15 UTC
Verified in

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 50add2043752c7b07beccef9a509bea6c09619f8
CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: threaded

No extra tabs are now imported, after 

https://git.libreoffice.org/core/commit/fce18155052821756466ea043c638f4ed72f41d6

tdf#158044 handling of paragraph attributes in RTF import
Comment 5 Gabor Kelemen (allotropia) 2023-11-28 14:14:20 UTC
Created attachment 191096 [details]
Updated example file
Comment 6 Xisco Faulí 2023-11-29 13:20:51 UTC
The content of attachment 184897 [details] has been deleted for the following reason:

User's request