Bug 159303 - Document Dark Mode doesn't reflect system colouration.
Summary: Document Dark Mode doesn't reflect system colouration.
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
24.2.0.1 rc
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL: https://ask.libreoffice.org/t/automat...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-20 18:31 UTC by `{third: "Beedell", first: "Roke"}`{.JSON5}
Modified: 2024-01-31 14:29 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description `{third: "Beedell", first: "Roke"}`{.JSON5} 2024-01-20 18:31:55 UTC
Description:
As https://ask.libreoffice.org/t/automatic-system-theme-should-set-document-colour-to-theme-colours/100696/6?u=rokejulianlockhart describes, the newly-implemented automatic document dark mode doesn't utilize the colours of the system on KDE, in contrast to all other theming. It appears to utilize the default Adwaita Dark colouration instead.

Steps to Reproduce:
0.  Install cpe:/o:opensuse:tumbleweed:20240118.
1.  Install 24.2.0.2 using `sudo snap install libreoffice --channmel=latest/edge`.
2.  Configure the theme preferences to match https://ask.libreoffice.org/uploads/asklibo/original/3X/2/e/2ed20b8a0340e9f1bfe75652cf00b68951b07f5b.png - "Automatic" and "System theme".
3.  

Actual Results:
It uses arbitrary dark colouration, even with all document colours set to "Automatic".

Expected Results:
It should have utilized the colouration defined by the system.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.0.2 (X86_64) / LibreOffice Community
Build ID: a8c9976b9f74750b38aab69bdb81f0722231d164
CPU threads: 12; OS: Linux 6.6; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Calc: threaded
Comment 1 Buovjaga 2024-01-31 12:38:46 UTC
Regarding automatic icon theme selection, there is bug 127138. Other than that, please describe what you are missing or what is wrong.

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the information.
Comment 2 `{third: "Beedell", first: "Roke"}`{.JSON5} 2024-01-31 14:28:22 UTC
(In reply to Buovjaga from comment #1)
> Regarding automatic icon theme selection, there is bug 127138. Other than
> that, please describe what you are missing or what is wrong.
> 
> Set to NEEDINFO.
> Change back to UNCONFIRMED after you have provided the information.

ilmari.lauhakangas@libreoffice.org, did you look at the URI in https://bugs.documentfoundation.org/show_bug.cgi?id=159303#c0:~:text=https%3A%2F%2Fask.libreoffice.org%2Ft%2Fautomatic-system-theme-should-set-document-colour-to-theme-colours%2F100696%2F6%3Fu%3Drokejulianlockhart ? I fail to see why you ask if so, but more specifically:

1.  https://ask.libreoffice.org/uploads/asklibo/original/3X/9/7/9750c1e2b02bc810487160792dc92f7a264efd25.png and
2.  https://ask.libreoffice.org/uploads/asklibo/original/3X/a/5/a5658def78f30dd360ba3e65b8ae8febe0c58650.png

...demonstrate what I refer to — those *document colours* are not what I've specified in `kcm_colors`, as the surrounding LibreOffice GUI colouration demonstrates. This isn't obvious when using Adwaita because the page looks the same, but it's actually an apparently static colour rather than dynamic, like the rest of the GUI. I expect it's an oversight.
Comment 3 `{third: "Beedell", first: "Roke"}`{.JSON5} 2024-01-31 14:29:20 UTC
(In reply to Buovjaga from comment #1)
> Regarding automatic icon theme selection, there is bug 127138.

The icon theme is correct - Breeze Dark. This has no relevance to iconography.