View Issue Details

IDProjectCategoryView StatusLast Update
0034308LazarusWidgetsetpublic2020-05-17 15:34
ReporterHans Luijten Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformWindowsOSWindows 10 (64bit) 
Product Version1.8.5 (SVN) 
Summary0034308: Windows Widget Set does not detect "default app mode" (Dark mode/ Dark Theme)
DescriptionRecent Windows 10 version(s) have the option to set the "default app mode" to either "dark" or "light" (default), and the option to change "accent colors".

In Windows: go to "Settings" - "Personalization" - "Colors", you'll find the accent colors here. Scroll to the bottom where you'll see "Choose your default app mode".

The windows widget set however does not seem to be aware this.
This seems to be a UWP or Metro style? But I'm not knowledgable about either.

Seems some of this can be found in the registry, but I'm not a Windows expert:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize\
Where "AppsUseLightTheme"=1 if light theme is being used, and =0 if dark theme is being used.

Not sure how helpful these resources are:
https://msdn.microsoft.com/en-us/library/windows/hardware/dn772323(v=vs.85).aspx
https://docs.microsoft.com/en-us/windows/uwp/design/style/color
Steps To ReproduceMake a new project/application. Nothing on it.
Build and run. It's using the light theme.
Close the application.
Switch Windows to dark theme.
Run the application again: still light mode.
Additional InformationLazarus 1.9.0 r58963 FPC 3.0.4 i386-win32-win32/win64
TagsNo tags attached.
Fixed in Revision
LazTarget
WidgetsetWin32/Win64
Attached Files

Relationships

related to 0033440 new [FEATURE REQUEST] Change the theme of entire IDE 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-09-20 14:56 Hans Luijten New Issue
2020-05-17 15:34 Juha Manninen Relationship added related to 0033440