autodarkmode / windows-auto-night-mode Goto Github PK
View Code? Open in Web Editor NEWAutomatically switches between the dark and light theme of Windows 10 and Windows 11
License: GNU General Public License v3.0
Automatically switches between the dark and light theme of Windows 10 and Windows 11
License: GNU General Public License v3.0
It would be great if the checkbox to 'use accent color for taskbar' would be removed and be replaced with:
That's because I like the light white task bar, but I find the black one boring. Someone else might feel the reverse.
Thank you!
Most people have a lot of wallpaper, but now Configure Desktop Background only can pick file.
My current installation shows an Icon for both version 2.0.0.0 (Auto Night Mode) and version 2.2.0.0, Auto Dark Mode.) Clicking on the icon for the old version launches an update prompt, and the new icon launches the current version.
Attempting to uninstall just takes me to removing the current version.
Describe the bug
An option for 12-hour time (AM/PM) would be helpful for American users, among others.
Please add selection fields for Minuts and not only for hours
This might be something to think about a bit down the line, but I'd love it if it would eventually change the theme based on the sunrise and sunset times.
I do think this is a feature that should have been baked into the OS, but thanks for making this app and taking care of it!
Switching theme...
It is most noticeable when playing a game. I'll be in the middle of a game, when all of a sudden, the game window goes out of focus when the theme changes from light to dark. Is there a way for you to fix this?
This would make updating the app so much easier.
Windows 10 1903, app version 2.0
The app works as expected, but Edge is consistently being set to the opposite of what it should be. When the system is light, it is dark, and when the system is dark, it is light.
This continues to be the case even after restarting Edge multiple times.
ANM applies the theme but after so much time, like 10-20 minutes. I tried reinstalling it several times. Nothing worked. Sometimes, it doesn't even work at all. Or, if I'm in an app like MyTube, it gets really glitchy. The only workaround right now is starting the application itself, as that immediately sets in/out dark mode. I hope this can be fixed, since the program is really wonderful, but it for some reason takes so long to work.
Windows 10 introduced a system light theme that tints the taskbar in the latest insider previews, which will come to the stable version in the first half of 2019.
With that, the theme can be changed in two ways separatelly, apps and system, inside the registry:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize
-AppsUseLightTheme
-SystemUsesLightTheme (this is the new one introducen in the latest previews, changes the taskbar)
Since Microsoft system UI and explorer are not synchronized with Microsoft edge browser by default, when switching to dark mode, the browser remains light. it could be useful to add the option for include also the browser, and change both system and browser theme at the same time, every time.
PS.
Thank you for your work, I really appreciate this tool!
Would you consider submitting this application to the Microsoft Store? I would be happy to help you along that process if you are interested.
AutoNight with Location Service works well but don't use the correct Time Zone.
e.g. Europe actual it is Winter time the Autonight Mode set to 9:00 am and 6:00 pm but it must be 8:00 am between 5:00 pm. So I guess the time zone will not corectly use.
Windows 1903
Provide the Windows executables... please...!!
I think this app need have user-manual hotkeys for switching "Windows" and "Apps" between 2 modes or both of it at the same time
I'm requesting a feature that would also toggle cursor color if possible.
Further if possible, is to choose the black cursor from the new Windows 10 feature color selection (rgb screen) instead of the default clickable icon in System - Easy of Access since it's better.
When run auto-night-mode, the setting windows is displayed in acryl mode(?) and it can not read for setting menus.
In ths case, by mouse hovering on the window, the setting menu become visible!
Unfortunately, the new update has brought more bad than good.
Additional context
I tried reinstalling, it didn't work.
Please add the ability to alter the start menu tile color to be the same as the current OS accent color. I don't really like the black that came with the new version, since it destroys consistency for my start menu. So adding the ability to change it to accent color would be great.
Thanks for the work on this useful program! :)
Describe the bug
The theme doesn't automatically change after waking up from sleep mode
To Reproduce
You set the app to change to light theme at 9am.
You put your computer to sleep at 11pm the day before
When you wake up your computer at 9:30am, the theme will still be dark.
Expected behavior
The app should check after waking up from sleep if it should perform the action.
Environment:
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The explorer shouldn't be buggy. I'd suggest your app could reload explorer.exe until MS fixes it.
Screenshots
1: appearance if a windows explorer is already opened: https://i.imgur.com/eYRZeY1.png
2: apperance if I quit the current window and open a new one: https://i.imgur.com/M7b2IWz.png
3: expected appearence, when I reload from task manager explorer.exe: https://i.imgur.com/qEFZVLT.png
Environment:
Additional context
-The same happens to me when I directly use the task scheduler to change theme.
Continuing my OG Thread: #22
The app doesn't update reliably. I have to check github myself every so often.
Perhaps get more detail before closing tickets?
I just opened the app's GUI today and I noticed there was an app update so naturally I downloaded the update and updated the program however, after I updated the program I can no longer open it at all, I search for the program in my start menu and click on it, but nothing ever opens windows must be trying to load something because my cursor does the loading wheel but that's about it.
When switching between themes, sometimes text and icons usually stay the same color until you reload. Normally this isn't an issue but there isn't a reliable and easy way to reload the taskbar.
Noticed this in 2.2.
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Common\UI Theme value should just be also changed for automatic dark theme.
Since version 2.2, dragging the app window has a noticeable lag to it.
Describe the bug
Opening and closing the dropdown list menu for language states "App restart needed to see the changes" despite no actual language changes having taken place.
To Reproduce
Steps to reproduce the behavior:
Sorry for waiting so long, but finally I'm working again on auto dark mode.
please try this .exe and send a screenshot of the error message. thank you.
heres a screenshot showing the error with the new .exe you gave me Link
Describe the bug
As you can see in the screenshot, the taskbar color is not changed after waking up from sleep/hibernation then the automatic theme is triggered. The icon colors, the Start menu, the system, and the apps are changed correctly.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Taskbar should be white. (Or dark if the dark theme is triggered)
Environment:
Additional context
Add any other context about the problem here.
Yesterday I installed Auto Dark Mode 2.1 and it seemed working OK.
But when I restarted the system around 22:00, the system could not activate a crtain application wgih I have been using for about 20 years (very old, but stable application). After some cut and try, I found that Auto Dark Mode 2.1 may be related (this is only one program I installed yesterday).
So I uninstalled Auto Dark Mode 2.1 and checked my system by restating and everything worked OK.
Then I found new Auto Dark Mode 2.1.1 is released and installed it, but no problem was recreated and worked OK.
The affeted my application uses VB6 runtime library SP5.
So could you explain what is "Some really important Bugs are now fixed" and affection of this bug?
That's more of a nice addition.
For example, more washed light pastel like accent like accent colors looks more distinct on Dark themes (Like in Material Design 2 (Android)) and vice versa.
Hope it can be implemented.
P.S. App is working great on 1903.
Describe the bug
When the system is powered on after the specified light time, it does not change the night mode!
Windows-Auto-Night-Mode only set the light and dark mode time on the task scheduler, and so if I power on PC after the specified light time, the dark mode remains unchanged.
Describe the bug
Another thing, the location status taskbar icon shows up for a few seconds but it disappears after a while.
To Reproduce
Press Use Location Service
Environment:
Windows 10 1903 18334.1
Auto-Night Mode 2.0
Hi, I've noticed today that using v1, the app tried to connect to the internet when switching theme. What's the reason behind that?
(I could tell because my custom firewall notifies me when an app tries to access internet)
Thanks. :)
Hi Armin,
on my german win 10 pro I get the following error when trying to start the app - both on normal users and admin users:
Frameworkversion: v4.0.30319
Beschreibung: Der Prozess wurde aufgrund einer unbehandelten Ausnahme beendet.
Ausnahmeinformationen: System.NullReferenceException
bei AutoThemeChanger.RegEditHandler.AppsUseLightTheme()
bei AutoThemeChanger.MainWindow..ctor()
Ausnahmeinformationen: System.Reflection.TargetInvocationException
bei System.RuntimeTypeHandle.CreateInstance(System.RuntimeType, Boolean, Boolean, Boolean ByRef, System.RuntimeMethodHandleInternal ByRef, Boolean ByRef)
bei System.RuntimeType.CreateInstanceSlow(Boolean, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)
bei System.RuntimeType.CreateInstanceDefaultCtor(Boolean, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)
bei System.Activator.CreateInstance(System.Type, Boolean)
bei System.RuntimeType.CreateInstanceImpl(System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo, System.Object[], System.Threading.StackCrawlMark ByRef)
bei System.Activator.CreateInstance(System.Type, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo, System.Object[])
bei System.Activator.CreateInstance(System.Type, System.Object[])
bei System.Xaml.Schema.SafeReflectionInvoker.CreateInstanceCritical(System.Type, System.Object[])
bei System.Xaml.Schema.SafeReflectionInvoker.CreateInstance(System.Type, System.Object[])
bei System.Xaml.Schema.XamlTypeInvoker.CreateInstance(System.Object[])
bei MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstanceWithCtor(System.Xaml.XamlType, System.Object[])
bei MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstance(System.Xaml.XamlType, System.Object[])
bei System.Xaml.XamlObjectWriter.Logic_CreateAndAssignToParentStart(MS.Internal.Xaml.Context.ObjectWriterContext)
bei System.Xaml.XamlObjectWriter.WriteStartMember(System.Xaml.XamlMember)
bei System.Xaml.XamlWriter.WriteNode(System.Xaml.XamlReader)
bei System.Windows.Markup.WpfXamlLoader.TransformNodes(System.Xaml.XamlReader, System.Xaml.XamlObjectWriter, Boolean, Boolean, Boolean, System.Xaml.IXamlLineInfo, System.Xaml.IXamlLineInfoConsumer, MS.Internal.Xaml.Context.XamlContextStack`1<System.Windows.Markup.WpfXamlFrame>, System.Windows.Markup.IStyleConnector)
bei System.Windows.Markup.WpfXamlLoader.Load(System.Xaml.XamlReader, System.Xaml.IXamlObjectWriterFactory, Boolean, System.Object, System.Xaml.XamlObjectWriterSettings, System.Uri)
bei System.Windows.Markup.WpfXamlLoader.LoadBaml(System.Xaml.XamlReader, Boolean, System.Object, System.Xaml.Permissions.XamlAccessLevel, System.Uri)
bei System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream, System.Windows.Markup.ParserContext, System.Object, Boolean)
bei System.Windows.Application.LoadBamlStreamWithSyncInfo(System.IO.Stream, System.Windows.Markup.ParserContext)
bei System.Windows.Application.LoadComponent(System.Uri, Boolean)
bei System.Windows.Application.DoStartup()
bei System.Windows.Application.<.ctor>b__1_0(System.Object)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
bei System.Windows.Threading.DispatcherOperation.InvokeImpl()
bei System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
bei MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)
bei System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
bei System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
bei System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
bei MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
bei System.Windows.Threading.DispatcherOperation.Invoke()
bei System.Windows.Threading.Dispatcher.ProcessQueue()
bei System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
bei MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
bei System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
bei MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
bei System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
bei System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
bei System.Windows.Application.RunDispatcher(System.Object)
bei System.Windows.Application.RunInternal(System.Windows.Window)
bei System.Windows.Application.Run(System.Windows.Window)
bei AutoThemeChanger.App.Main()
Some users run into issues while applying their settings. Only an error message is shown and the theme switch can not be enabled.
In Auto Dark Mode Version 2.3 the error messages got much more detailed. Please post a screenshot of your error message under this issue. Don't forget to add some information about your setup, like Windows version. This helps me to resolve this problem in a future update.
Thank you.
If you use Windows LTSC or LTSB, please see this post.
Describe the bug
So pretty much every day, I'll be using the computer when on the dot at 3:35pm the Windows Explorer theme will change to night mode. Opening up Auto Dark Mode, it will think for a mnute, as the sunrise and sunset times display as the default 7am and 7pm, but then it will update the location information, and they will go back to being correctly set, at which point Windows Explorer will switch back to light mode.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
This not to happen?
Environment:
Additional context
At first I thought it might be something to do with a timezone issue, because it was happening 2 hours before sundown. But as the sunset time has shifted it keeps happening at 3:35pm.
Describe the bug
Firefox 67 has a feature where websites can be styled differently in dark mode. Toggling dark mode using this program does not update any open pages.
To Reproduce
Steps to reproduce the behavior:
path\to\AutoDarkMode.exe /dark
in a PowerShellExpected behavior
Bugzilla should immediately update to be in dark mode.
Environment:
Additional context
This does work as expected when using the toggle in the Settings app, so there's a difference in beavior here.
Hi! I use chrome instead of edge, and it'd be great if I could use this application to single that browser out instead of edge.
Regardless of whether or not you have time to add this feature, thank you for your work on this application, I've been waiting for something like this after getting used to Nightowl on my mac.
As in the title. Sunrise and sunset time doesn't update automatically in background. I need to start application GUI to update it.
Thanks for this great software. I wonder if the desktop wallpaper changer in this app would support the slideshow (switching wallpapers automatically in a folder) in the future?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.