Same with Windows, macOS, and Linux - when an input has the focus, new windows popping up should not steal it from it (unless it's a child window) - I often have parts of my password entered somewhere else as while I'm typing, another window steals the focus and my input with it! Not only is this annoying, but it's a security flaw as well! Regarding web apps, you can also do destructive actions if the scroll moves the wrong button underneath your mouse pointer!
This! If anyone has a solution against the window popping up in the foreground on MacOS please speak up.
I think one of the build-an-OS-from-scratch projects had this as a feature. You create a window first for a program before starting it and it is not able to pop up outside of that or change its focus. Don't remember which project it was but it always stuck in my mind as an awesome feature.
Sometimes I chuckle to myself wondering why people pay 36 bucks a year for 1Password. Then I launch my $10/year Bitwarden desktop app. I’m halfway through typing my master password and a popup launches capturing the rest of my keystrokes: ”Would you like to update Bitwarden?”
Same issue: when im typing something and then a popup appears out of nowhere and then I accidentaly hit “OK” or whatever the default button is by pressing space on MacOS! Wtf!?!?
I once clicked into a corporate login window and typed my domain password, it completely ignored my click and I ended up typing my password to a coworker in Slack.