-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Dark Theme setting does not immediately reflect the change to the system level setting #1270
Comments
I see, but do peopel so often switch? Is there a system wide message issued when the change occurs or would I have to monitor the registry key for changes continuously? |
As far as I know, when apps' theme mode, system's theme mode, and/or the accent color changed (or other theme-related settings such as transparency), there will usually be two kinds of broadcast messages:
Those messages will be broadcast even if you directly changed the corresponding registry value. From the section name "ImmersiveColorSet", I can assume that the program will not receive such WM_SETTINGCHANGE messages when it is running under Windows 7 or earlier Windows systems. Also, I found that changing theme once will issue multiple WM_SETTINGCHANGE and WM_DWMCOLORIZATIONCOLORCHANGED messages in Windows 10. Haven't tested it on Windows 8 or 8.1. |
great! will be fixed in next build then :) |
Describe the bug
I know that to fully apply the light/dark theme change, you may still have to restart Sandboxie.
But when you change the setting manually in Sandboxie's global options, it will try to redraw the UI to reflect the theme change.
However, when the dark theme setting is set to follow the Windows system setting, and the system level setting is changed when Sandboxie is running, Sandboxie will not change its theme or redraw anything. It will keep its current theme until you restart Sandboxie.
Expected behavior
Sandboxie should change its theme when its theme is set to follow the system theme and the system theme changes.
System details
The text was updated successfully, but these errors were encountered: