Bug 169839 - "Restart needed" dialogs buttons are not readable
Summary: "Restart needed" dialogs buttons are not readable
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: LibreOffice-Themes Windows-Dark-Mode
  Show dependency treegraph
 
Reported: 2025-12-05 13:36 UTC by Gabor Kelemen (Collabora)
Modified: 2025-12-17 08:56 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of the issue (8.14 KB, image/png)
2025-12-05 13:36 UTC, Gabor Kelemen (Collabora)
Details
opposite low contrast going from Dark -> Automatic, when os/DE in Light color scheme (34.65 KB, image/png)
2025-12-05 14:32 UTC, V Stuart Foote
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (Collabora) 2025-12-05 13:36:50 UTC
Created attachment 204449 [details]
Screenshot of the issue

When in Light mode on Windows I change to Dark mode, there is a notification dialog "restart needed", where the buttons already have dark background, but not light text yet, making them hard to read.

1. In Options - Appearance choose Dark mode and "Enable application theming"
2. Press OK
-> Restart Needed dialog is shown, but the buttons are unreadable

When switching from Dark theme to Light, the buttons are readable.

Version: 26.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 620(Build:0)
CPU threads: 24; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: threaded
Comment 1 V Stuart Foote 2025-12-05 14:32:42 UTC
Created attachment 204452 [details]
opposite low contrast going from Dark -> Automatic, when os/DE in Light color scheme

Notice the fg text on bg fill, so readable but at very low contrast.

Also, since you are being prompted--means you had the Tools -> Options -> Appearance 'Enable application theming' checked enabled.

And it actually does manifest going between Dark -> Automatic (return from override of os/DE Light color scheme ) with light fg on light bg fill. Clip attached.

The Automatic - Dark - Light

Was the low contrast some of the luminosity/contrast work that Sahil did as the Appearance themes were reworked?
Comment 2 V Stuart Foote 2025-12-05 14:41:26 UTC
@Sahil, what do you think?
Comment 3 V Stuart Foote 2025-12-05 14:58:03 UTC
(In reply to V Stuart Foote from comment #1)
> The Automatic - Dark - Light
> 

Better finish that thought...

The Automatic - Light - Dark appearance modes are supposed to more closely follow the os/DE color scheme. fg/bg of some button controls or list boxes don't immediately switch to follow a Light/Dark override of Automatic.

While checking 'Enable application theming' and applying a fully authored "Appearance theme" is intended to override/reset what is passed in from the os/DE. But again as with the see also bug 167157 and bug 167159 some controls do not pick up the color set in a theme.

Not clear how much of that is our win vcl backend lack of native controls, or if it is global affecting other os/DE.
Comment 4 Heiko Tietze 2025-12-17 08:56:33 UTC
Does not happen for me, neither Win nor Linux/Qt, but I can imagine situations where this happens. And the UI changes partly for me too. Perhaps we could delay the new theme to after the restart (or better apply properly without any restart).