Bug 157983 - macOS: wrong colors for dropdowns, fields and buttons (white text on white background while in dark mode)
Summary: macOS: wrong colors for dropdowns, fields and buttons (white text on white ba...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
24.2.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-10-30 11:46 UTC by steve
Modified: 2024-07-08 21:29 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot 2023-10-30 24.2.0.0 (171.14 KB, image/png)
2023-10-30 11:47 UTC, steve
Details
Screenshot 2023-10-30 24.2.0.0 writer (49.18 KB, image/png)
2023-10-30 11:48 UTC, steve
Details
Dark-mode-01 (97.76 KB, image/png)
2023-11-15 16:23 UTC, ToanTran
Details
Dark-mode-02 (40.27 KB, image/png)
2023-11-15 16:24 UTC, ToanTran
Details
Light-mode-01 (65.23 KB, image/png)
2023-11-15 16:25 UTC, ToanTran
Details
Light-mode-02 (41.17 KB, image/png)
2023-11-15 16:25 UTC, ToanTran
Details

Note You need to log in before you can comment on or make changes to this bug.
Description steve 2023-10-30 11:46:53 UTC
Description:
Unclear reproduce steps, but happens every once in a while. Seen this several times.

Steps to Reproduce:
Don't know.

Actual Results:
Dropdowns, fields and buttons show white text on white background while dark mode should be used.

When this bug occurs it affects all text fields like in Settings > LibreOffice > User Data, dropdowns like in View and also all components like writer, calc, etc.

Expected Results:
Usable UI.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b83f069101f1e6d8aaac09a805f02bbc4c619e7a
CPU threads: 8; OS: macOS 13.6.1; UI render: Skia/Raster; VCL: osx
Locale: en-US (en_DE.UTF-8); UI: en-US
Calc: threaded
Comment 1 steve 2023-10-30 11:47:25 UTC
Created attachment 190507 [details]
Screenshot 2023-10-30 24.2.0.0
Comment 2 steve 2023-10-30 11:48:46 UTC
Created attachment 190508 [details]
Screenshot 2023-10-30 24.2.0.0 writer
Comment 3 ToanTran 2023-11-15 16:22:53 UTC
I encountered a similar issue on my MacOS with the following problems:

1. Switching to Dark mode results in all text remaining black on the black (lighter) background.

2. Changing from Dark mode to Light mode causes all text to change to white on the white background.


The appearance setting on my MacOS is set to Light; perhaps there is a conflict?
Comment 4 ToanTran 2023-11-15 16:23:50 UTC
Created attachment 190844 [details]
Dark-mode-01
Comment 5 ToanTran 2023-11-15 16:24:50 UTC
Created attachment 190845 [details]
Dark-mode-02
Comment 6 ToanTran 2023-11-15 16:25:35 UTC
Created attachment 190846 [details]
Light-mode-01
Comment 7 ToanTran 2023-11-15 16:25:58 UTC
Created attachment 190847 [details]
Light-mode-02
Comment 8 ToanTran 2023-11-15 16:26:37 UTC
Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 8; OS: Mac OS X 13.2.1; UI render: Skia/Metal; VCL: osx
Locale: en-US (en_VN.UTF-8); UI: en-US
Calc: threaded
Comment 9 Buovjaga 2023-11-22 06:59:10 UTC
Steve, Toan: does this also happen, if you deactivate Skia from LibreOffice - Preferences - LibreOffice - View - Use Skia for all rendering?
Comment 10 ToanTran 2023-11-22 07:28:05 UTC
(In reply to Buovjaga from comment #9)
> Steve, Toan: does this also happen, if you deactivate Skia from LibreOffice
> - Preferences - LibreOffice - View - Use Skia for all rendering?

Yes, I've tried with is option ON/OFF but the issue is still happening
Comment 11 Tristin Alexander Schwartze 2024-06-30 15:32:30 UTC
Similar issue is present in version 24.2.4.2 (X86_64) on Linux Mint. Specifically, Tools > options > personalization > "Default look do not use themes" has white icons on white background. Grey theme fixes the issue, but defaults shouldn't be unusable.
Comment 12 Alec K 2024-07-08 21:29:38 UTC
Thank you for reporting the bug. I can confirm that the bug is present in:

Version: 25.2.0.0.alpha0+ (AARCH64) / LibreOffice Community
Build ID: ab5d79c90fc33b0a32604e3cbbbc686d01d85d39
CPU threads: 10; OS: macOS 13.6.6; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

and present in:

Version: 25.2.0.0.alpha0+ (AARCH64) / LibreOffice Community
Build ID: ab5d79c90fc33b0a32604e3cbbbc686d01d85d39
CPU threads: 10; OS: macOS 13.6.6; UI render: Skia/Raster; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Within LibreOfficeDev -> Preferences -> LibreOfficeDev -> View -> Appearance when switching from dark mode to light mode, the UI will have light text on a light background. When switching from light mode to dark mode, the UI will have dark text on a dark background. (The issue occurs after hitting 'apply')

This issue persists until the application is restarted. After a restart, the issue is fixed and the UI will be in the correct mode.