Description: The menu bar and certain elements appear with wrong colors when using Windows high contrast dark themes. For instance, it may appear completely white without a readable text when a black high contrast theme is being used. Steps to Reproduce: 1. Apply a dark high contrast theme at Windows settings. Actual Results: Menu bar and some UI elements appear white without a readable text. Tested on Windows 11 release. Expected Results: The menu bar and other UI elements should respect the color scheme applied to all windows, like Notepad and also 3rd party apps like Filezilla etc. Reproducible: Always User Profile Reset: Yes Additional Info: It works with light high contrast themes but not dark.
Windows WDM does not pass win32 API theme details, only UWP which LibreOffice can not consume. So we can not follow the theme WDM to set attributes of UI elements. The "legacy" highcontrast mode signal does pass in win32 HC theme details, and LibreOffice will honor--but it has limitations. Not all UI elements are addressed by the limited set of theme attributes that are delivered via highcontrast mode, and some are oddly mapped. Attributes of the main menu bar is one, panel backgrounds like the SB deck antother. The project in general prefers to follow os/DE provided theming, but can not consume Windows UWP (but 118320). For bug 141986 we provide a second pallet of UI element colors 'LibreOffice Dark' scheme. But that needs additional effort to more fully control UI elements. The 'LibreOffice Dark' theme improves things with WDM HC settings when a HC mode is active, but results by specific HC theme will vary as to usability. Microsoft's defaults are a bit rough to work with, especially if you just are looking to reduce the glare. Other HC themes exist, I routinely use the GreyEve HC theme [1]. =-ref-= [1] https://github.com/nitschis/GreyEveTheme *** This bug has been marked as a duplicate of bug 98032 ***