t1m0thyj / WinDynamicDesktop

Port of macOS Mojave Dynamic Desktop feature to Windows
https://windd.info
Mozilla Public License 2.0
4.38k stars 292 forks source link

Crash at startup #457

Closed jptrx closed 2 years ago

jptrx commented 2 years ago

Steps to Reproduce:

Nothing to reproduce really. When WDD is trying to start a following error message is shown (see files attached)

Are you using the Microsoft Store version of WDD?: Yes/No

Yes

wdd_error WinDynamicDesktop.dll.log

2d78 commented 2 years ago

The same problem.

WinDynamicDesktop.exe.log

hots82 commented 2 years ago

Yep... I have the same problem... Working good on win10 though. Doesent matter if it from store or from here... Same thing... I didn't tried to install older versions though...

t1m0thyj commented 2 years ago

I believe I may have fixed this issue, could you try a dev build from here? https://github.com/t1m0thyj/WinDynamicDesktop/actions/runs/2573755334

If you scroll to the bottom of the page, there are artifacts and you can download an EXE for your platform.

thushanperera95 commented 2 years ago

I believe I may have fixed this issue, could you try a dev build from here? https://github.com/t1m0thyj/WinDynamicDesktop/actions/runs/2573755334

If you scroll to the bottom of the page, there are artifacts and you can download an EXE for your platform.

No luck, I'm still getting the same issue with this build. WinDynamicDesktop.exe.log

t1m0thyj commented 2 years ago

What were you doing with WDD when the error happened? Were you opening the Select Theme dialog and did you have the Ventura theme selected? Asking because I found another bug related to that scenario.

thushanperera95 commented 2 years ago

Yep, opening the Select Theme dialog after going through the set location setup. It's a fresh install - so I don't have any themes selected.

juuwong commented 2 years ago

Encountering a similar issue on WDD 5.x including Microsoft Store version. OS Name: Microsoft Windows 11 Pro OS Version: 10.0.21996 N/A Build 21996 debug.log WinDynamicDesktop_5.0.0_x64_Portable.exe.log

Last stable version is 4.7.0

carlosvsilva commented 2 years ago

I also got a crash happening to me on WDD startup, that only begun after latest Windows Update KB5016695 and KB5016591, that updated Win 11 22H2 and .NET 3/4, to Windows version 10.0.22621.457 (Release Preview), maybe the final build for public worldwide release of Win 11 22H2 next month.

[2022-08-23 19:32:11.514] System.IndexOutOfRangeException: Index was outside the bounds of the array. at WinDynamicDesktop.WallpaperEngine.RunScheduler(Boolean forceImageUpdate) at WinDynamicDesktop.AppContext..ctor(String[] args) at WinDynamicDesktop.Program.Main(String[] args)

Happens with or without scripts installed. No theme active. Windows Store latest version 5.0.3.0

WinDynamicDesktop.dll.log debug.log

carlosvsilva commented 2 years ago

I workedaround my startup crash by setting an active theme in AppData\Packages\WinDynamicDesktop\LocalState\settings.json:

"activeThemes": [ "Windows_11" ],

before it was null. So the code using this array should expect null value in it.

t1m0thyj commented 2 years ago

This should be fixed in v5.1.0.