Bug 159359 - Dark mode doesn work on KDE correctly - wrong contrasting?
Summary: Dark mode doesn work on KDE correctly - wrong contrasting?
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.4.1 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-24 13:20 UTC by Adrianna Nicole
Modified: 2024-02-28 16:31 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
windows (151.88 KB, image/png)
2024-01-24 13:20 UTC, Adrianna Nicole
Details
linux (253.20 KB, image/png)
2024-01-24 13:20 UTC, Adrianna Nicole
Details
origin file (10.31 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2024-01-24 13:21 UTC, Adrianna Nicole
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adrianna Nicole 2024-01-24 13:20:10 UTC
Description:
As you can see on examples (attachments)


Steps to Reproduce:
1. Open .docx
2. Different screen impression on Windows
3. Different on Kubuntu 23.10

Actual Results:
bad, wrong, should be same.

Expected Results:
Colouring should be exacltly kept 100% precent to Bill Gates Word


Reproducible: Always


User Profile Reset: No

Additional Info:
https://mega.nz/file/D4xgCQpb#iClAMfEScRBeIY27YU2hLLRL87acNE2rlvIEyxBVWcI
Comment 1 Adrianna Nicole 2024-01-24 13:20:42 UTC
Created attachment 192144 [details]
windows
Comment 2 Adrianna Nicole 2024-01-24 13:20:58 UTC
Created attachment 192145 [details]
linux
Comment 3 Adrianna Nicole 2024-01-24 13:21:13 UTC
Created attachment 192146 [details]
origin file
Comment 4 Adrianna Nicole 2024-01-24 13:22:56 UTC
Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: 60(Build:1)
CPU threads: 12; OS: Linux 6.5; UI render: default; VCL: kf5 (cairo+wayland)
Locale: pl-PL (pl_PL.UTF-8); UI: en-US
Ubuntu package version: 4:7.6.4-0ubuntu0.23.10.1
Calc: threaded
Comment 5 Dieter 2024-02-08 09:47:54 UTC
I can only test with Windows. But if I open document and change setting of "Application Colors" to "Dark", most characters are still black like in attachment 192145 [details]. But this is the "expected" result, because font color of those characters is "black" and not "automatic".

So question is (I can't test it), if font color in MS Word is also "black" or "automatic"
Comment 6 Buovjaga 2024-02-28 16:31:17 UTC
Looking at word/document.xml, it does seem black colour has been explicitly set:

<w:p>
  <w:pPr>
    <w:pStyle w:val="Normal"/>
    <w:spacing w:lineRule="auto" w:line="240" w:before="0" w:after="0"/>
    <w:rPr></w:rPr>
  </w:pPr>
  <w:r>
    <w:rPr>
      <w:rFonts w:eastAsia="Arial" w:cs="Arial" w:ascii="Arial" w:hAnsi="Arial"/>
      <w:color w:val="000000"/>
      <w:sz w:val="20"/>
      <w:lang w:val="en-US"/>
    </w:rPr>
    <w:t>Sed ut perspiciatis, unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam eaque ipsa, quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt, explicabo. Nemo enim ipsam voluptatem, quia voluptas sit, aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos, qui ratione voluptatem sequi nesciunt, neque porro quisquam est, qui dolorem ipsum, quia dol</w:t>
  </w:r>
</w:p>

I selected that paragraph and cleared direct formatting in office.com. Downloading it and opening in LibreOffice, I can see the font colour is Automatic.