Skip to content
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

Error when applying theme to lock screen #564

Closed
InfinitGit opened this issue Feb 18, 2024 · 5 comments
Closed

Error when applying theme to lock screen #564

InfinitGit opened this issue Feb 18, 2024 · 5 comments
Labels
bug Something isn't working priority-medium
Milestone

Comments

@InfinitGit
Copy link

  • WDD Version: 5.4.1 UWP
  • OS Version: Win11 Home 23H2

Steps to Reproduce:

  1. Change display selection to "Lock screen"
  2. Attempt to apply any theme to the "Lock screen"

Error:
image

Logfile:
"[2024-02-18 18:52:13.988] System.IndexOutOfRangeException: Index was outside the bounds of the array.
at WinDynamicDesktop.EventScheduler.Run(Boolean forceImageUpdate, DisplayEvent overrideEvent)
at WinDynamicDesktop.ThemeDialog.ApplySelectedTheme()
at WinDynamicDesktop.ThemeDialog.applyButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)"

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

@t1m0thyj
Copy link
Owner

t1m0thyj commented Feb 19, 2024

@InfinitGit Thanks for reporting this. So far I haven't been able to reproduce the issue - am able to apply themes to the lock screen on both a laptop and a multi-monitor desktop. How many monitors/displays do you have and which theme do you have selected for each one?

Also if you navigate to the folder where WinDynamicDesktop EXE is located, there should be a "report.log" file that contains a more detailed error report. Please upload this file to the issue.

@t1m0thyj t1m0thyj added bug Something isn't working priority-medium labels Feb 19, 2024
@Ghadeem
Copy link

Ghadeem commented Feb 20, 2024

I encounter the same error every time I open the app or press the 'refresh wallpaper' button, even though I haven't enabled the lock screen option. I'm currently using the Big Sur theme and originally used the Windows Store version of the app. However, I faced this issue, so I downloaded version 5.4.1 from GitHub, and that's when this issue started occurring. I have attached the 'report.log' file for your reference and action.
debug.log
report.log
WinDynamicDesktop.dll.log

@t1m0thyj
Copy link
Owner

@Ghadeem The bug you've reported is different from the lock screen error - please see #563 (comment) for how to fix it. Thanks for attaching the logs, they helped me to diagnose the issue.

@InfinitGit Please provide logs when you have a chance (see my comment above). I still haven't been able to reproduce the lock screen issue.

@t1m0thyj
Copy link
Owner

t1m0thyj commented Feb 21, 2024

@InfinitGit After further investigation I think I identified the cause of the error. Please download the latest test build from here and try to apply a theme to the lock screen again. If it still doesn't work, then please send logs as I mentioned in earlier comment.

@t1m0thyj
Copy link
Owner

Fixed in 5.4.2

@t1m0thyj t1m0thyj added this to the Next Release milestone Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority-medium
Projects
None yet
Development

No branches or pull requests

3 participants