WinDynamicDesktop
WinDynamicDesktop copied to clipboard
Error when opening windynamicdesktop
- WDD Version: i cant open the windynamicdesktop but i reinstalled to the 5.1.0
- OS Version: Windows 10 pro 21H2 Steps to Reproduce:
- open windynamic desktop on windows 10 pro 21H2
- receive this error:
object reference not set to an instance on an object.
Are you using the Microsoft Store version of WDD?: No
Could you attach the contents of the settings.conf or settings.json file in the same folder as the log file? Feel free to redact location info from them.
To work around the issue, you can delete the settings file to reset WDD settings and relaunch WDD.
where is this file located?
there is no folder windynamicdesktop where the app is saying that there is.
See the steps here to find the location where WDD is installed: https://github.com/t1m0thyj/WinDynamicDesktop/wiki/Troubleshooting#finding-where-app-is-installed
See the steps here to find the location where WDD is installed: https://github.com/t1m0thyj/WinDynamicDesktop/wiki/Troubleshooting#finding-where-app-is-installed
followed this did not find any folder that has this name in localapp %LOCALAPPDATA%\Programs
From the Windows start menu, can you right click on WinDynamicDesktop and select Open file location?
I have the same issue "Index was outside the bounds of the array."
WDD version: 5.1.0 From Microsoft Store: No
I tried the steps you mentioned but did not help, I also tried to insert ["Windows_10"] into activeTheme key as someone has suggested, didn't help too.
Happened right after choosing timezone. When I try to select another theme, this error pops up and there is only Windows theme named as "None".
My current Windows version is - 21H2, build 19044.2006
Config file looks like this:
{ "locationMode": 1, "location": null, "latitude": null, "longitude": null, "sunriseTime": null, "sunsetTime": null, "sunriseSunsetDuration": 0, "activeThemes": null, "darkMode": false, "changeLockScreen": false, "enableShuffle": false, "lastShuffleDate": null, "shuffleHistory": null, "favoriteThemes": null, "language": "en", "autoUpdateCheck": true, "lastUpdateCheckTime": "09/17/2022 19:24:11", "hideTrayIcon": false, "fullScreenPause": false, "enableScripts": false, "debugLogging": false }
Error:
[2022-09-17 17:24:12.735] System.IndexOutOfRangeException: Index was outside the bounds of the array. at WinDynamicDesktop.ThemeDialog.<>c__DisplayClass7_0.<GetDisplayNames>b__4(KeyValuePair
2 x) at System.Linq.Enumerable.SelectIPartitionIterator
2.LazyToArray() at System.Linq.Enumerable.SelectIPartitionIterator`2.ToArray() at WinDynamicDesktop.ThemeDialog.GetDisplayNames() at WinDynamicDesktop.ThemeDialog.ThemeDialog_Load(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Form.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.Form.WmShowWindow(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
@Jaxsss Since the error message mentions GetDisplayNames
, this error seems related to the number of displays you have connected and some of them not being detected correctly. How many screens/monitors do you have?
I have 3 monitors. All of them are detected in Windows Settings and also in NVIDIA Control Panel, I do have all three of them connected to graphics card.
Closing since the original issue has gone stale and the other issue (IndexOutOfRangeException) is tracked in #498