Bug 96321 - FORMATTING: in imported doc or docx, rendered underlines lines (top/bottom border) do not appear evenly spaced
Summary: FORMATTING: in imported doc or docx, rendered underlines lines (top/bottom bo...
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:
: 48032 (view as bug list)
Depends on:
Blocks: DOC DOCX-Character
  Show dependency treegraph
 
Reported: 2015-12-07 18:13 UTC by Marco Ciampa
Modified: 2023-07-20 03:17 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
File that shows the problem (8.62 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2015-12-07 18:13 UTC, Marco Ciampa
Details
The example file in Word and current Writer (65.72 KB, image/png)
2021-07-19 13:38 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Ciampa 2015-12-07 18:13:30 UTC
Created attachment 121116 [details]
File that shows the problem

When importing doc or docx rendering underlines lines these do not appear evenly spaced. It seems related to bug #87805.
If I import a docx file (a high school test) with some evenly spaced underlined lines, these appear not evenly spaced. If I write this file with LibO Writer in doc or docx format, Word renders and prints it correctly. Even if I read it from odt and save it subsequently in doc or docx Words continue to render & print it correctly but Writer not.

Example file attached.
Comment 1 Buovjaga 2015-12-10 09:39:02 UTC
It seems to be because the direct formatting of the line, paragraph line spacing is 1.5.
Maybe unrelated, but different zoom levels show a boldening effect on some lines (it varies).

I tried reproducing from scratch, did several lines and made them have 1.5 line spacing. A docx save made all the lines disappear except the last one.

Win 7 Pro 64-bit, Version: 5.0.3.2 (x64)
Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75
Locale: fi-FI (fi_FI)
Comment 2 QA Administrators 2018-06-26 02:44:25 UTC Comment hidden (obsolete)
Comment 3 Marco Ciampa 2018-06-26 06:18:12 UTC
The bug is still present in LibO 6.0.5...
Comment 4 QA Administrators 2019-06-27 02:53:03 UTC Comment hidden (obsolete)
Comment 5 Marco Ciampa 2019-06-27 06:01:24 UTC
The bug is still present in LibO 6.2.4.2 ...
Comment 6 Justin L 2021-04-14 11:42:22 UTC
repro 7.2+
The same thing is reproducible by creating a new document. So it is not particularly related to DOC/DOCX, although it does show an interoperability problem.

All of the lines are 1.5 spaced. Every other line is set to show top/bottom borders. The borders in LO follow the character top/bottom, not the spacing top/bottom.  Apparently Word does things the other way.

So this is a layout issue, which would need a compatibility flag to handle some formats in a different way than another.
Comment 7 Justin L 2021-04-14 13:05:36 UTC
*** Bug 48032 has been marked as a duplicate of this bug. ***
Comment 8 NISZ LibreOffice Team 2021-07-19 13:38:50 UTC
Created attachment 173674 [details]
The example file in Word and current Writer

Still a problem in:

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: da13b76e07231131cb951868a314ee6f51c0f254
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL
Comment 9 QA Administrators 2023-07-20 03:17:43 UTC
Dear Marco Ciampa,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug