Fix shortcuts for viewports

I disagree I’m afraid because it fails too many times and its clunky, it doesn’t work consistently while using RC, perhaps because other windows are activated because you are constantly going back and forth. Currently you have to constantly select to 3d view to activate it.

So why not just have the shortcut switch to the view (if there is only one 3d view available in the interface) and activate the window. It would be so much better as a shortcut!