I recently saw Mozilla was looking into what benefit people gain from Electron as opposed to just running stuff in a browser tab. I can answer that for Mac users quite simply: If you run Slack in a Firefox window, and want to switch to Slack, this is how to do it in Mac OS:
* If you have a Firefox window focused, press alt-`
* If you have anything other than Firefox focused, press alt-tab
If you have Slack running as an Electron app, this is how you switch to Slack:
* Press alt-tab.
When I want to switch to the last window I had focused, the decision should be to press the "switch to the last window you had focused" key combo, NOT "figure out which application you currently have focused, and press a key combination based on whether it's the same or not".
Having multiple windows and multiple desktops makes it worse. One thing I hit far too often:
Monitor X has vscode on Desktop 1, Firefox window A on Desktop 2.
Monitor Y has Firefox window B.
I want to switch from Firefox window A to vscode. I press alt+tab. It works -- monitor X changes to Desktop 1 and vscode is the active window.
I now want to change batch to Firefox window A. I press alt-tab. FAIL: Active window is Firefox window B on monitor Y.
(Subsequently pressing alt+` to switch doesn't help. there's only one Firefox window on the current desktops, so nothing happens.)
Thus, I can switch OFF of a desktop using alt-tab, but I can't switch back to it without some other key combo I don't know. (I end up having to just use the mouse.)
An additional example that isn't strictly alt-tab / alt-`, but related to how it's implemented:
I have two Firefox windows open. If I alt-tab to one, they both come up to the front, including the one I'm not using -- which may now be obscuring another window I was using.
Monitor X has vscode + a Firefox window A I'm not currently using.
monitor Y has the Firefox window B I am using.
When I alt-tab from vscode to the Firefox window B on the other monitor, the other Firefox window A also moves to the foreground, obscuring my vscode window. They could fix this while still using the alt-tab/alt-` system. It's just a related issue.
I'm sure I could get around this by aggressively minimizing whatever window I'm not currently using, but it's aggravating that I have to do that for, as best I can tell, no benefit whatsoever.
I will say that pre-Windows 95 I was on 3.11 and switching wasn't "last-focused" based. It was simply in the order of when your applications were opened. At the time I thought the change to last-focused was stupid. (I think today I'd probably still be okay with the old method, but it does make less sense when you have a lot of windows open at once.)
However, I'm now about four years into Mac OS as my only environment, so this isn't doesn't seem to just be about what I'm used to. I'm not quite to the 10k hour mark yet, but I'm well past the halfway mark.