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

Switching desktops no longer works on new Windows 11 update. Build 22631.3007 #101

Open
konekowo opened this issue Jan 24, 2024 · 17 comments

Comments

@konekowo
Copy link

Switching desktops doesn't work, but creating and deleting them works fine.
This is on the new Windows 11 update 2024-01 Cumulative Update Preview for Windows 11 Version 23H2 for x64-based Systems (KB5034204) which was released yesterday on 1-23-2024

@cbs-cbs
Copy link

cbs-cbs commented Jan 25, 2024

Ah! I've been attempting to troubleshoot this for like 45 minutes and was becoming exceedingly frustrated. Other scripts work fine. When something like this happens, is it likely someone figures it out and posts a fix here, relatively soon? [I'm rather new to AHK in general].

@konekowo
Copy link
Author

Ok, looks like the people behind the VirtualDesktopAccessor.dll that this project uses had just fixed this in the latest release https://github.com/Ciantic/VirtualDesktopAccessor/releases. So I guess until the owner of this repository updates the dll file on the repository, we're going to have to replace the dll file with the new one as a fix.

@cbs-cbs
Copy link

cbs-cbs commented Jan 25, 2024

Can confirm - works again!

@ftanakasp
Copy link

Hi, sorry newbie here, can someone explain how can I replace the DLL? Thank you

@cbs-cbs
Copy link

cbs-cbs commented Jan 30, 2024

Download it from the link provided above, figure out where you initially put the script - the original DLL should just be with it. Copy/paste the new one (and allow it to overwrite the old one), or simply delete the old one and move the new one to the folder.

@ftanakasp
Copy link

Thanks, I have done this (I check the DLL properties to make sure it was the new one, it is was the one created on the 29th), I tried even to fork a version of the repository and included the new dll download it and still not working, only able to delete and create desktops.

@cbs-cbs
Copy link

cbs-cbs commented Jan 30, 2024

Ah weird. It was basically just plug-and-play for me. Did you do all the other obvious things (restart script, restart computer)? If that doesn't fix it, then it's already above my pay grade!

@ftanakasp
Copy link

yes restarted both, i tried even to restore the windows before the update. Thanks for the help. I will try one more time to restart.

@duluk
Copy link

duluk commented Feb 8, 2024

Glad I checked here. Just updated Windows 11 and this script stopped working and I didn't realize how difficult I find using the OS without this script. (have it bound to a side button on my mouse for desktop profile; so easy to navigate desktops that I can't be bothered hitting a hotkey combination lol) Needless to say, I love this script!

@lukolszewski
Copy link

I can report that for me it broke following the below updates, but downloading the dll from the 3rd post fixed it again.
image

Windows is completely unusable without this functionality.

@ms4ndst
Copy link

ms4ndst commented Apr 11, 2024

Seems to be broken again in 23H2 22635.3350
Thing happens when running the script and trying to switch desktops.

@dillacorn
Copy link

Yep no longer working for me either...
I changed the "VirtaulDesktopAccessor.dll" to latest from that repo but no dice.

On version 23H2 ~ 22631.4037

Going to just rely on Win+Ctrl+Arrow keys for the time being......

I'd honestly have less of an issue with using taskview if it weren't so laggy/buggy occasionally.. also Windows 11s taskview IMO is a downgrade compared to 10s.. I can only see up to 6 workspaces and have to scroll to see the others... IT'S HONESTY TRASH..BUT SO WAS 10s so I guess I should stop complaining about that.

I wish someone could develop an actually good 3rd party taskview fork..

If it was actually good like GNOMEs taskview.. Hell even KDE Plasma 6 has good taskview adjacent functionality now I wouldn't have much of an issue using it.

@ms4ndst
Copy link

ms4ndst commented Aug 20, 2024

@dillacorn I agree. Tried Gwim, a great alternative with lots of tweak capabilities and super fast. If you wanna stick with windows taskviewer try turning off animations. It is really so much faster but not as pretty.

@dillacorn
Copy link

@ms4ndst are you talking about glazewm?

I do like i3 and Sway is my current preferred window manager.. I probably do need to give this a serious shot.

@ms4ndst
Copy link

ms4ndst commented Aug 21, 2024

No @dillacorn I am more into Hyperland. "My other laptop" is running Arch with Hyperland using ml4w dotfiles. https://github.com/mylinuxforwork/dotfiles

I was talking about https://github.com/dalyIsaac/Whim

@SaminYaser-work
Copy link

Not working on 23H2 22631.3880. Fk microsoft

@skyfex
Copy link

skyfex commented Sep 10, 2024

For anyone needing a quick workaround, the VirtualDesktop command line tool here works for me: https://github.com/MScholtes/VirtualDesktop

Put the exe in the script folder and replace the content of desktop_switcher.ahk with

#Include %A_ScriptDir%\user_config.ahk
return

switchDesktopByNumber(targetDesktop)
{
	Run, "%A_ScriptDir%\VirtualDesktop11.exe" /Switch:%targetDesktop%,, Hide
}

MoveCurrentWindowToDesktop(desktopNumber) {
	Run, "%A_ScriptDir%\VirtualDesktop11.exe" /GetDesktop:%desktopNumber% /MoveActiveWindow /Switch,, Hide
}

That restores functionality for those two functions at least.. others can probably be implemented similarly

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

No branches or pull requests

9 participants