I know that disabling the animations can fix the issue, but if you wish to keep the animations while making the virtual desktop switching itself faster, I got you a solution. But first, I'll explain why this is happening.
Symptom: 2 second delay when switching desktop using shortcut (Ctrl+win+right/left) or when using trackpad or mouse shortcut.
Why this happens: This is a common issue when desktop background is not the same aspect ratio, and when you use to fit your desktop image to "Fill." You may notice that right before you switch desktops, the image shifts slightly upwards.
Here's how to solve this.
If you don' t mind a pure color empty background. You can change the background to one of the pure colors.
If you want to keep using image background:
1. Know what resolution you are running in your desktop
Common resolutions are the following:
- 16:9 (1366×768†, 1920×1080, 2560x1440, 3840x2160)
- 16:10 (280×800, 1920×1200, 2560x1600, 3840x2400)
Some resolutions differ especially with laptops with 16:10 aspect ratios.
2. Edit the photo you use as your desktop
- Crop the image to fit the aspect ratio (16:9, 16:10, etc.)
- Its best practice to use the current screen's resolution
- Save a copy and remember its location
3. Change your desktop wallpaper to the edited image
- You can do this by Right Clicking the desktop > Personalize > Background
4. Remove old virtual desktops
- Click Win+Tab to open Virtual Desktop Switcher
- Remove all other Virtual Desktops (because they still use the old wallpaper)
5. Test if there is still lag
- Try to use your preferred desktop switching method and see if the problem still persists
Let me know if this workaround helps! Upvote if you think that Windows should fix this stupid weird bug. xD