stefansundin / altdrag

:file_folder: Easily drag windows when pressing the alt key. (Windows)
https://stefansundin.github.io/altdrag/
GNU General Public License v3.0
1.43k stars 94 forks source link

Alt-tab is not possible on Windows 11 #145

Open RavenMacDaddy opened 3 years ago

RavenMacDaddy commented 3 years ago

I read the old issue from 2015 about Windows 10.

Is there anything to add to the blacklist manually for Windows 11 till it's included in a new release?

EDIT: I tried adding #32771 according to the official documentation here, but it doesn't seem to work.

bew commented 3 years ago

note: a workaround might be to not use Alt as the main key for altdrag, but the windows key (which is usually less used)

RavenMacDaddy commented 3 years ago

note: a workaround might be to not use Alt as the main key for altdrag, but the windows key (which is usually less used)

That's actually a good point.

stefansundin commented 3 years ago

My computer can't run Windows 11 lol. It's not just the TPM requirement, but also my chipset/CPU is not supported. Maybe I'll try to by-pass it.

RamonUnch commented 3 years ago

@RavenMacDaddy I suggest you use the "Window Spy" AutoHotkey script to determine the class name of the Alt+Tab window, in this script you can check the Follow Mouse option and you should be able to see the the ahk_class value that has to be blacklisted. when pressing Alt+Tab and pointing the cursor to the said window. A simple fix would be to add the ability to disable AltDrag when tab is pressed down, this would avoid any interaction with any Alt+Tab windows. This is the solution I used.

I myself have not seen yet any computers with windows 11 and have zero machines eligible for it.

RamonUnch commented 3 years ago

You could also try to add Task Switching|* to the blacklist (if you are using the English edition of Win11), maybe the title of the window stayed the same from Win10...

RamonUnch commented 3 years ago

Sorry to make so many posts but actually the item to blacklist to add should be: *|XamlExplorerHostIslandWindow see https://github.com/RamonUnch/AltSnap/pull/79 for more details

RavenMacDaddy commented 3 years ago

Sorry to make so many posts but actually the item to blacklist to add should be: *|XamlExplorerHostIslandWindow see RamonUnch/AltSnap#79 for more details

No worries, I work the same way, and the solution seems to work - cheers.