Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Error on Swapping Desktops #21

Open
ghost opened this issue Nov 9, 2020 · 2 comments
Open

Error on Swapping Desktops #21

ghost opened this issue Nov 9, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Nov 9, 2020

I'm unable to swap desktops after latest windows update.

I'm on Windows 10 v20H2 build 19042.610

This is the error I get:

System.ArgumentException: Value is not within expected range.
   at WindowsDesktop.Interop.ComInterfaceWrapperBase.Invoke[T](Object[] parameters, String methodName) in D:\a\SylphyHornEx\SylphyHornEx\source\VirtualDesktop\source\VirtualDesktop\Interop\ComInterfaceWrapperBase.cs:line 60
   at WindowsDesktop.Interop.VirtualDesktopManagerInternal.MoveViewToDesktop(ApplicationView pView, VirtualDesktop desktop) in D:\a\SylphyHornEx\SylphyHornEx\source\VirtualDesktop\source\VirtualDesktop\Interop\(wrappers)\VirtualDesktopManagerInternal.cs:line 18
   at WindowsDesktop.VirtualDesktopHelper.MoveToDesktop(IntPtr hWnd, VirtualDesktop virtualDesktop) in D:\a\SylphyHornEx\SylphyHornEx\source\VirtualDesktop\source\VirtualDesktop\VirtualDesktopHelper.cs:line 52
   at SylphyHorn.Services.VirtualDesktopMoveService.SwapDesktops(VirtualDesktop source, VirtualDesktop target) in D:\a\SylphyHornEx\SylphyHornEx\source\SylphyHorn\Services\VirtualDesktopMoveService.cs:line 45
   at SylphyHorn.Services.VirtualDesktopMoveService.MoveLeft() in D:\a\SylphyHornEx\SylphyHornEx\source\SylphyHorn\Services\VirtualDesktopMoveService.cs:line 20
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
@ghost
Copy link
Author

ghost commented Nov 10, 2020

Nevermind...seems like a reboot fixed it

@ghost ghost closed this as completed Nov 10, 2020
@ghost
Copy link
Author

ghost commented Feb 14, 2021

Seems like I have to reopen this issue, it's still an issue and happens quire regularly.

@ghost ghost reopened this Feb 14, 2021
@ViRb3 ViRb3 added the bug Something isn't working label Apr 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant