Bug 154916 - Switching Dark | Light or vice versa in View > Appearance and Applying results in wrong colors in Preferences Dialog
Summary: Switching Dark | Light or vice versa in View > Appearance and Applying result...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: macOS-Dark-Mode
  Show dependency treegraph
 
Reported: 2023-04-19 17:07 UTC by steve
Modified: 2024-04-10 08:05 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
after applying switch from dark to light (115.88 KB, image/png)
2023-04-19 17:07 UTC, steve
Details
after applying switch from light to dark (82.05 KB, image/png)
2023-04-19 17:08 UTC, steve
Details
Screenrecording Light to Dark Bug (whole UI) (233.14 KB, video/mp4)
2024-04-04 10:52 UTC, Felix
Details
Screenshot Dark to Light Bug (whole UI) (77.30 KB, image/jpeg)
2024-04-04 10:53 UTC, Felix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description steve 2023-04-19 17:07:30 UTC
Description:
Switching Dark | Light or vice versa in View > Appearance and Applying results in wrong colors in Preferences Dialog

Steps to Reproduce:
1. open LibreOffice > View > Appearance
2. Switch from Light to Dark (or Dark to Light)
3. Click Apple button

Actual Results:
Wrong text colors in StartCenter + Preferences Dialog

Expected Results:
The theme switch happens when clicking Apply, but text should also be switched accordingly.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 61b41646c5a93ca24f2c9f143cdb0da2c9258989
CPU threads: 8; OS: Mac OS X 13.3.1; UI render: Skia/Metal; VCL: osx
Locale: en-US (en_DE.UTF-8); UI: en-US
Calc: threaded
Comment 1 steve 2023-04-19 17:07:57 UTC
Created attachment 186797 [details]
after applying switch from dark to light
Comment 2 steve 2023-04-19 17:08:14 UTC
Created attachment 186798 [details]
after applying switch from light to dark
Comment 3 Sierk Bornemann 2023-04-19 17:22:57 UTC
I can confirm the issue.

Version: 7.6.0.0.alpha0+ (AARCH64) / LibreOffice Community
Build ID: 61b41646c5a93ca24f2c9f143cdb0da2c9258989
CPU threads: 10; OS: Mac OS X 13.3.1; UI render: Skia/Metal; VCL: osx
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded
Comment 4 Heiko Tietze 2023-04-20 05:40:05 UTC
Does not happen for System Theme (black font color on bright background or white on dark respectively).
Comment 5 steve 2023-04-22 19:02:33 UTC
Correct, following system and switching Light | Dark in macOS System Settings does not expose the problematic behavior.

To me this indicates that there is something off with how updating the UI is handled when switching inside of LibreOffice.
Comment 6 Felix 2024-04-04 10:52:56 UTC
Created attachment 193489 [details]
Screenrecording Light to Dark Bug (whole UI)

I confirm this issue and I have to add, that the whole UI is affected. Not just the preference window. Some elements like labels and dropdown buttons are inverted.
This makes for a very jarring experience.

I've added a screen recording and my own screenshot.

A workaround is restarting the application after switching the mode.

Can someone confirm if this only happens in macOS?
Comment 7 Felix 2024-04-04 10:53:25 UTC
Created attachment 193490 [details]
Screenshot Dark to Light Bug (whole UI)