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

Moving a program with you to another virtual desktop #16

Open
AnthonyLenglet opened this issue May 7, 2019 · 15 comments
Open

Moving a program with you to another virtual desktop #16

AnthonyLenglet opened this issue May 7, 2019 · 15 comments
Labels
Idea-New PowerToy Suggestion for a PowerToy Product-Virtual Desktop Refers to the idea of an Improved Virtual Desktop power toys

Comments

@AnthonyLenglet
Copy link

AnthonyLenglet commented May 7, 2019

One of the thing I've found lacking ever since I started using the virtual desktops is the ability to move a window with you while moving to another virtual desktop.

Currently, we can move to another desktop using the shortcut ctrl + win + left/right, I feel like a shortcut along the lines of ctrl + win + alt + left/right could be used to make the current active window move with you to the next desktop

I have no idea if this fits as a powertoy, please tell me if it doesn't !

@StrScr
Copy link

StrScr commented May 8, 2019

I currently use Virtual Desktop Enhancer to that effect. It's no longer maintained, but still works. You can configure keyboard shortcuts to move the currently focused program to an adjacent desktop, either with you or without changing desktops yourself.

I personally have set Ctrl + Alt + Win + Left/Right to move a program without switching and Ctrl + Shift + Win + Left/Right to take a program along.

@jburb
Copy link

jburb commented May 9, 2019

An existing alternative to virtual desktop enhancer, MoveToDesktop, is not archived, though it is limited to this one virtual desktop feature (move window hotkey). For me it's indispensable, and would be great to have the feature natively!

@jaimecbernardo jaimecbernardo added Idea-Enhancement New feature or request on an existing product Idea-New PowerToy Suggestion for a PowerToy and removed Idea-Enhancement New feature or request on an existing product labels May 9, 2019
@crutkas crutkas changed the title Moving a program with you to another desktop Moving a program with you to another virtual desktop Oct 28, 2019
@crutkas crutkas added the Product-Virtual Desktop Refers to the idea of an Improved Virtual Desktop power toys label Dec 4, 2019
@crutkas
Copy link
Member

crutkas commented Dec 19, 2019

for keeping stuff documented, https://docs.microsoft.com/en-us/sysinternals/downloads/desktops is one tool that had a basic UX for virtual desktops long ago

SeraphimaZykova added a commit to SeraphimaZykova/PowerToys that referenced this issue Jan 30, 2020
* added locks in FancyZones (microsoft#12)
* deadlock fix (microsoft#15)
ryanbodrug-microsoft pushed a commit to ryanbodrug-microsoft/PowerToys that referenced this issue Apr 14, 2020
Set AutoUpdates off as default setting
@DanEdens
Copy link

DanEdens commented Sep 8, 2020

You can already do this with the standard virtual desktop, right click the window in the tab switcher and select show this window on all desktops.

image

@AnthonyLenglet
Copy link
Author

You can already do this with the standard virtual desktop, right click the window in the tab switcher and select show this window on all desktops.

image

This isn't exactly the same thing (the proposal is mainly useful for when it comes to reorganising your windows using nothing but the keyboard) but it definitely helps for some cases

@DanEdens
Copy link

DanEdens commented Sep 8, 2020

Ah toggle that setting on the active window, actually I really like that and would use that more often. Good call imo.

@bitwiseman
Copy link

Note: #4298 is basically a duplicate of this idea, though it talks about "sending" a window to a specific virtual desktop rather than bringing it with when switching.

@Tritlo
Copy link

Tritlo commented Apr 14, 2021

XMonad only has the concept of sending a window over, and then you switch over with the usual command. More useful that way I'd think, since I often want to "clean up" and send a window I don't want to close somewhere else.

@Sarafian
Copy link

Sarafian commented Aug 9, 2021

Not to claim that this is the most useful post ever, but in my previous setup, I had a tool that did two things that I liked

  • Move windows between desktop using Win+Alt+Left/Right. Compated with the MoveToDesktop, this worked even when the app had already moved to another desktop
  • Show the name of the desktop when switching

I don't remember the name and I also cannot find it, hence my original remark of "not the most useful post ever". Sorry and if I find it I'll update here. It was certainly on github and worked as a portable as well. The app deserves much more visibility as well. If anyone knows it, please post as well because it would be a great base to discuss upon.

@rinzwind5
Copy link

Not to claim that this is the most useful post ever, but in my previous setup, I had a tool that did two things that I liked

  • Move windows between desktop using Win+Alt+Left/Right. Compated with the MoveToDesktop, this worked even when the app had already moved to another desktop
  • Show the name of the desktop when switching

I don't remember the name and I also cannot find it, hence my original remark of "not the most useful post ever". Sorry and if I find it I'll update here. It was certainly on github and worked as a portable as well. The app deserves much more visibility as well. If anyone knows it, please post as well because it would be a great base to discuss upon.

One that does that (it uses WIN-key+1..20 to switch to desktops) is WS Virtual Desktop Tool, available on the MS Store . It too does transfer windows to a desktop with shortcuts. https://www.microsoft.com/en-us/p/ws-virtual-desktop-tool/9n5wrj22t733?activetab=pivot:overviewtab

@Sarafian
Copy link

One that does that (it uses WIN-key+1..20 to switch to desktops) is WS Virtual Desktop Tool, available on the MS Store . It too does transfer windows to a desktop with shortcuts. https://www.microsoft.com/en-us/p/ws-virtual-desktop-tool/9n5wrj22t733?activetab=pivot:overviewtab

Thank you. It was not from the store but a stand alone executable. Might have evolved to the paid app's link.

@krisrok
Copy link

krisrok commented Feb 7, 2022

Since we're collecting... this one also provides the functionality: https://github.com/ViRb3/SylphyHornEx

@ariccb
Copy link

ariccb commented Feb 9, 2022

And to follow krisrok's link, here's one that actually works on Win11. These obviously are just workarounds and it would be MUCH preferred to have a PowerToys version of the functions provided by these applications.
https://github.com/hwtnb/SylphyHornPlusWin11

@renantmagalhaes
Copy link

renantmagalhaes commented Jun 15, 2022

Since my ticket was closed as a duplicate, I think it's better to post it here.

The solution I found to achieve this relies in a AHK Script

Answer found here: https://superuser.com/questions/950452/how-to-quickly-move-current-window-to-another-task-view-desktop-in-windows-10.

I edited the keybindings from the original owner to ctrl + shit +win + left/right

^+#Left::
  WinGetTitle, Title, A
  WinSet, ExStyle, ^0x80, %Title%
  Send {LWin down}{Ctrl down}{Left}{Ctrl up}{LWin up}
  sleep, 50
  WinSet, ExStyle, ^0x80, %Title%
  WinActivate, %Title%
Return

^+#Right::
  WinGetTitle, Title, A
  WinSet, ExStyle, ^0x80, %Title%
  Send {LWin down}{Ctrl down}{Right}{Ctrl up}{LWin up}
  sleep, 50
  WinSet, ExStyle, ^0x80, %Title%
  WinActivate, %Title%
Return

Just compile it as an executable and put it on shell:startup

@jaimecbernardo
Copy link
Collaborator

Interesting solution.
Sending Keypresses to activate the shortcut is a bit hacky, but if it works it's nice :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Idea-New PowerToy Suggestion for a PowerToy Product-Virtual Desktop Refers to the idea of an Improved Virtual Desktop power toys
Projects
Status: No status
Development

No branches or pull requests