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

E_ACCESSDENIED when moving window to virtual desktop #704

Closed
vegardlarsen opened this issue Feb 16, 2021 · 1 comment
Closed

E_ACCESSDENIED when moving window to virtual desktop #704

vegardlarsen opened this issue Feb 16, 2021 · 1 comment
Labels
bug Confirmed bug in MaxTo.
Milestone

Comments

@vegardlarsen
Copy link
Member

Describe the bug

Recipes that move windows to other virtual desktops fails with a cryptic error message.

System information:

  • MaxTo version: 2.2.0-beta.1

Additional context

Received exception from command request 1 while executing '"Move to Virtual Desktop #2"'. Aborting.
System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
   at MaxTo.Core.Native.VirtualDesktops.Interop.IVirtualDesktopManager.MoveWindowToDesktop(IntPtr topLevelWindow, Guid& desktopId)
   at MaxTo.Core.Commands.Window.MoveCommand.<Execute>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MaxTo.Core.Commands.CommandBase`2.<Execute>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MaxTo.Core.Commands.CommandExecutor.<Execute>d__2.MoveNext()
@vegardlarsen vegardlarsen added the bug Confirmed bug in MaxTo. label Feb 16, 2021
@vegardlarsen vegardlarsen modified the milestones: 2.2.0, 2.2.0-beta.2 Feb 16, 2021
@vegardlarsen
Copy link
Member Author

This issue has been fixed for 2.2.0-beta.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bug in MaxTo.
Projects
None yet
Development

No branches or pull requests

1 participant