[Libreoffice-bugs] [Bug 118320] Add support for Windows 10 dark mode

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Oct 11 16:44:04 UTC 2020


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

V Stuart Foote <vstuart.foote at utsa.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |quikee at gmail.com

--- Comment #40 from V Stuart Foote <vstuart.foote at utsa.edu> ---
@Mike, Tomaž, *

In comment 16, Adolfo had mentioned the 'AppsUseLightTheme' registry detection
that the Chromium project had adopted. That looks to still be valid--but does
not directly read the Windows UI theme.

One of the other suggestions in a Stack Overflow thread [1] is that the Windows
RT API does support use on normal win32 desktop programs.

Looking at winrt API [2], example suggests with

#include <winrt/Windows.UI.ViewManagement.h>
using namespace winrt::Windows::UI::ViewManagement;

calls to the winrt UISettings namespace expose the UWP and Desktop UI to c++
calls for normal win32 desktop apps.

It would be Windows 10 only, but if not too problematic for building, it might
expose the full Windows UI theming for LO to parse?

Win7, Win8.1 would remain unsupported--and issues with HC mode toggle like bug
99116 would remain.


=-ref-=
[1]
https://stackoverflow.com/questions/51334674/how-to-detect-windows-10-light-dark-mode-in-win32-application

[2]
https://docs.microsoft.com/en-us/uwp/api/Windows.UI.ViewManagement.UISettings?view=winrt-19041

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201011/79e47541/attachment.htm>


More information about the Libreoffice-bugs mailing list