Bug 143518 - FILESAVE: DOC -> DOCX: Numbers in numbering list change their size after RT
Summary: FILESAVE: DOC -> DOCX: Numbers in numbering list change their size after RT
Status: RESOLVED DUPLICATE of bug 150613
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:doc, regression
Depends on:
Blocks: DOC-Lists-Direct-Formatting
  Show dependency treegraph
 
Reported: 2021-07-23 17:30 UTC by Xisco Faulí
Modified: 2022-10-01 01:08 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Comparison before and after RT (18.96 KB, image/png)
2021-07-23 17:30 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2021-07-23 17:30:43 UTC
Created attachment 173810 [details]
Comparison before  and after RT

Steps to reproduce:
1. Open attachment 46882 [details] from bug 36035
2. Save it as DOCX
3. Open the new generated file

-> Number 1 in the first list and number 2 in the second list change their size. See comparison image

Reproduced in

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: c6695a4aabeaae99174b7658f2b813788ecff7f0
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

[Bug found by office-interoperability-tools]
Comment 1 Xisco Faulí 2021-07-23 17:31:40 UTC
Regression introduced by:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=343d4d32f00053bd72cfe240125835fe25ce264f

author	Justin Luth <justin.luth@collabora.com>	2021-03-11 08:41:53 +0200
committer	Michael Stahl <michael.stahl@allotropia.de>	2021-06-14 10:57:47 +0200
commit 343d4d32f00053bd72cfe240125835fe25ce264f (patch)
tree 1a97ba687c5715a49b958352c80e4559c5cf56d9
parent 859978445daeb848d033f64736709503ec44a7bb (diff)
tdf#108518 revert OOo hack: Fix issue #i119405: Numbering text style

Bisected with: bibisect-linux64-7.3

Adding Cc: to Justin Luth
Comment 2 Justin L 2021-07-26 08:26:49 UTC
For those two small lines, LO is not exporting a CR size
<w:pPr>
  <w:pStyle w:val="Style15"/>
  <w:numPr>
    <w:ilvl w:val="0"/>
    <w:numId w:val="1"/>
  </w:numPr>
  <w:rPr>                      #missing in the small lines
    <w:sz w:val="32"/>         #missing in the small lines
    <w:szCs w:val="32"/>       #missing in the small lines
  </w:rPr>                     #missing in the small lines
</w:pPr>

So it takes the size from the paragraph style, which is size 11. (Prior to this, LO was setting "Style15" to have a size 16 - now it is undefined which is actually more accurate.)

The display is actually correct - Word 2016 looks the same (in both cases). So as the subject says, this is a filesave issue. It has exposed the difficulty of LO not actually having a CR on which to attach properties.
Comment 3 Justin L 2022-08-17 23:14:08 UTC
If the .doc file is round-tripped once as .DOC, then after that it will export to .DOCX ok.
Comment 4 Justin L 2022-10-01 01:08:35 UTC

*** This bug has been marked as a duplicate of bug 150613 ***