Is the hotkey for viewport switching hardcoded to Alt+Tab like in the screenshot below?
I don’t seem to find it in the Preferences → Hotkeys, neither by searching nor by looking through all the options manually.
In my case, running fedora 35 and KDE I can’t use this because that key combo switches application windows in KDE. It would be very convenient to be able to set a hotkey manually to something else.
It seems that some of the text is not correctly updated when I change language between swedish and english; for example in the screenshot below:
“Inaktiva lager (H):”
And also in the version info it says “KiCad mönsterkortsredigerare” in swedish instead of PCB Editor, even though the rest of it is in english.
Is that a bug, i guess?
There is already a gitlab-issue to make this hotkey user-settable (albeit I can’t find it at the moment).
ALT+TAB is for windows-users also a bad decision (on windows alt+tab == program-switching/task-switching). So I couldnot really test this new feature. Using it with the right-side-panel saves not much of mouse-moving/scrolling, but I’m hoping for a nice hotkey for the future.
As I recall, when the viewport switching feature was added that it was noted that it would need to be configurable, but that the configuration would be plumbed in later, possibly as part of broader hotkey configuration work.
Shift+Tab does something else; it seems to move around some kind of highlighting of objects in the user interface, so you can activate them with enter, arrow keys etc. This highlighting can go to both the layer presets and the viewport dropdown list, open the dropdown list with space, with the arrow keys you can choose options from the list and then press enter.
But it does not work the same way as Ctrl+Tab for layer presets, as I suppose it is meant to do.
Indicating that on Mac the Alt+Tab is used, but on others the left windows key + tab.
Now unfortunately that doesn’t work for me either.
I don’t know exactly why, but if I press and release only the left windows key (laptop keyboard has no right one), the “start menu” in KDE comes up. (I suppose this is similar in Windows.)
If I press left windows+Tab in KiCad PCB editor, nothing happens.
Does it work for someone else, on any system / window manager?
It also seems that KiCad doesn’t remember which viewport was active when the PCB Editor was last closed, or it doesn’t restore the same viewport at the next start, but defaults to “zoom to fit”.
I am a huge fan of restoring things to the same state as it was last time when restarting an application, so I would definitely vote in favour of remembering and restoring the viewport to the state it was last.
Okay; so here it says that in wx the keycodes for the windows keys (left, right and menu) are only generated under windows currently. That would of course make it not work in Linux, which is kind of unfortunate…