| Summary: | Strange chapter numbering in DOCX file | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Peer Sommerlund <peer.sommerlund> |
| Component: | Writer | Assignee: | Justin L <jluth> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | aron.budea, jluth, vasily.melenchuk, xiscofauli |
| Priority: | medium | Keywords: | bibisected, bisected, needUITest, regression |
| Version: | 6.4.5.1 rc | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=120394 | ||
| Whiteboard: | target:7.2.0 target:7.1.1 | ||
| Crash report or crash signature: | Regression By: | ||
| Attachments: | docx with corrupted chapter numbering | ||
|
Description
Peer Sommerlund
2020-12-22 09:33:45 UTC
Created attachment 168405 [details]
docx with corrupted chapter numbering
I used bibisect-linux-x64-6.4 to identify author Vasily Melenchuk on 2020-06-12 01:13:55 +0200 commit 129006ee5bec721bfb8bae9cd55586b353e230b7 tdf#120394: DOCX list import: simplify zero width space hack CC'd Vasily I think the concern here is that there is no UI way to tinker with GetListFormat() once it gets a custom format.
So the UI should void ClearListFormat() { sListFormat = std::nullopt; }
if appropriate format options are changed.
Prefix and suffix and show sublevel are obvious ones. [Sublevel should be enabled for level 1 if HasListFormat().]
proposed fix at http://gerrit.libreoffice.org/c/core/+/109839 Justin Luth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/55933f49f5a04708d27dc69e8778ec126646e3a5 tdf#139147 sw outline UI: allow clearing of custom list format It will be available in 7.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Peer - I hope this addresses the issue you raised here about being unable to adjust the heading via the UI. I have requested a backport to 7.1, so if that goes through, it should be in the fresh version in a month or two. Justin Luth committed a patch related to this issue. It has been pushed to "libreoffice-7-1": https://git.libreoffice.org/core/commit/89516b2be525a01862eacdef2276f0699ed87e3d tdf#139147 sw outline UI: allow clearing of custom list format It will be available in 7.1.1. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. (In reply to Justin L from comment #6) > Peer - I hope this addresses the issue you raised here about being unable to > adjust the heading via the UI. I have requested a backport to 7.1, so if > that goes through, it should be in the fresh version in a month or two. Ok. I'll check once 7.1 is released. (In reply to Peer Sommerlund from comment #8) > Ok. I'll check once 7.1 is released. Please note that it will NOT be in 7.1.0 - it will be in 7.1.1, which will be about a month from now. |