Bug 87036 - Adding Index entries breaks formatting of lists and styles
Summary: Adding Index entries breaks formatting of lists and styles
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: x86 (IA32) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:doc, preBibisect, regression
Depends on:
Blocks: DOC-TableofContents
  Show dependency treegraph
 
Reported: 2014-12-05 15:28 UTC by bugzilla
Modified: 2020-04-24 11:03 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


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

Note You need to log in before you can comment on or make changes to this bug.
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 Buovjaga 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 Buovjaga 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
Comment 6 Matthew Francis 2015-01-25 14:26:23 UTC
Adding Whiteboard:bibisectRequest

(it's just possible that this is within the range of the 43all repository - if not, please replace the Whiteboard entry with preBibisect)
Comment 7 Matthew Francis 2015-02-16 14:35:54 UTC
This is preBibisect after all.

It does however also work in 3.4.6.2
Comment 8 Robinson Tryon (qubit) 2015-12-14 05:40:08 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2017-01-03 19:46:55 UTC Comment hidden (obsolete, spam)
Comment 10 Justin L 2020-04-24 11:03:52 UTC
Untouched for 6 years, OP is satisfied with workaround, unclear steps to reproduce (I have no idea what an index entry should do), nobody in CC or duplicates = WONTFIX