Just noticed a small issue with redrawing of systray icon when using Windows native methods to switch between virtual desktops, such as CTRL + Win + Left/Right, or Win + Tab + Virtual Desktop Selection. For those like me who only use application hotkeys, this shouldn't be an issue
Just noticed a small issue with redrawing of systray icon when using Windows native methods to switch between virtual desktops, such as CTRL + Win + Left/Right, or Win + Tab + <virtual desktop="" selection=""> For those like me who only use application hotkeys, this shouldn't be an issue</virtual>
Just noticed a bug with redrawing of systray icon when using Windows native methods to switch between virtual desktops, such as CTRL + Win + Left/Right, or Win + Tab + <virtual desktop="" selection=""> For those like me who only use application hotkeys, this shouldn't be an issue</virtual>
Hi @squidly, I think this could be a simple workaround, until a fix for the NotificationService is found. So far, so good after a day of testing: VirtualDesktop-master/src/VirtualDesktop/VirtualDesktop.system.cs: private static void InitializeCore() { try { _provider.Initialize(_assembly ??= new ComInterfaceAssemblyBuilder(_configuration).GetAssembly()); } catch { _provider.Initialize(_assembly = new ComInterfaceAssemblyBuilder(_configuration).CompileNewAssembly()); } _notificationListener?.Dispose();...
As a reminder of this issue: 24H2 has been released to Windows Update.
Error message with the new version: System.Exception: EventListenerBase inheritance type is not found in the COM interface assembly. Base Type is WindowsDesktop.Interop.Build10240.VirtualDesktopNotificationService+EventListenerBase and has members WindowsDesktop.Interop.ComWrapperFactory get_Factory() Void set_Factory(WindowsDesktop.Interop.ComWrapperFactory) WindowsDesktop.Interop.Proxy.IVirtualDesktopNotification get_Notification() Void set_Notification(WindowsDesktop.Interop.Proxy.IVirtualDesktopNotification)...
Capture more info on failure for Win 11 24H2
Attempt to fix Win 11 24H2 NotificationService COM interface assembly compilation
uploaded a new version which should give me some more info in the error message https://sourceforge.net/projects/virtual-desktop-grid-switcher/files/Beta/
tried, yes - no results. Indeed, a computer or VM with that version will help.
It seems like too much has changed for me to fix it without a computer on this version. A long shot but close it down, delete any 26100.863 files in %LOCALAPPDATA%\slions.net\VirtualDesktop\assemblies and restart.
Now the following error is displayed on start (without crashing: System.Exception: EventListenerBase inheritance type is not found in the COM interface assembly. at WindowsDesktop.Interop.Build26100.VirtualDesktopNotificationService.Register(IVirtualDesktopNotification notification) in C:\Users\simonl\OneDrive - Personal\OneDrive\Documents\Dev\VirtualDesktopGridSwitcher\VirtualDesktop-master\src\VirtualDesktop\Interop\Build26100_863\VirtualDesktopNotificationService.cs:line 23 at WindowsDesktop.VirtualDesktop.InitializeCore()...
OK, maybe this will work - with those methods removed. https://sourceforge.net/projects/virtual-desktop-grid-switcher/files/Beta/VirtualDesktopGridSwitcher_v4.0.2.1.zip/download
Thanks, it does not start with the following error: --------------------------- Error --------------------------- There was an error initialising desktops. Press Ctrl-C with this window active to copy text System.Exception: Failed to compile COM interfaces assembly. 'VirtualDesktopNotification' does not contain a definition for 'MovedCore' and no accessible extension method 'MovedCore' accepting a first argument of type 'VirtualDesktopNotification' could be found (are you missing a using directive...
Added tag v4.0.2.0 for changeset c634236fcc1c
Support Win 11 24H2
Added tag v4.0.1.0 for changeset 9554acf152b0
Give this a whirl. I don't have that version to test it on but hopefully it will work for you. https://sourceforge.net/projects/virtual-desktop-grid-switcher/files/Beta/VirtualDesktopGridSwitcher_v4.0.2.0.zip/download
Hi @squidly, did you happen to have any chance to look at this request?
Very helpful thanks. I'm super busy right now but will try to get to to it soon. Feel free to remind me if I take too long!
For reference, here is an implementation which does work in 24H2: https://github.com/MScholtes/VirtualDesktop/blob/master/VirtualDesktop11-24H2.cs EDIT: and this is a very basic AutoHotKey based replacement of VDGS for anyone else on 24H2.
For reference, here is an implementation which does work in 24H2: https://github.com/MScholtes/VirtualDesktop/blob/master/VirtualDesktop11-24H2.cs
Sure, here is the build info: OS Name: Microsoft Windows 11 Enterprise OS Version: 10.0.26100 N/A Build 26100
Oh, I thought you were saying the issue was due to another program running as well but you are saying it just masked the real error. Please run winver and let me know the exact OS Build
Well, we do need support for 24H2 sooner or later. I can assist in testing on this build, if needed.
Thanks for reporting and following up. Let me know if you think there is something that wants improving related to this.
EDIT: The above error was from another .net software interfering. I was able to resolve it by closing offending app. Actual errors are thrown to the Event Log: Application: VirtualDesktopGridSwitcher.exe CoreCLR Version: 7.0.1523.57226 .NET Version: 7.0.15 Description: The process was terminated due to an unhandled exception. Exception Info: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Stack: at WindowsDesktop.Interop.Build22621.IVirtualDesktopManagerInternal.CreateDesktop()...
Crash on Win11 24H2 (26100.863)
I think Microsoft may have fixed it - I no longer seem to have this issue after applying update 2024-06 Cumulative Update for Windows 11 Version 23H2 for x64-based Systems (KB5039212)
Hi Simon, Thanks for your help. I really like this tool, and was disappointing to see that something in Windows changed to make it less stable. Thanks again. --Robert
Hi Robert, Yes I have noticed it too. It seems to freeze explorer / toolbar for me and I have to manually restart it and then restart VDGS. Its annoying, as I suspect the fix will be to wait until a switch has occurred before initiating the next but that will make it less responsive - it used to nicely "combine" the switches I think. Will see if I can put some time into it in the next week or 2 - nice to know its not just me, thanks for reporting it. Simon
Windows Explorer & GridSwitcher crashes on rapid screen changes
Hi Simon, you're amazing, yes I confirm that new version solved the issue. Sorry to create all this problems to you. Many many many many many thanks for your time and effort. Have a good sunday. Alberto.
it was the IDs. See https://sourceforge.net/p/virtual-desktop-grid-switcher/src/ci/1cddc348e1a9360464ea2dd843f690cb3e5bae1b/
Update copyright
Compile new assembly if fails to initialise
Show correct build number in About
Fix VirtualDesktop library for builds 22621.3155 and 22631.3155
Added tag v4.0.0.0 for changeset e45f41b4d29a
New version 4.0.1.0 should sort you out
Fix for Windows 11 22H2 or 23H2 with KB5034765 applied. Raise a ticket if does not work for you and let me know what OS Build it says if you right click the system tray icon and select About.
It's not simple, we use an unpublished interface that Microsoft like to change every now and then or they change some ids that are needed and then these have to be found out and updated for use depending on the OS version it is running on Simon On 16 February 2024 8:33:12 pm "Yousuf Azad" sami1592@users.sourceforge.net wrote: If one wishes to debug and fix such issues, how should one go about it? How should one start?On Fri, Feb 16, 2024 at 10:13 AM Yousuf Azad sami1592@users.sourceforge.net wrote:Hey...
If one wishes to debug and fix such issues, how should one go about it? How should one start? On Fri, Feb 16, 2024 at 10:13 AM Yousuf Azad sami1592@users.sourceforge.net wrote: Hey Simon. It worked! 🥳 Thank you for your detailed instructions, much much appreciated. What do you think broke the build? What could be the real reason? On Fri, Feb 16, 2024 at 4:24 AM Simon Liddington squidly@users.sourceforge.net wrote: hmm, I emailed that and included a screenshot which is missing. Settings -> Windows...
Hey Simon. It worked! 🥳 Thank you for your detailed instructions, much much appreciated. What do you think broke the build? What could be the real reason? On Fri, Feb 16, 2024 at 4:24 AM Simon Liddington squidly@users.sourceforge.net wrote: hmm, I emailed that and included a screenshot which is missing. Settings -> Windows Updates (on left) -> Update History -> scroll down to bottom to find Uninstall Updates in Related Settings. [tickets:#11] https://sourceforge.net/p/virtual-desktop-grid-switcher/tickets/11/...
hmm, I emailed that and included a screenshot which is missing. Settings -> Windows Updates (on left) -> Update History -> scroll down to bottom to find Uninstall Updates in Related Settings.
You can uninstall - it is a security update though. Got to uninstall updates and find KB5034765 On Thu, 15 Feb 2024, at 11:23 PM, Yousuf Azad wrote: Although I have turned off the Windows update by following this instruction https://answers.microsoft.com/en-us/windows/forum/all/how-to-turn-off-windows-updates-permanently/603be1d3-b4c5-415a-9094-db0e9d3fc9ab and from settings, upon restart WIndoes decided to update anyway 🤷♂️ Now my VirtualDestop is broken too 😔 Good job Windows 👍 [image: image.png]...
Although I have turned off the Windows update by following this instruction https://answers.microsoft.com/en-us/windows/forum/all/how-to-turn-off-windows-updates-permanently/603be1d3-b4c5-415a-9094-db0e9d3fc9ab and from settings, upon restart WIndoes decided to update anyway 🤷♂️ Now my VirtualDestop is broken too 😔 Good job Windows 👍 [image: image.png] On Thu, Feb 15, 2024 at 10:17 AM Yousuf Azad sami1592@gmail.com wrote: Thanks for the heads up. Thank god I did not update yesterday. On Thu, Feb...
Thanks for the heads up. Thank god I did not update yesterday. On Thu, Feb 15, 2024 at 1:38 AM Simon Liddington squidly@users.sourceforge.net wrote: WARNING! Don't let Win 11 update to build 22631.3155 as it seems to have broken it again for me. Will advise when a fix is available. Simon [tickets:#11] https://sourceforge.net/p/virtual-desktop-grid-switcher/tickets/11/ App closes when hotkeys pressed Status: accepted Milestone: 1.0 Created: Fri Oct 15, 2021 02:08 PM UTC by Charlie Spencer Last Updated:...
Hi Simon, thank for your quick answer, unfortunately I can't uninstall the update due to company policies.
Actually, you correctly identified KB5034765 which seems to be applicable to 22H2 or 22H3 and increases the sub-build number to 3155. Uninstalling this update fixes the issue.
Actually it is KB5034765 which seems to be applicable to 22H2 or 22H3 and increases the sub-build number to 3155. Uninstalling this windows update fixes the issue - but be aware it is unfortunately a "Security Update".
WARNING! Don't let Win 11 update to build 22631.3155 as it seems to have broken it again for me. Will advise when a fix is available. Simon
New error after upgrade to cumulative update for Windows 11 Version 22H2
WARNING! Don't let Win 11 update to build 22631.3155 as it seems to have broken it again for me. Will advise when a fix is available. Simon
WARNING! Don't let Win 11 update to build 22631.3155 as it seems to have broken it again for me. Will advise when a fix is available. Simon
23H2 not 22H2 right?
Ah, yes, I just got the same thing :-(
WARNING! Don't let Win 11 update to build 22631.3155 as it seems to have broken it again for me. Will advise when a fix is available. Simon
New error after upgrade to cumulative update for Windows 11 Version 22H2
Thank you! Already started using it and it is working without issues thus far.
Finally we have a version that works on both the latest Windows 10 and 11. May not work on an Insider Preview/Builds. Upgraded to .NET 7 - the download / install is much larger than previous versions because it is a "self-contained" install but this means you don't need to download and install .NET 7 yourself. Increased default timeout for moving Excel, Acrobat windows back to correct desktop. Editable in settings file. Default is now 5 secs. If files are slow to open on your computer you may need...
I have been waiting too! Thank you Simon, It was a pain to work in windows without this. I also love that when I switch virtual windows, the desktop name is now displayed at the bottom of the screen. I have been installing different software just to make this happen. Thanks again ! I will send a small donation later, but I haven't been able to send it yet because I haven't verified my paypal identity.
You are welcome and thanks for your donation.
Now everything work as expected. Really fantastic, I had replaced it with an autohotkey script but have back VDGS it's really amazing. Many thanks for your time and effort. Alberto.
OMG! This is working! This is working! This is a happy occasion! Thank you. Thank you. Thank you On Mon, Jan 15, 2024 at 4:40 AM Simon Liddington squidly@users.sourceforge.net wrote: It turns out the first version I uploaded doesn't work because it was built as a "single file application" but I didn't notice because it does work if it has already run and generated the required interface component for your operating system. Please try the new file in the same folder if you downloaded it and had an...
Yes, I'm so happy to have finally sorted it out too :-)
Worth repeating here...thank you! I am so happy to have this back. No workaround or substitute is as nice as VDGS!
Woo-hoo! It's working again. Thank you Simon!
Turn off single file publish - fails to compile assembly for OS
It turns out the first version I uploaded doesn't work because it was built as a "single file application" but I didn't notice because it does work if it has already run and generated the required interface component for your operating system. Please try the new file in the same folder if you downloaded it and had an error on startup.
It turns out the first version I uploaded doesn't work because it was built as a "single file application" but I didn't notice because it does work if it has already run and generated the required interface component for your operating system. Please try the new file in the same folder if you downloaded it and had an error on startup.
It turns out the first version I uploaded doesn't work because it was built as a "single file application" but I didn't notice because it does work if it has already run and generated the required interface component for your operating system. Please try the new file in the same folder if you downloaded it and had an error on startup.
OK, thanks for that Alberto. It turns out it doesn't work when built as a "single file application" but I didn't notice because it does if it has already run and generated the required interface component for your operating system. Please try the new file in the same folder.
Ok looking at the event viewer I found this error: Application: VirtualDesktopGridSwitcher.exe CoreCLR Version: 7.0.523.17405 .NET Version: 7.0.5 Description: The process was terminated due to an unhandled exception. Exception Info: System.NullReferenceException: Object reference not set to an instance of an object. at VirtualDesktopGridSwitcher.VirtualDesktopGridManager.Switch(Int32 index) at VirtualDesktopGridSwitcher.VirtualDesktopGridManager.<registerhotkeys>b__55_1(Object <p0>, HandledEventArgs...
Hi Simon, first of all best wishes for the new year and many thanks for your great job with this very useful tool. I downloaded v.4.0.0, it was not necessary to unlock it in my case, so I unzipped it and trying to run it I get this popup message and after I close it the application starts: Error There was an error initialising desktops. Press Ctrl-C with this window active to copy text System.ArgumentException: The value cannot be an empty string. (Parameter 'path') at System.ArgumentException.ThrowNullOrEmptyException(String...
Merge
Settings - actually turn off browser activation, increase move on new timeout to 5s
Version 4.0.0.0 - switch to fork https://github.com/Slion/VirtualDesktop for Win 11+10 support
Improvements from mntone fork https://github.com/mntone/VirtualDesktop
App closes when hotkeys pressed
I have uploaded a beta version 4.0.0.0 which should work on the latest Win 11 and 10 builds. https://sourceforge.net/projects/virtual-desktop-grid-switcher/files/Beta/ Please try it out and let me know if you have any issues. It is a "self-contained" .NET application and should not require installing .NET but let me know if it tells you to do that.
App crashes on suspend/resume
VDGS on Windows 11 crashes when switching desktop
I have uploaded a beta version 4.0.0.0 which should work on the latest Win 11 and 10 builds. https://sourceforge.net/projects/virtual-desktop-grid-switcher/files/Beta/ Please try it out and let me know if you have any issues. It is a "self-contained" .NET application and should not require installing .NET but let me know if it tells you to do that.
VDGS won't open, even unblocked, on Windows 11
I have uploaded a beta version 4.0.0.0 which should work on the latest Win 11 and 10 builds. https://sourceforge.net/projects/virtual-desktop-grid-switcher/files/Beta/ Please try it out and let me know if you have any issues. It is a "self-contained" .NET application and should not require installing .NET but let me know if it tells you to do that.
VirtualDesktopGridSwitcher.exe 3.1.1 crashes on windows 11
I have uploaded a beta version 4.0.0.0 which should work on the latest Win 11 and 10 builds. https://sourceforge.net/projects/virtual-desktop-grid-switcher/files/Beta/ Please try it out and let me know if you have any issues. It is a "self-contained" .NET application and should not require installing .NET but let me know if it tells you to do that.
This is such a happy news for me 🥳 On Mon, Jan 8, 2024 at 6:48 AM Simon Liddington squidly@users.sourceforge.net wrote: How about this for timing - I have just been told I am getting a new work computer with Win 11 so I will definitely sort this out soon. [tickets:#11] https://sourceforge.net/p/virtual-desktop-grid-switcher/tickets/11/ App closes when hotkeys pressed Status: pending Milestone: 1.0 Created: Fri Oct 15, 2021 02:08 PM UTC by Charlie Spencer Last Updated: Sun Jan 07, 2024 12:09 PM UTC...
How about this for timing - I have just been told I am getting a new work computer with Win 11 so I will definitely sort this out soon.
Hi Yousuf, That is kind of you to consider doing this and I understand how it is a must - I could not do without it myself but am on Win 10 still so have not been forced to deal with this issue personally. I am aware of another fork of the Virtual Desktop library that will probably fix it and so hopefully just need to spend some time building against it and sorting out the .NET complications you ran into. Which I intend to do in the next week or 2. If you want to have a go yourself you only need...
Hallo Simon. This app has been a must have tool for me. Thanks for your work. Truly. Is there alternative to this app that you know of? I am a C++ dev (fresher). I dared to think, I would like to help this bug. But I have never contributed to any open-source. I have not noticed any guide here for beginners. Also in the 'Source Code' section, besides the clone link, it says read access only. Is it possible to provide any guide for first timers?