windows-virtualdesktopindicator icon indicating copy to clipboard operation
windows-virtualdesktopindicator copied to clipboard

Fix for Windows 11 22H2

Open renns opened this issue 3 years ago • 3 comments

IVirtualDesktopManagerInternal.GetDesktops() doesn't work on Windows 11 22H2. So I instead switched to use the registry to get a list of virtual desktop IDs.

See https://github.com/zgdump/windows-virtualdesktopindicator/issues/18

Note, I haven't programmed in C# for several years, so I'm a little rusty. Feel free to clean the code up if the logic makes sense.

renns avatar Oct 16 '22 20:10 renns

@zgdump

Flaflo avatar Oct 18 '22 12:10 Flaflo

Hello, @renns! You've fixed an important bug. Could you build a release for me with the bug fixed. Until the author has processed your pull request. Thanks a lot!

dfateev-git avatar Feb 21 '23 05:02 dfateev-git

@dfateev-git , I don't currently have the tooling installed anymore to build this. Also, although I fixed the immediate bug, I still had issues where the app would crash silently after a few minutes.

Another user suggested using a similar app here: https://github.com/dankrusi/WindowsVirtualDesktopHelper

I have switched to using WindowsVirtualDesktopHelper and it works no problems with Windows 11, plus also has additional features. I'd suggest switching to use that instead.

renns avatar Feb 27 '23 21:02 renns