Bug 148520 - Impress, table templates (character formatting wrong after load)
Summary: Impress, table templates (character formatting wrong after load)
Status: RESOLVED DUPLICATE of bug 154882
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ImpressDraw-Tables
  Show dependency treegraph
 
Reported: 2022-04-11 16:12 UTC by Sven-Jacobi
Modified: 2023-04-22 18:31 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
first-row-problem (13.22 KB, application/vnd.oasis.opendocument.presentation)
2022-04-11 16:13 UTC, Sven-Jacobi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven-Jacobi 2022-04-11 16:12:39 UTC
Description:
If you load the attached bugdoc "first-row-problem.odp" then the text color in the first cell is wrong, it should be white and not black.

"Header row" is selected in the Table Design and the XML style of this header row is:

<style:style style:name="blue3"
             style:family="table-cell"
             style:parent-style-name="default">
    <style:text-properties fo:color="#FFFFFF"
                           fo:font-weight="bold"/>
    <loext:graphic-properties draw:fill="solid"
                              draw:fill-color="#0066cc"/>
</style:style>

Strangly, if you deselect and select the "Header row" checkbox in the table design, then everything looks as expected. So it seems that the cell is not properly inititalized after it is loaded.


Steps to Reproduce:
1. Load the bugdoc "first-row-problem.odp"
2.
3.

Actual Results:
The text color in the first cell is black.

Expected Results:
The text color in the first cell should be black.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 3a88b513fd90f4793b6de7a7412fa33369542f40
CPU threads: 24; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: CL
Comment 1 Sven-Jacobi 2022-04-11 16:13:30 UTC
Created attachment 179473 [details]
first-row-problem
Comment 2 raal 2022-07-29 18:55:39 UTC
Confirm Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: c4f7043c593823b8c5605e779371ff430659eb20
CPU threads: 4; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

but cannot reproduce with new file.

All black in Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a) and white color of top right cell's font started with commit
 c5912890195b3504c0aaf08d627d2fa21c93f600 is the first bad commit
commit c5912890195b3504c0aaf08d627d2fa21c93f600
Author: Matthew Francis <mjay.francis@gmail.com>
Date:   Fri Sep 18 10:50:05 2015 +0800

    source-hash-91864e19c84ae9834d6e97ee5ddc4db5bf957681

https://git.libreoffice.org/core/+/91864e19c84ae9834d6e97ee5ddc4db5bf957681
Comment 3 Maxim Monastirsky 2023-04-22 18:31:45 UTC

*** This bug has been marked as a duplicate of bug 154882 ***