Bug 48828 - FORMATTING: Font size incorrect in certain styles in .doc files since 3.5.0 - shows correct in LO 3.4.x and Winword
Summary: FORMATTING: Font size incorrect in certain styles in .doc files since 3.5.0 -...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.2 release
Hardware: All All
: high major
Assignee: Not Assigned
URL:
Whiteboard: bibisected35 bibisected35older
Keywords: regression
Depends on:
Blocks: mab3.5
  Show dependency treegraph
 
Reported: 2012-04-17 10:19 UTC by frank
Modified: 2013-02-12 18:55 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
File for reproducing the problematic behavior (29.50 KB, application/msword)
2012-04-17 10:19 UTC, frank
Details
Test file with a second (full english) testing paragraph (17.00 KB, application/msword)
2012-08-21 18:51 UTC, frank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description frank 2012-04-17 10:19:42 UTC
Created attachment 60188 [details]
File for reproducing the problematic behavior

Under certain (not known) conditions, the font size in parts of paragraphs is incorrect in LO Versions 3.5.0 to 3.5.2. 

Opening the same file in Winword and LO 3.4.x shows correct font size on the English text.

I have marked this one with a severity of major, because if such a file is opened with LO 3.5 and then saved, a user may lose formatting of his/her content.


HOW TO REPRODUCE:

1) Open the attached file in any LO up to 3.5.2 and check the font type and size over the English text. It says Arial 11.

2) Now open the same file in LO 3.4.x or Winword and the same English Text is correctly shown as Arial 12.
Comment 1 frank 2012-04-19 03:20:54 UTC
Correction (and marking as critical bug) to the first description:

If such a file is opened in LO 3.5, worked on and saved, the user "WILL" lose correct formatting of the document. This came up in an environment where multiple users are working on the same document and we upgraded some to LO 3.5. There we also spot that LO 3.4 and Winword were correctly working with the file.
Comment 2 Johnny 2012-04-20 20:24:07 UTC
I am able to reproduce this issue on OpenOffice 3.3
Comment 3 Johnny 2012-04-20 21:05:05 UTC
Without modifying the .doc, I am also seeing the font size of 11 on LibO 3.5, and font size of 12 on LibO 3.4.
Comment 4 frank 2012-06-23 05:33:33 UTC
Hello, has there been any progress on this bug?
Comment 5 frank 2012-08-21 15:34:01 UTC
This was still an issue in 3.5.5. I skipped 3.5.6 and went for 3.6 but the issue is still there.
Any news on this matter?
Comment 6 Roman Eisele 2012-08-21 16:18:14 UTC
An interesting thing:

at the beginning of each body text paragraph, there is a single Greek word (Του and Των resp.), in Arial like the English text. The Greek words are in 12pt, even when I view the document with LibreOffice 3.5.6.2 and 3.6.1.1, while the English text is in 11pt.

Could this give us a clue about the origin of the problem?


REPRODUCIBLE also on MacOS X:
* LibreOffice 3.4.0:   Main (English) text 12pt
* LibreOffice 3.4.6:   Main (English) text 12pt
* LibreOffice 3.5.6.2: Main (English) text 11pt
* LibreOffice 3.6.1.1: Main (English) text 11pt
* cf. Apache OOo 3.4:  Main (English) text 12pt

=> Regression in 3.5.x, therefore added "regression" keyword.

=> Reproducible not only on Windows, therefore changed Platform to "All".

I'm sorry but I don’t think we should regard this as a "critical" bug (no crash, no big (!) data loss, “only” formatting changed, no flying saucers ;-), so I lower the importance a bit to "major". No offence! This does not mean that this bug is not important -- we need to get it fixed, of course --, it just means that there are even more critical bugs.


I hope this is reproducible on Linux, too -- could someone who uses Linux please bibisect this issue? This would help our developers much to fix this issue. <http://wiki.documentfoundation.org/Bibisect>
Comment 7 frank 2012-08-21 18:51:47 UTC
Created attachment 65907 [details]
Test file with a second (full english) testing paragraph
Comment 8 frank 2012-08-21 18:52:13 UTC
Roman,
agreed, no flying saucers :D

However it's annoying to have to fix documents which got corrupted this way....

After you mentioned the two paragraphs starting with Greek words I installed 3.4.6 on a Virtual Machine and opened the initial test.doc of this report again.

I made a copy of the centered Testing header and the paragraph itself, and removed the first Greek word, so we now begin with an English letter.

I am attaching the outcome as test2.doc for further testing.

The strange thing that you'll also see, is that the "Testing" paragraph now is correctly Size 12.
The new "Testing2" paragraph which starts with an English letter is Size 11, except the first letter. The first letter is the result of replacing the small 't' with a capital "T". This letter is actually size 12.
Comment 9 Roman Eisele 2012-08-23 12:39:34 UTC
(In reply to comment #8)
> However it's annoying to have to fix documents which got corrupted this way....

I completely agree, and agree that this problem needs to get fixed; as I said, "it just means that there are even more critical bugs."

> The strange thing that you'll also see, is that the "Testing" paragraph now is
> correctly Size 12.

Really strange -- because this paragraph was not changed at all, right?

> The new "Testing2" paragraph which starts with an English letter is Size 11,
> except the first letter. The first letter is the result of replacing the small
> 't' with a capital "T". This letter is actually size 12.

And (just to be sure) this letter is really the Latin capital letter 'T', not a Greek capital letter Tau ('Τ') anymore (I have examinated the file contents with an text editor).


Well, I am not sure what we (QA volunteers( can do more about this bug. It is still a bit mysterious, and I would like to track it down more, but I don’t know what to do. So we can just CC the developers about it and see if someone finds time to investigate further into this issue ...
Comment 10 Roman Eisele 2012-08-23 12:48:08 UTC
Or wait a minute -- it is a regression, therefore bibisecting the issue would help the developers a lot to track down this issue. Unfortunately, I can’t do this (bibisecting works best/only on Linux), but maybe someone else can help?
Comment 11 Yi Ding 2012-09-01 15:51:32 UTC
Unfortunately this issue is not bibisectable because it looks like even the oldest version of libreoffice in the bibisect repository (source-hash-d6cde02dbce8c28c6af836e2dc1120f8a6ef9932) has this issue.

For future reference, you can always download a VM instance for bibisect on the wiki.
Comment 12 Roman Eisele 2012-09-01 16:39:26 UTC
(In reply to comment #11)
> Unfortunately this issue is not bibisectable because it looks like even the
> oldest version of libreoffice in the bibisect repository
> (source-hash-d6cde02dbce8c28c6af836e2dc1120f8a6ef9932) has this issue.

Added Whiteboard comments according to this information.
Comment 13 Joel Madero 2012-09-24 22:12:26 UTC
adding myself as QA person so that I can query this one out. Going to try to find someone to tackle this
Comment 14 Yi Ding 2013-01-08 16:41:30 UTC
I'm testing on 3.6.4.3 and 3.7beta2 and it looks like the bug may have been fixed?  Can someone verify one way or another?
Comment 15 frank 2013-01-14 13:41:01 UTC
Hi, 
it seems to be fixed. 
Thanks! :)

Do we know exactly what fixed it, as it seems to be fixed magically... as magically as it broke. (Just want to be sure it does not break again... ;) )
Comment 16 Joel Madero 2013-02-12 18:55:58 UTC
Marking as RESOLVED - WORKSFORME as we don't know what exactly fixed the issue.


Thanks all