digitalcreations / MaxTo

Public issue tracker for MaxTo
https://docs.maxto.net
76 stars 5 forks source link

Windows can't be moved to a different monitor if on same virtual desktop #358

Closed heystenner closed 5 years ago

heystenner commented 5 years ago

Describe the bug I have tree monitors installed. When I use a recipe to move a window to a specific monitor AND to a specific virtual desktop, it only works, if I am on a different virtual desktop. If I'm on the same virtual desktop, the window won't move.

To Reproduce

Expected behavior The window is supposed to move to another monitor.

System information:

Additional context `2019-03-09 17:12:30 [Core@2.0.0.470] [Information] Executing recipe '"Auf Desktop 3"' with 1 ingredients

2019-03-09 17:12:35 [Core@2.0.0.470] [Information] Recipe '"Auf Desktop 3"' executed successfully.

2019-03-09 17:12:51 [Core@2.0.0.470] [Information] Executing recipe '"Auf Desktop 3"' with 1 ingredients

2019-03-09 17:12:52 [Core@2.0.0.470] [Information] Recipe '"Auf Desktop 3"' executed successfully.

2019-03-09 17:13:01 [Core@2.0.0.470] [Information] Executing recipe '"Auf Desktop 3"' with 1 ingredients

2019-03-09 17:13:35 [Core@2.0.0.470] [Information] Recipe '"Auf Desktop 3"' executed successfully.`

Squirrel* : none

vegardlarsen commented 5 years ago

Thank you again for this report. If you run this on the command line, it would actually hang indefinitely:

maxto window move /VirtualDesktop 1 /Monitor "\\.\DISPLAY1"

I have fixed this now, so that we do not attempt to move a window between virtual desktops if the virtual desktop corresponds to the desktop you want to move the window to.

This fix will be in the next release.

heystenner commented 5 years ago

Hey @vegardlarsen thank you, I'm looking forward to it.