Bug 112811 - FILESAVE: DOCX - Dots separator in index not fully preserved
Summary: FILESAVE: DOCX - Dots separator in index not fully preserved
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected
Depends on:
Blocks: DOCX-TableofContents
  Show dependency treegraph
 
Reported: 2017-10-02 09:40 UTC by Yousuf Philips (jay) (retired)
Modified: 2023-02-15 22:15 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2017-10-02 09:40:45 UTC
Steps:
1. open attachment 86189 [details] in MS Word
2. scroll to page 3
3. right-click on index and click 'Update Field' and select 'Update page numbers only'
4. nothing changes
5. open attachment 86189 [details] in Writer
6. save as .docx
7. open LO saved .docx in MS Word
8. scroll to page 3
9. right-click on index and click 'Update Field' and select 'Update page numbers only'
10. notice that the dots between the figure names and the page numbers are gone

regression that started in 4.3 as 4.2 worked fine.

Version: 6.0.0.0.alpha0+
Build ID: 1d0fbc9927f357d25859b7cca7ea5e9a9637681e
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; 
Locale: en-US (en_US.UTF-8); Calc: group
Comment 1 Buovjaga 2017-11-11 12:54:35 UTC
Repro.

Win 8.1 32-bit
LibO Version: 6.0.0.0.alpha1+
Build ID: a5af0fd9f27af42cf2e8571f659cdad6e606215b
CPU threads: 4; OS: Windows 6.3; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-11-06_23:18:19
Locale: fi-FI (fi_FI); Calc: group

MSO 2013
Comment 2 QA Administrators 2018-11-12 03:41:32 UTC Comment hidden (obsolete)
Comment 3 Roman Kuznetsov 2018-11-12 09:09:17 UTC
don't repro in

Version: 6.2.0.0.alpha1+
Build ID: 6896f39ffd8a6c4b32b8f601a6a93678247456bd
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-11-05_22:40:18
Locale: ru-RU (ru_RU); Calc: threaded

but I didn't have step "right-click on index and click 'Update Field' and select 'Update page numbers only'" in LO, because there is only "Update Index" without any additional dialogs in LO

And dots are still after updating of index in LO

Status->WFM
Comment 4 Buovjaga 2019-01-23 11:54:07 UTC
Still repro.

Roman: you have to do the updating in Microsoft Office.

MSO 2013
LibO Version: 6.3.0.0.alpha0+
Build ID: 301ff4dfb82dfd961b993aec151784bd478b4f97
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-01-22_22:44:18
Locale: fi-FI (fi_FI); UI-Language: en-US
Calc: threaded
Comment 5 pavlog 2020-12-27 14:39:22 UTC
Bibisected in 4.3
 edf229e0baa56b94e5cc8021165edef56189409c is the first bad commit
commit edf229e0baa56b94e5cc8021165edef56189409c
Author: TDF builder <tdf@tb83-bytemark.local>
Date:   Fri Jan 25 22:25:27 2019 +0000

    source 0fb3bdc5d3aa47a61affc67b20bdbb775808fb66

    source 0fb3bdc5d3aa47a61affc67b20bdbb775808fb66

 instdir/program/mswordlo.dll | Bin 2732032 -> 2733056 bytes
 instdir/program/version.ini  |   2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)


bisect log

# bad: [f92e55455a81aba9b33511843185b99d59ffc233] source 754160755adb071f432898978c487aec9c87177d
# good: [c67d0ea7e4829f52c6d5a787b70a63a0f9275868] source fc8f44e82de4ebdd50ac5fbb9207cd1a59a927e3
git bisect start 'master' 'oldest'
# bad: [ea3f3783b3c65619618ec75d12747d2c1fc80fb3] source b0308236d26c4b97532abf40ffd443ebb464ed92
git bisect bad ea3f3783b3c65619618ec75d12747d2c1fc80fb3
# good: [01167019b20fce6079f07e271f006f59687aaab9] source 247cd33817457789645827a52d79a1876b9760a3
git bisect good 01167019b20fce6079f07e271f006f59687aaab9
# good: [956f48bd9109252578784dba088c1d41741899a6] source 281bdaaa0b2860ef2f2b08b1acb3f930f81cf020
git bisect good 956f48bd9109252578784dba088c1d41741899a6
# good: [8e3bd44409cf19fac55ceb3e0bc3afb75b8c6e72] source a67f3f73248f998764bea46292118aa2c9886c11
git bisect good 8e3bd44409cf19fac55ceb3e0bc3afb75b8c6e72
# good: [9853f16efb27cd166eb5e7d49e6c89e02e330cff] source fb217f27eb0f3a34c89d262d2c71a4ac4427ec5f
git bisect good 9853f16efb27cd166eb5e7d49e6c89e02e330cff
# good: [055a13e1ae318ca695de30934b6b64a0ec26fe6b] source 54ce662d3043fc0b892d8f000a6f5877e32b7325
git bisect good 055a13e1ae318ca695de30934b6b64a0ec26fe6b
# good: [eb4dae3ab560206e93e7b313f25915db9106b94c] source 88dee977c241a1f6fc42e0153f6a1ba45cec5342
git bisect good eb4dae3ab560206e93e7b313f25915db9106b94c
# good: [f1522ca72ab1582d78ade3e2bfe357e9cecf4d38] source 4e5fb3ae8aaa7a65b065f0415fe4df667dab3def
git bisect good f1522ca72ab1582d78ade3e2bfe357e9cecf4d38
# bad: [807f87fe96857463bfcf2904ee98d983269c261f] source 3c0a7cf4f67720f2cca2c4eb543f838d5b644e7f
git bisect bad 807f87fe96857463bfcf2904ee98d983269c261f
# bad: [f44fa5b309cffbabb50ce8f8a1c74cd33546b681] source a45bdb8aa8f3a183842c715106e4f6e59f2f94c7
git bisect bad f44fa5b309cffbabb50ce8f8a1c74cd33546b681
# good: [9c108e83f894f49e681e35c0c7147730d2dc445f] source 2a09751d51332aa413e769d0f7916aca0cf4e742
git bisect good 9c108e83f894f49e681e35c0c7147730d2dc445f
# bad: [2a4b0ec74f9f48cc7e74df768dae94bb1f3775ab] source d9f0af83b7f0abe7119eefca62cbbca7eff818ef
git bisect bad 2a4b0ec74f9f48cc7e74df768dae94bb1f3775ab
# bad: [edf229e0baa56b94e5cc8021165edef56189409c] source 0fb3bdc5d3aa47a61affc67b20bdbb775808fb66
git bisect bad edf229e0baa56b94e5cc8021165edef56189409c
# good: [e734c0b785087bcbcd95e7bdcf85deb4a0977251] source a4f0d096058709f89860178d88e4bad97e458995
git bisect good e734c0b785087bcbcd95e7bdcf85deb4a0977251
# first bad commit: [edf229e0baa56b94e5cc8021165edef56189409c] source 0fb3bdc5d3aa47a61affc67b20bdbb775808fb66

Tdf#134801 also refers to 0fb3bdc5d3aa47a61affc67b20bdbb775808fb66
Comment 6 Roman Kuznetsov 2020-12-27 15:15:28 UTC
Added Miklos as committer of 0fb3bdc5d3aa47a61affc67b20bdbb775808fb66
Comment 7 QA Administrators 2022-12-28 03:21:27 UTC Comment hidden (obsolete)
Comment 8 Gabor Kelemen (allotropia) 2023-02-15 22:15:06 UTC
Still an issue in

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 14a36ad49518bcb5b606b0f1640e3ca56b636e89
CPU threads: 14; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: threaded

When selecting the whole table of figures in Word and Toggle field codes command, the original shows field code:
TOC \h \z \c "Figure"
but after roundtrip it becomes:
TOC \c "Figure" \h