Bug 87036 - Adding Index entries breaks formatting of lists and styles
Summary: Adding Index entries breaks formatting of lists and styles
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version: 3.5.0 release
Hardware: x86 (IA32) Linux (All)
: medium minor
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2014-12-05 15:28 UTC by bugzilla
Modified: 2015-01-12 15:50 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Sample of Writer document affected by the bug (54.50 KB, application/msword)
2014-12-05 15:28 UTC, bugzilla
Details

Description bugzilla 2014-12-05 15:28:58 UTC
Created attachment 110492 [details]
Sample of Writer document affected by the bug

I have a Writer document that includes various Styles (e.g. Heading 1, Heading 2, Text Body, etc.) including numbered lists.

When I save the file, close it, and re-open it for further editing, two things happen if I have select the first word(s) of any paragraph to create an Index Entry:

-- the preceding paragraph-break is lost, so the second paragraph joins the end of the preceding one, and loses whatever Style it had

-- the Index Entry itself is lost

If I create Index entries in the middle of a paragraph, I do not suffer these unwanted effects, but they happen consistently when I create and index entry at the beginning of any paragraph.

I attach a part of a file to anyone who would like to examine it.
Comment 1 bugzilla 2014-12-05 17:38:42 UTC
Adolfo Jayme changed the attachment type from "text/plain" to "application/msword"

This made me realise that perhaps the bug is due to the way Writer saves documents in Word format.

Sure enough, if I save the file as .odt instead of .doc, I do not experience the problems I was having before.

I can use .odt for my own editing from now on, but I will still need to be able to save it as a bug-free .doc when I submit it to other readers and my publisher.
Comment 2 Jean-Baptiste Faure 2014-12-06 18:10:51 UTC
What happens if you export your .odt document in ooxml (.docx) format?

Set status to NEEDINFO. Please set it back to UNCONFIRMED once you have provided requested informations. Thank you for your understanding.

Best regards. JBF
Comment 3 bugzilla 2014-12-07 09:36:35 UTC
I did as JBF suggested, and when I re-opened the file I did not experience the same problems, so thank you, JBF, for that suggestion.

So, although the original bug remains, I now have a satisfactory work-around. Thank you.
Comment 4 Beluga 2014-12-16 14:14:11 UTC
I reproduced -> NEW.

Lowering severity per https://wiki.documentfoundation.org/images/0/06/Prioritizing_Bugs_Flowchart.jpg

Win 7 64-bit Version: 4.5.0.0.alpha0+
Build ID: 170616e9f2d30c1302bbb5a7a4b588bc05cd5cc9
TinderBox: Win-x86@39, Branch:master, Time: 2014-12-12_01:58:46
Comment 5 Beluga 2015-01-12 15:50:15 UTC
Not present in 3.3.0, but already present in 3.5.0.

Ubuntu 14.10 64-bit
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4

LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.