microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
109.63k stars 6.46k forks source link

Exclude window from alt + Tab keyboard shortcut #15579

Open ROIHASS opened 2 years ago

ROIHASS commented 2 years ago

Description of the new feature / enhancement

adding support to mark window as excluded of alt + Tab keyboard shortcut

Scenario when this would be used?

On browsing between windows with alt + Tab keyboard shortcut

Supporting information

No response

franky920920 commented 2 years ago

I think this should be the enhancement of Windows 10/11 (The operating system), not for PT, a utility.

Please file this at the Feedback Hub

crutkas commented 2 years ago

you can orphan it via Keyboard manager.

image

ROIHASS commented 2 years ago

@crutkas
The option you present here is to disable the feature as is. My idea is to select specific window to exclude.

crutkas commented 2 years ago

Can you explain more why? /needinfo

ROIHASS commented 2 years ago

When working with multiple windows and there is unusable opened window in background (music player for example). And you don't want him to live in alt + tab shortcut

hced commented 2 years ago

I don't know if my request pertains to the same thing @ROIHASS was looking for, but I'd like to be able to set specific apps to be excluded from Alt-Space (PowerToys Run default activation shortcut). When trying to use @crutkas tip ...

you can orphan it via Keyboard manager.

... I'd assume this method would work but it doesn't (note: this uses different shortcuts for testing purposes only; I still want Alt-Space to be my go to launch shortcut).

Snag_f23054f

I'd very much like to use Alt-Space globally, but just not in certain apps such as Autodesk Maya. I hope this will be possible to change at some point up the road.

ROIHASS commented 2 years ago

can you add this feature at least for always on top window? exclude always on top window from alt+ Tab function

crutkas commented 2 years ago

so reading this, what worries me about doing this type of behavior about excluding certain windows is you're making certain windows not keyboard accessible. this could really unintentionally impact certain user groups or lets say your mouse battery runs out.

tadly commented 1 year ago

Here is my usecae.

3 Monitor setup at work. The one to the right is vertical and has teams, obisidan and outlook. These windows are set to "Show on all virtual Desktops" hence accessible at all times.

While coding I essentially only want to alt+tab my editor, the browser and what else is on the main monitor for the current workspace. Sometimes however I focus outlook or teams to reply to a message which completely screws me over the next time I alt+tab (back in outlook instead of the browser for example)

@crutkas argument is very valid though.

Would it be possible to flag windows as "not important" so they always stay at back of the alt+tab switcher? If you really need to, you can still access them with akeyboard but they stay out of your way for the most part.

Ihor16 commented 1 year ago

There's this AutoHotkey script that can exclude windows from Alt+Tab: https://www.reddit.com/r/software/comments/s6jcaz/comment/ht5ta3q/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

rzfzr commented 5 months ago

There's this AutoHotkey script that can exclude windows from Alt+Tab: https://www.reddit.com/r/software/comments/s6jcaz/comment/ht5ta3q/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

Just tried this script, it works very well for some windows, but doesn't for others.... (whatsapp, toggl)