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

--- Comment #78 from V Stuart Foote <[email protected]> ---
As Caolán notes:

"Its possible it makes more sense to not try and use the windows control
drawings apis and just set some dark colors and draw with the old
built-in vcl widget rendering or alternative."

The uxtheme.dll ShouldAppsUseDarkMode() and SetPreferredAppMode() mechanism is
functional if not the best documented API [1] for Win32 WDM development, but
much better than other suggested approach of reading a DWORD value from the
Windows Registry. 

But as the APIs are structured it means we can only provide DarkMode to Win 10
build 1904 (18362) or later (with things still settling out for changes in Win
11). It can not support Win 7.1, 8, 8.1 or earlier builds of Win 10. How much
of an issue is that? And as Caolán suggests are we better served to round out
the VCL based "Application Colors" dialog with the additional widgets that need
UI color assignment?

[1] https://github.com/microsoft/WindowsAppSDK/issues/41


=-off-topic-=

Given that the vaunted "Tabbed UI" MUFFIN assemblages for the Notebook Bar are
not native MS "Ribbon framework" code it remains wrong to put that forward as a
work alike, especially as the standard UI toolbars, menus and dialogs
supplemented with the Sidebar deck are the documented (and fully supported)
LibreOffice work flows cfross-platform. Absent a major refactoring there, we do
a disservice to users by steering them to the Tabbed UI--but that is off topic.

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

Reply via email to