Don’t try to interact with a windows desktop while it is still booting up. Better to wait for everything to settle down, otherwise apps will constantly snatch away focus and your typing will go into random applications.
I work on a desktop Windows/Mac application that takes forever and a day to launch (CAD package), and pops up a million pop-ups during the process. I try to get minor admin tasks done while it is compiling/launching, but it steals focus every 10 seconds!
Still beats using XCode, though
A flashing cursor in an inactive text box. Possibly the most annoying of bugs.
Looking at you Windows, COMRAD and every login I ever do.
by default if you haven't typed anything for a little bit Windows allows an application to steal focus. If you change that value you can prevent windows from ever stealing focus or change how long they have to wait before they're allowed to.
I experience the same with macOS. For example Discord steals focus.
When you buy powerfull computers, this problem basically doesn't exist, both on Windows or macOS. Since Macs have historically been more expensive and premium, even the cheaper model was powerfull enough to finish the boot sequence fast enough that the desktop would feel snappy almost instantly. On the other hand, cheap PCs struggle to accomplish every task in a timely manner.
I am amazed about how stupid and ignorant is the average Mac fanboy. I have been a Mac user first and foremost, but you guys are just full of shit.
If you want to report something to Apple you use the "Feedback Assistant App"
and watch years go by with no fixes or improvements to basic OS fundamentals.
lol. Can't tell you how many times I've clicked "I have this problem too" on a page where users can't help each other because apple is doing/hiding something stupid.
There's a handy Python script here to show log which application is stealing focus: https://superuser.com/a/874314
If you find it's SecurityAgent then you might be hitting this bug: https://developer.apple.com/forums/thread/807112
I suspect it's related to a JIT privilege management app my company uses.
But apparently Apple is not the only offender. Just as I was typing this (on Harmonic on Android), a popup popped up, ate a few of the characters I typed and disappeared again. No idea what it said. Why do people do this? Don't hijack let applications I didn't ask for hijack my input.
My latest version of the problem is with Ubuntu Gnome. Upgrade software and, later, you will be interrupted with a pop-up window to enter your system password. Not only is this an interruption, I’m always doubtful that this is the system asking for a sudoer password!
UIs, in my experience, are very bad at handling “interrupts”. Sorry, my dad designed chips, so I use that hardware term when talking about notifications and other times another application needs to notify or get the input from user. Personally, I’d have the UI change the color/texture of the system menubar/taskbar and wait for the user to click it.
Here I've been thinking it's a hardware problem, like some sort of mechanical intermittent. Maybe not.
Especially annoying when every app is likely to have single-key shortcuts which end up being accidentally triggered.
Obviously by shutting the hell up, you ungrateful serf. The beatings will continue until morale improves.
Seriously, though, if you want this to stop, people like you are going to have to start voting with their wallets.
I finally pulled the plug on macOS a couple years ago for Linux, and I haven't been unhappy about it. However, I did make a point of buying a laptop that was well supported on Linux (a Lenovo X1 Carbon that was in the same price class as an equivalent Mac).
You think I CHOSE to be miserable? Sorry, I have kids, and you know, they don't exactly live on dog food, but even that costs money. My job requires me to use a Mac. And please don't tell me to "find a better job". I've been programming for over twenty years, only once I was given a clearance to pick "whatever kind of machine you want". For my personal computing I do use Linux.
https://support.logi.com/hc/en-us/articles/37493733117847-Op...
You can run a python script to track the focused window every few seconds to identify what’s stealing focus.
So its not just me!
The memes about Steve Jobs turning in his grave are true. He would not have stood for slop like this for even a moment. Apple's quality game was miles higher back in the day.
Even if they tried to do some kind of Snow Leopard maintenance release for all of their products, I don't think they could raise the bar on quality high enough in just a single release. They'd have to do it a few times with nothing new to show for it.
This speaks nothing of the transition to MacOS looking more and more like a dysfunctional toy since Jony Ive left and Alan Dye took over.
Tiger and Snow Leopard were the peak.
I had a similar problem at one point, then finally figured out it was when I accidentally hit the fn button which triggered the emoji picker window and moved focus to it (IIRC), but it was off-screen because I'd previously used it on a secondary monitor. Reconnecting the monitor and moving the window back to my primary display fixed it. (Obviously, it's a bug to show a picker window outside of visible coordinates, and I think it got fixed eventually.)
But it also might not be Apple at all, if it's some third-party background utility with a bug. E.g. if that were happening to me, my first thought would be that it might be a Logitech bug or a Karabiner-Elements bug. Uninstalling any non-Apple background processes or utilities seems like a necessary first step.