WinDynamicDesktop icon indicating copy to clipboard operation
WinDynamicDesktop copied to clipboard

errors after startup windynamic desktop

Open rtmburg opened this issue 3 years ago • 4 comments

  • WDD Version: 5.1.0
  • OS Version: Windows 11 pro 22H2 (build 22621.521)

Steps to Reproduce:

  1. Start windows
  2. Then pop up appears with following message: image

Error in logfile is: [2022-10-05 14:06:19.853] System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component. at WinDynamicDesktop.COM.IDesktopWallpaper.GetMonitorDevicePathAt(UInt32 monitorIndex) at WinDynamicDesktop.WallpaperApi.SetWallpaper(String imagePath, Int32 displayIndex) at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)

This happens regularly, but not all the time.

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

I hope anyone can help. I love the program.

rtmburg avatar Oct 05 '22 14:10 rtmburg

Problem still persists. Anybody who can help?

rtmburg avatar Jan 10 '23 19:01 rtmburg

Do you still see this error in the latest version of WinDD? Since version 5.4.2, errors setting the wallpaper are handled more gracefully - they still show a warning but should no longer crash the app.

t1m0thyj avatar Mar 14 '24 04:03 t1m0thyj

I can confirm the error. The problem occurs when I use different wallpapers on different displays. Previously it worked fine for a few days. Later I realised that the monitor name in the drop-down list does not match the monitor to which the wallpaper was assigned. After a restart, the problem described above now occurs. One guess: Is it possible that the monitor list is out of date? I changed my configuration 2 days ago.

codemaster2837 avatar Apr 26 '24 06:04 codemaster2837

Is there a solution to this problem? WinDD has been working fine for the last few weeks, but now the problem has returned. Here is the excerpt from the error log:

[2024-04-26 06:25:02.717] System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at WinDynamicDesktop.COM.IDesktopWallpaper.GetMonitorDevicePathAt(UInt32 monitorIndex)
   at WinDynamicDesktop.WallpaperApi.SetWallpaper(String imagePath, Int32 displayIndex)
   at WinDynamicDesktop.UwpHelper.SetWallpaper(String imagePath, Int32 displayIndex)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

codemaster2837 avatar May 31 '24 07:05 codemaster2837