Hi,
Some common reasons are explained here:
https://www.quickaccesspopup.com/why-doe...opup-menu/
The most common reason is when an app is running as administrator. In these cases, the menu cannot be open when click on this window or when this window is active.
But in your case, if the mouse does not work on any window and Win+W always works, then I would suspect a hardware issue with the mouse button. Try changing the mouse trigger in "Options, Popup Hotkeys" to see if another button can work. Or try another mouse.
Jean