Bug 81504 - Roundtripping content in SDT block result in all data in same paragraph
Summary: Roundtripping content in SDT block result in all data in same paragraph
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) Master
Hardware: Other All
: medium critical
Assignee: Not Assigned
Depends on:
Blocks: DOCX
  Show dependency treegraph
Reported: 2014-07-18 17:33 UTC by Jorendc
Modified: 2020-02-15 17:48 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

How roundtripped file looks like in Word for Mac 2011 (135.53 KB, image/png)
2014-07-18 17:33 UTC, Jorendc
Roundtripped docx (12.32 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2014-07-18 17:47 UTC, Jorendc
how it looks in word 2013 (34.67 KB, image/png)
2014-07-18 17:56 UTC, Yousuf Philips (jay) (retired)

Note You need to log in before you can comment on or make changes to this bug.
Description Jorendc 2014-07-18 17:33:51 UTC
Created attachment 103054 [details]
How roundtripped file looks like in Word for Mac 2011

During retesting bug 79313 (thanks to Miklos' recent work about SDT blocks) I found following issue:

* Download attachment 99947 [details]
* Open it using LibreOffice alpha
* File > Save as .docx
* Open it using Word

Behavior: see attached screenshot, only the first paragraph in the SDT block is preserved.

Tested using Mac OSX 10.9 with LibreOffice Version:
Build ID: eddd7646d672ea9b0561dacb09da224d098e531e
TinderBox: MacOSX-x86@49-TDF, Branch:master, Time: 2014-07-18_06:13:47
Comment 1 Jorendc 2014-07-18 17:35:10 UTC
@Miklos: thanks for your recent work on the SDT blocks. I thought this bug might be relevant to your SDT-work.

Kind regards,
Comment 2 Jorendc 2014-07-18 17:47:05 UTC
Created attachment 103057 [details]
Roundtripped docx
Comment 3 Yousuf Philips (jay) (retired) 2014-07-18 17:56:08 UTC
Created attachment 103058 [details]
how it looks in word 2013
Comment 4 Yousuf Philips (jay) (retired) 2014-07-18 17:57:02 UTC
Confirmed that attachment 103057 [details] opens in word 2013 as my screenshot.
Comment 5 Jorendc 2015-01-10 19:29:24 UTC
Still reproducible using 
Build ID: a3603970151a6ae2596acd62b70112f4d376b990
Locale: nl_BE

No dataloss anymore, but it do place all text on 1 single line and without any space. (losing the paragraph split)

Kind regards,
Comment 6 Jorendc 2015-04-29 17:23:53 UTC
Still reproducible using Version: (x64)
Build ID: f3375fa07f27bd2ade519af3c07d69040d10eaa9
TinderBox: Win-x86_64@42, Branch:master, Time: 2015-04-22_23:38:50
Locale: nl_BE

Kind regards,
Comment 7 QA Administrators 2016-09-20 09:36:42 UTC Comment hidden (obsolete)
Comment 8 Thomas Lendo 2018-10-15 09:17:45 UTC
Can't reproduce but another one should check.

Version: (x64)
Build ID: 425af6845ebe066c950b0b63f50563e067485f3e
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-10-09_23:30:22
Locale: de-AT (de_AT); Calc: CL
Comment 9 eisa01 2018-12-09 18:49:00 UTC
I can reproduce it. Looks fine when it's opened in Mac Word, but immediately the three paragraphs collapse to one line, and the middle seem to disappear

Build ID: beae6c7a7f163daad0d4dea63a3d403af2745fd1
CPU threads: 2; OS: Mac OS X 10.13.6; UI render: default; VCL: osx; 
TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2018-12-06_23:52:29
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 10 QA Administrators 2019-12-10 04:05:57 UTC Comment hidden (obsolete)
Comment 11 eisa01 2020-02-15 17:48:17 UTC
Still same behavior

Build ID: 0cb4f304abf6f8dd6b40eb800788d2fe80581813
CPU threads: 4; OS: Mac OS X 10.14.6; UI render: default; VCL: osx; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded