https://bugs.documentfoundation.org/show_bug.cgi?id=170048

            Bug ID: 170048
           Summary: Title bar of LibreOffice on Windows should also be
                    dark in dark mode
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: UI
          Assignee: [email protected]
          Reporter: [email protected]

Description:
When using dark mode on Windows, the title bar of LibreOffice is not dark, as
it should be.

Steps to Reproduce:
1. Go to "Settings > Personalization > Colors" in Windows.
2. Make sure that "Choose your mode" is "Dark".
3. Start LibreOffice

Actual Results:
The title bar is not dark.

Expected Results:
The title bar should be dark.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.8.3.2 (X86_64)
Build ID: 8ca8d55c161d602844f5428fa4b58097424e324e
CPU threads: 20; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan;
VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Dark mode for win32 applications is described here:

Support Dark and Light themes in Win32 apps
https://learn.microsoft.com/en-us/windows/apps/desktop/modernize/ui/apply-windows-themes

One may try DWMWA_USE_IMMERSIVE_DARK_MODE to get a dark title bar. The result
should be similar to the last screenshot in the above article.

A working win32 dark mode application with dark mode title bar can be seen
here:

Example application shows how to use undocumented dark mode API introduced in
Windows 10 1809.
https://github.com/ysc3839/win32-darkmode

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to