Bug 90081 - FORMATTING: Document index style has changed and can't be set to the previous one
Summary: FORMATTING: Document index style has changed and can't be set to the previous...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.1.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, regression
Depends on:
Blocks: TableofContents-Indexes
  Show dependency treegraph
 
Reported: 2015-03-18 10:32 UTC by Lino Barreca
Modified: 2016-10-13 08:56 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Pics attached. ODT file privately available on request. (60.63 KB, application/zip)
2015-03-18 10:34 UTC, Lino Barreca
Details
Test File. (32.95 KB, application/vnd.oasis.opendocument.text)
2015-03-23 08:05 UTC, Lino Barreca
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lino Barreca 2015-03-18 10:32:42 UTC
I had a document I used to modify with the previous version of LibreOffice (4.3).
The document contains an index.
The entries of the index contains Tabulations like "textA(tab)textB(tab)textC"
with previous Libreoffice versions when I updated the index it was translated into "textA(space)textB(space)textC(tab)page#" now, after upgrading, the index voices contains tabs.
I tried to change the paragraph style "Index1" to use spaces instead of tabs but changes aren't persisted.
Comment 1 Lino Barreca 2015-03-18 10:34:04 UTC
Created attachment 114166 [details]
Pics attached. ODT file privately available on request.
Comment 2 Buovjaga 2015-03-21 14:49:07 UTC
We don't review documents privately.

Please anonymize the document in 4.3 and then verify that the problem is displayed in 4.4.
https://wiki.documentfoundation.org/Anonymizing_a_document#Sanitize_file_text

Here's how you can have both 4.3 and 4.4 installed at the same time: https://wiki.documentfoundation.org/SI-GUI

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the document.
Comment 3 Lino Barreca 2015-03-23 08:05:11 UTC
Created attachment 114262 [details]
Test File.

Steps to reproduce:

Open in 4.3
Go to page 2
Change the title paragraph (first bold line) adding "XX" at the end of the line.
Go to page 1
Right click the Topic of Contents and then "Update index".
Index is updated.
Save file.

Open file in 4.4
Go to page 2
Change the title paragraph (first bold line) adding "YY" at the end of the line.
Go to page 1
Right click the Topic of Contents and then "Update index".
Index is updated but its format is messed up.
Comment 4 Buovjaga 2015-03-23 11:53:52 UTC
Confirmed, got same-looking results as in your After.png screenie.

Win 7 Pro 64-bit, LibO Version: 4.4.1.2
Build ID: 45e2de17089c24a1fa810c8f975a7171ba4cd432
Locale: fi_FI
Comment 5 A (Andy) 2015-04-04 19:29:23 UTC
Reproducible with LO 4.4.1.2, Win 8.1
Comment 6 QA Administrators 2016-09-20 09:36:42 UTC Comment hidden (obsolete)
Comment 7 Lino Barreca 2016-09-20 09:47:56 UTC
Bug is still there in 5.2.0.4
Nothing changed as of today.
Comment 8 raal 2016-09-26 14:45:54 UTC
 git bisect log
# bad: [489ffd1df414698b6cea9ab03bf6f663b8b5af7e] source-hash-3f94c9e9ddfd807b449f3bb9b232cf2041fa12d2
# good: [8aa9fc9a0c92172593d6cd97662116a965db229d] source-hash-dea4a3b9d7182700abeb4dc756a24a9e8dea8474
git bisect start 'latest' 'oldest'
# bad: [897913acd244cb6a5d2f4c2da1d625d9b978edb6] source-hash-ac57362b23859591c088e36b7218f4a606dcf3bb
git bisect bad 897913acd244cb6a5d2f4c2da1d625d9b978edb6
# bad: [dc97f44745f96315fb6c5480705bb5d595d39c6c] source-hash-01c8962f281887db59e581906b89d027a994b52a
git bisect bad dc97f44745f96315fb6c5480705bb5d595d39c6c
# bad: [a5a39af2ec486b10b26d6373f58a9b59142106c4] source-hash-a595879302e26a616131aa0cab5de31bb287b37d
git bisect bad a5a39af2ec486b10b26d6373f58a9b59142106c4
# bad: [a5a39af2ec486b10b26d6373f58a9b59142106c4] source-hash-a595879302e26a616131aa0cab5de31bb287b37d
git bisect bad a5a39af2ec486b10b26d6373f58a9b59142106c4
# good: [f8e8e050f410de99f06c21879d7e4e21b31ea908] source-hash-22fd097f37b905cb3b585caf96890690befed863
git bisect good f8e8e050f410de99f06c21879d7e4e21b31ea908
# good: [4d49ccb0cf0c0e1e3bfe9d3bc25baea143032488] source-hash-ad8aeb6e02444aa007ef38a59bbd84d67d60ffad
git bisect good 4d49ccb0cf0c0e1e3bfe9d3bc25baea143032488
# bad: [c5e72216c308cf93aa65035a92ddc47be3117e33] source-hash-3dcfb9a892e528a386bb304e4e00d2fa34b1de25
git bisect bad c5e72216c308cf93aa65035a92ddc47be3117e33
# bad: [c5e72216c308cf93aa65035a92ddc47be3117e33] source-hash-3dcfb9a892e528a386bb304e4e00d2fa34b1de25
git bisect bad c5e72216c308cf93aa65035a92ddc47be3117e33
# bad: [c5e72216c308cf93aa65035a92ddc47be3117e33] source-hash-3dcfb9a892e528a386bb304e4e00d2fa34b1de25
git bisect bad c5e72216c308cf93aa65035a92ddc47be3117e33
# bad: [c5e72216c308cf93aa65035a92ddc47be3117e33] source-hash-3dcfb9a892e528a386bb304e4e00d2fa34b1de25
git bisect bad c5e72216c308cf93aa65035a92ddc47be3117e33
# bad: [c5e72216c308cf93aa65035a92ddc47be3117e33] source-hash-3dcfb9a892e528a386bb304e4e00d2fa34b1de25
git bisect bad c5e72216c308cf93aa65035a92ddc47be3117e33
# bad: [c5e72216c308cf93aa65035a92ddc47be3117e33] source-hash-3dcfb9a892e528a386bb304e4e00d2fa34b1de25
git bisect bad c5e72216c308cf93aa65035a92ddc47be3117e33
# bad: [8872428c4fcd9a0e1595da985d56ca27dd51fc6a] source-hash-3466cbc01ccad09bf852fdbc470744940c5c3054
git bisect bad 8872428c4fcd9a0e1595da985d56ca27dd51fc6a
# bad: [169145dc2f896db16d9f6dd4d02b6de40e69eabc] source-hash-39b09b67019b562a0ce0a47e18ce3264f5b65350
git bisect bad 169145dc2f896db16d9f6dd4d02b6de40e69eabc
# bad: [4b862b8652024b8ef37c809ba3e5669dbc596950] source-hash-231791b6587310d91747564990d6bf3b7cfa1e65
git bisect bad 4b862b8652024b8ef37c809ba3e5669dbc596950
# good: [63005e161bb7defea14be06f01b1c6049930e4f8] source-hash-507efabe8b40e34c2bebfdaa00d4264c5345d3dd
git bisect good 63005e161bb7defea14be06f01b1c6049930e4f8
# first bad commit: [4b862b8652024b8ef37c809ba3e5669dbc596950] source-hash-231791b6587310d91747564990d6bf3b7cfa1e65

One from this range:
http://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=507efabe8b40e34c2bebfdaa00d4264c5345d3dd..231791b6587310d91747564990d6bf3b7cfa1e65
Comment 9 Lino Barreca 2016-10-13 07:34:11 UTC
WOWOWOWOWOWOW
Just tested it on 5.2.2.2 and.... Bug has been fixed.