Bug 124368 - FILEOPEN DOCX Style of deleted paragraph changes
Summary: FILEOPEN DOCX Style of deleted paragraph changes
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected
Depends on:
Blocks: DOCX-Track-Changes
  Show dependency treegraph
 
Reported: 2019-03-27 15:52 UTC by NISZ LibreOffice Team
Modified: 2019-08-28 09:42 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Test file (31.46 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-03-27 15:55 UTC, NISZ LibreOffice Team
Details
Screenshot (116.18 KB, image/png)
2019-03-27 15:55 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2019-03-27 15:52:37 UTC
Description:
Style of deleted paragraph in DOCX documents created with Microsoft Word changes when the document is opened in LibreOffice Writer 6.3.0.0.alpha0+.

Steps to Reproduce:
    1. Open the attached DOCX file in LibreOffice Writer.
    2. Open a copy in Microsoft Word.
    3. Compare the original file opened in Writer and Word.
    4. View the attached screenshot.
    5. Notice, that style of deleted paragraph changes.

Actual Results:
Style of deleted paragraph changes to “Szöveg” when the document is opened in LibreOffice Writer 6.3.0.0.alpha0+.

Expected Results:
Style of deleted paragraph should be “Default Style” as the original file when the document is opened in Microsoft Word 2010.


Reproducible: Always


User Profile Reset: No



Additional Info:
LibreOffice details:
Version: 6.3.0.0.alpha0+
Build ID: ade1df0948563b532a5d293c31d46a4f042559ee
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: threaded

Bibisect log:
# bad: [f7c1838d18d55ceb798a86680ce8a2e9b083f3ef] source ade1df0948563b532a5d293c31d46a4f042559ee
# good: [ea94942caaf195b8d8b2d5c2abb523359ab390e7] source a20a2d7e0d28658f2d9089da076961a599833a28
git bisect start 'origin/master' 'oldest'
# good: [bdc1d1813ab88aba96b72536898293ae576016e6] source 1bf68dbf53f4b5308e295058226abd6d6fb49c3d
git bisect good bdc1d1813ab88aba96b72536898293ae576016e6
# good: [ddd5d7fc335077df25fb027ab9211c3917933b68] source 358b8a451f502d53e01e6b1dc6afa24ee9c5e8bc
git bisect good ddd5d7fc335077df25fb027ab9211c3917933b68
# good: [dcf9e91fc6ab11a4a89e77fd30721b5c624cdc12] source cddf072a62208d2514f97ba5c0d3577d7d88b8de
git bisect good dcf9e91fc6ab11a4a89e77fd30721b5c624cdc12
# bad: [51edcab8dbde45ed436f04ea2aa725e808488e1a] source 33a3d806ff065c302283e4d7db522762eda428f8
git bisect bad 51edcab8dbde45ed436f04ea2aa725e808488e1a
# good: [94a56eb839b878aaa6b36e3eb1ade469efa297d4] source 3ae8b9301fa817968f3115639bc8a5f2170d179e
git bisect good 94a56eb839b878aaa6b36e3eb1ade469efa297d4
# bad: [5d73cc7897b1ac1bdc4116aa41e58afb0f6700f4] source b636d57e8f6d98887b1cd11449dd9580beb7b604
git bisect bad 5d73cc7897b1ac1bdc4116aa41e58afb0f6700f4
# bad: [c13086631fde77ea836696ea4e689d0ebb7e8fe9] source 4c4ccdf724dedebce23cc9abd7b74bee43f184d7
git bisect bad c13086631fde77ea836696ea4e689d0ebb7e8fe9
# good: [63ed709112ae91ab03b5210c012985c52f34a5a2] source 96d0cf0d7bccfea0b9d867cf00a17c7a2409aa87
git bisect good 63ed709112ae91ab03b5210c012985c52f34a5a2
# bad: [f31ec1924a31dd200483c8ee21efab27f39d2a59] source a7bdd3eeb875350059b684df91e4900ba0886660
git bisect bad f31ec1924a31dd200483c8ee21efab27f39d2a59
# bad: [892ce41f849053d8bcb992b6fa1b983bed88ffdb] source 768fe3967da6a8e51a4040f1cfb6cb6055d6010f
git bisect bad 892ce41f849053d8bcb992b6fa1b983bed88ffdb
# good: [bffd7e4c6d9dd45a8c0fab17a193c4e43b9099af] source c31e7723915a20e45698d8288816288ce9104af8
git bisect good bffd7e4c6d9dd45a8c0fab17a193c4e43b9099af
# bad: [0dce5b8be60af049635e633f3ccf4753413e2baf] source b3265d6e11200a55a068902e2d78c2de374e973b
git bisect bad 0dce5b8be60af049635e633f3ccf4753413e2baf
# first bad commit: [0dce5b8be60af049635e633f3ccf4753413e2baf] source b3265d6e11200a55a068902e2d78c2de374e973b
Comment 1 NISZ LibreOffice Team 2019-03-27 15:55:07 UTC
Created attachment 150323 [details]
Test file
Comment 2 NISZ LibreOffice Team 2019-03-27 15:55:44 UTC
Created attachment 150324 [details]
Screenshot
Comment 3 NISZ LibreOffice Team 2019-03-27 15:56:17 UTC
Adding Cc: to László Németh
Comment 4 Xisco Faulí 2019-03-27 16:13:00 UTC
i don't think this is a regression per se.
It's reproduced in old versions of LibreOffice. E.g

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4

Then, it got fixed by https://cgit.freedesktop.org/libreoffice/core/commit/?id=836cbf3680afd9198abf3a64be698f8fe256dd5a ( bug 120711 ) and reintroduced while fixing bug 123054 -> https://cgit.freedesktop.org/libreoffice/core/commit/?id=b3265d6e11200a55a068902e2d78c2de374e973b
Comment 5 László Németh 2019-08-28 09:42:21 UTC
In recent master and in OOXML/MSO 2016, the correct style of the deleted empty paragraph is not the default style, but "Szöveg".

Verify the actual paragraph style in MSO 2016: 

1. Right click on the empty paragraph.
2. Choose icon Styles.
3. Choose Apply styles (bottom menu item).

The dialog window shows the name of the paragraph style "Szöveg".

Likely it was fixed by commit 1aac73a1fb260e4c76a483a68f003913fdd2c4bb
"tdf#125990 change tracking: remove text join workaround"
(https://cgit.freedesktop.org/libreoffice/core/commit/?id=1aac73a1fb260e4c76a483a68f003913fdd2c4bb)