Summary: | FILEOPEN DOCX Numbering loses its parastyle-assigned color b/c of applied charstyle | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Gabor Kelemen (allotropia) <kelemeng> |
Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | dgp-mail, jluth, oliver.specht, vasily.melenchuk |
Priority: | medium | Keywords: | bibisected, bisected, regression |
Version: | 7.1.0.3 release | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://bugs.documentfoundation.org/show_bug.cgi?id=131801 https://bugs.documentfoundation.org/show_bug.cgi?id=154370 https://bugs.documentfoundation.org/show_bug.cgi?id=154371 https://bugs.documentfoundation.org/show_bug.cgi?id=158597 https://bugs.documentfoundation.org/show_bug.cgi?id=158610 |
||
Whiteboard: | target:24.2.0 target:24.8.0 | ||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 107830, 108230 | ||
Attachments: |
Example file from Word
Screenshot of the document in Word and Writer |
Description
Gabor Kelemen (allotropia)
2023-03-24 17:22:05 UTC
Created attachment 186194 [details]
Screenshot of the document in Word and Writer
I confirm it with Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 1e9f4de320f67d1218c710bcee1969a2324c6888 CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: en-US (de_DE); UI: en-GB Calc: CL threaded Here is something a bit bizarre. in LO, select the entire paragraph and change the font colour to red. Now the numbering will show up as green. In checkApplyParagraphMarkFormatToNumbering() (txtfld.cxx) the attributes from the registered character format are all copied and applied in SwFont::SetDiffFnt() It should only apply items with a state > SfxItemState::DEFAULT Oliver Specht committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/5de53775531a358c6775d265a3a19699c96a8139 tdf#154369 don't apply default items to numbering symbols It will be available in 24.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. Verified in Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 5ff64bfcf9bb8c27670c4cb44a778105008407ed CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: hu-HU (hu_HU.UTF-8); UI: hu-HU Calc: threaded now the A and B numberings are green. Not mentioned yet is that the 1-4 numberings are bold, but they should not be. Needs a followup. Comment #3 needs to be investigated, I see it too. (In reply to Justin L from comment #3) > Here is something a bit bizarre. in LO, select the entire paragraph and > change the font colour to red. Now the numbering will show up as green. This is now bug 158610, thanks for noticing! Kira Tubo committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/c37acfce0aab520f30714961d333b1cd52eba4e7 tdf#154369: sw unit test: numbered list color in docx It will be available in 24.8.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. |