-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Not auto change to System Theme #13
Comments
I'm not sure I understand what the problem is. It seems to be working for me. |
Oh, Sorry. Having windows in Light Theme open Tray ToolBar and in settings select System in Theme, now click Save. |
Similarly - at least for me - starting TrayToolbar with the theme set to "System" and Windows already set to dark mode, the context menu does not get its dark theme until the SettingsForm is first shown. I think maybe it's partially because when the program first starts with an invisible window (SettingsForm.SetVisibleCore is overridden to allow this I guess), the window handle hasn't been created/assigned yet, so SettingsForm_HandleCreated doesn't run and it won't set the dark theme preference until the SettingsForm is actually shown for the first time? I added 2 lines to the beginning of
But this doesn't fix the other half of the issue as @SiTWulf described above - If TrayToolbar is already running and the SettingsForm has still not been shown for the first time, changing the Windows theme doesn't appear to change the theme of TrayToolbar's context menu. Not sure why that is ... unless it's because the event handler for theme changing also doesn't run correctly until the form is first shown? Anyway, thank you for creating this software. It replaces a much-missed Windows feature that I can't stand not having. |
I love all of the new features, and the follow system theme is really a perfect thing, but when I set the new option for Follow System Theme, only change when you enter in Options window.
The text was updated successfully, but these errors were encountered: