Bug 149285

Summary: Table Styles dialog does not adapt to dark mode
Product: LibreOffice Reporter: Rafael Lima <rafael.palma.lima>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: medium    
Version: 7.3.2.2 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 143344    
Attachments: Screenshot showing the problem

Description Rafael Lima 2022-05-25 12:36:36 UTC
Created attachment 180367 [details]
Screenshot showing the problem

In Writer, insert a table into the document. Then select it and go to Table - AutoFormat Styles. Using dark mode, the table preview does not adapt to dark mode.

See attached screenshot for more details. Notice that it uses a dark background. Instead, it should use the document color.

System info:
Version: 7.3.3.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.3~rc2-0ubuntu0.21.10.1~lo1
Calc: threaded
Comment 1 Suthagar 2022-06-01 12:08:12 UTC
Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 465c3ad95059f0efa13c8027f7383c4d20a5b2ff
CPU threads: 2; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-IN (en_IN); UI: en-US
Calc: threaded

Steps to reproduce:-

1.open liberoffice writer 
2.Insert table 
3.Then select all table (cells)
4.OPEN... Table -> Auto format styles 
5.Check default table style is dark mode(when your machine already in dark mode)


Actual Result:-
    default table style is dark mode(when your machine already in dark mode)


Expected Result:-
    Does not display the preview table is dark.
Comment 2 Timur 2022-09-12 15:09:47 UTC
Yes, but WFM from 7.4.
Comment 3 Rafael Lima 2022-09-12 17:36:54 UTC
(In reply to Timur from comment #2)
> Yes, but WFM from 7.4.

After some search in Gerrit, I found that this bug was fixed by:

https://gerrit.libreoffice.org/c/core/+/132023

Which is available since LO 7.4. So WFM indeed.
Comment 4 Timur 2022-09-12 19:00:36 UTC
So, let's mark duplicate.

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