Bug 67869 - FORMATTING: Loss of formatting - especially in numbered lists - when IMPORTING a previously saved doc file
Summary: FORMATTING: Loss of formatting - especially in numbered lists - when IMPORTIN...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.0 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-07 13:49 UTC by Tales Tomaz
Modified: 2015-04-23 13:43 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
The second document - with only two pages - mentioned in my description. In my LibreOffice, the numbers in its second numbered list appear not in Candara (the actual font), but in Symbol. (35.50 KB, application/msword)
2013-08-07 13:49 UTC, Tales Tomaz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tales Tomaz 2013-08-07 13:49:02 UTC
Created attachment 83783 [details]
The second document - with only two pages - mentioned in my description. In my LibreOffice, the numbers in its second numbered list appear not in Candara (the actual font), but in Symbol.

Problem description: When I produce a document, create several numbered list and save the file as a .DOC, some of them can loose the formatting of the font of the numbers. For example, I made a document in Arial with several numbered lists. Then I saved it in .DOC. When I reopened the document, the numbers in many numbered lists lost the font Arial and were presented as Symbol. I've created the document properly, i.e., using correctly the styles. I even thought that was something solely related to that file, but then I've just finished another document, much more simple, with only three numbered lists within two pages, and one of them has lost its font formatting in the numbers the same way. In both documents, I try to apply again the font formatting to the numbers, it seems to be accepted, I save the document (always in .DOC) but then, when I reopen it, the same lists have lost their formatting (only in the numbers, which always come back to Symbol, instead of Arial or any other font). That happened to me in LibreOffice 4.0 and in 4.1. I couldn't yet find any pattern about which lists shall suffer this bug and which shalln't.

Steps to reproduce:
1. Create several numbered lists;
2. Apply another font to them (using Styles or directly);
3. Save the document as .DOC;
4. Reopen the document in LibreOffice.

Current behavior: Numbers in some numbered lists loose the applied font and LibreOffice says they're formatted in font Symbol.

Expected behavior: Numbers in some numbered lists keep their new font.
Operating System: Ubuntu
Version: 4.1.0.4 release
Comment 1 Mike Kaganski 2013-08-08 00:43:00 UTC
Reproducible with 3.3.0.4 - 4.1.0.4 under Win7x64.

Steps to reproduce:
1. Open attachment 83783 [details]. Put the caret right before list number in the list under section "Módulo 2:", and notice that the font is "Symbol".
2. Add a new symbol style with font other than "Symbol" (I created style named ARIAL, with font "Arial" 12 bold).
3. Notice that the list in section "Módulo 2:" has list style "WW8Num6". Edit this list style, and set its symbol style to newly created symbol style for all list levels. Check that the list nubmbers are displayed with new font.
4. Save the file, confirm saving as DOC.
5. Reopen it.

Expected result: numbers of the list are displayed using the new font.

Actual result: numbers look as before, have "Symbol" font, the list style doesn't have the symbol style set.

If this file is open using MS Word Viewer, it is displayed with the new font, so it has to be problem on import, rather than on saving.
Comment 2 QA Administrators 2015-04-01 14:40:37 UTC
** Please read this message in its entirety before responding **

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 on a currently supported version of LibreOffice (4.4.1 or later)
   https://www.libreoffice.org/download/

   *If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior
 
   *If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System

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)

http://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: http://webchat.freenode.net/?channels=libreoffice-qa

Thank you for your help!

-- The LibreOffice QA Team This NEW Message was generated on: 2015-04-01
Comment 3 Buovjaga 2015-04-22 11:52:42 UTC
(In reply to Mike Kaganski from comment #1)
> Reproducible with 3.3.0.4 - 4.1.0.4 under Win7x64.
> 
> Steps to reproduce:
> 1. Open attachment 83783 [details]. Put the caret right before list number
> in the list under section "Módulo 2:", and notice that the font is "Symbol".
> 2. Add a new symbol style with font other than "Symbol" (I created style
> named ARIAL, with font "Arial" 12 bold).
> 3. Notice that the list in section "Módulo 2:" has list style "WW8Num6".
> Edit this list style, and set its symbol style to newly created symbol style
> for all list levels. Check that the list nubmbers are displayed with new
> font.
> 4. Save the file, confirm saving as DOC.
> 5. Reopen it.
> 
> Expected result: numbers of the list are displayed using the new font.
> 
> Actual result: numbers look as before, have "Symbol" font, the list style
> doesn't have the symbol style set.

I was able to correct the list number style after change & reopen.
Modifying the list style WW8Num6, in the Options tab I changed the Character style to Símbolos de numeração. Saving and reopening showed the numbering as Candara.

I'm closing this as WFM. Feel free to open, if I'm wrong.

Win 7 Pro 64-bit Version: 5.0.0.0.alpha0+ (x64)
Build ID: 211c12b9c64facd1c12f637a5229bd6a6feb032a
TinderBox: Win-x86_64@42, Branch:master, Time: 2015-04-18_01:51:17
Locale: fi_FI
Comment 4 Mike Kaganski 2015-04-23 13:28:37 UTC
Still reproducible with Version: 4.2.2.1
Build ID: 3be8cda0bddd8e430d8cda1ebfd581265cca5a0f

Not reproducible anymore with Version: 4.2.3.1
Build ID: 3d4fc3d9dbf8f4c0aeb61498a81f91c5b7922f13

Supposedly fixed with commit 4b7d584b13a40a6e067afdacb77638b334606da2
bnc#821208 DOC import: don't overwrite WW8Num* character styles
author: Miklos Vajna

However, although character formatting is now imported correctly, character style is not preserved with numbering style: for all list levels, character style is shown empty (including Version: 5.0.0.0.alpha1+ (x64)
Build ID: 13cc2002d19c96aa3ed14ae1cf2d695f832c0f05
TinderBox: Win-x86_64@42, Branch:master, Time: 2015-04-19_23:56:28
Locale: ru_RU).

Don't know if it's possible to retain character style with DOC numbering styles.
Comment 5 Buovjaga 2015-04-23 13:43:11 UTC
(In reply to Mike Kaganski from comment #4)
> However, although character formatting is now imported correctly, character
> style is not preserved with numbering style: for all list levels, character
> style is shown empty (including Version: 5.0.0.0.alpha1+ (x64)
> Build ID: 13cc2002d19c96aa3ed14ae1cf2d695f832c0f05
> TinderBox: Win-x86_64@42, Branch:master, Time: 2015-04-19_23:56:28
> Locale: ru_RU).
> 
> Don't know if it's possible to retain character style with DOC numbering
> styles.

Thanks for testing. You could file a new report for that one. Add me to the CC and I'll confirm it.