Bug 124345 - FILESAVE DOCX Line break lost after tab and non-breaking hyphen when the document is saved as DOCX
Summary: FILESAVE DOCX Line break lost after tab and non-breaking hyphen when the docu...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:6.3.0
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-27 10:09 UTC by NISZ LibreOffice Team
Modified: 2019-03-27 12:22 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
The original file (9.77 KB, application/vnd.oasis.opendocument.text)
2019-03-27 10:10 UTC, NISZ LibreOffice Team
Details
The file exported as DOCX (13.98 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-03-27 10:11 UTC, NISZ LibreOffice Team
Details
A screenshot showcasing the issue (61.87 KB, image/png)
2019-03-27 10:14 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2019-03-27 10:09:15 UTC
Description:
Line breaks after tabs and non-breaking hyphens are not preserved when the document is saved as DOCX in LibreOffice Writer

Steps to Reproduce:
    1. Create a new document in LibreOffice Writer
    2. Type in some text, insert a tab and press Shift+Enter to insert a line break
    3. Type in some text, insert a non-breaking hyphen by pressing Ctrl+Shift+– (minus) and then insert a line break by pressing Shift+Enter
    4. Type in some more text
    5. Save the file as DOCX then reload it by clicking on File > Reload

Actual Results:
The line breaks are lost.

Expected Results:
The line breaks should be preserved.


Reproducible: Always


User Profile Reset: No



Additional Info:
LibreOffice details:
Version: 6.3.0.0.alpha0+
Build ID: ade1df0948563b532a5d293c31d46a4f042559ee
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win;
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: threaded
Comment 1 NISZ LibreOffice Team 2019-03-27 10:10:35 UTC
Created attachment 150300 [details]
The original file
Comment 2 NISZ LibreOffice Team 2019-03-27 10:11:02 UTC
Created attachment 150301 [details]
The file exported as DOCX
Comment 3 NISZ LibreOffice Team 2019-03-27 10:14:32 UTC
Created attachment 150302 [details]
A screenshot showcasing the issue
Comment 4 Gabor Kelemen (allotropia) 2019-03-27 10:30:57 UTC
This was fixed in:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=15e9e6d12aa2d49e114ec0cf8326f2264ccf2640

but due to yesterdays Bugzilla outage the original bug referenced in the commit was lost.