back

by iLemming·7mo ago·view on hn ↗
One of the most annoying things after installing Tahoe for me, that for no good reason an ordinary app would randomly lose its focus. In the midst of my typing. This is unbelievably preposterous and I just can't stop hating Apple for this crap. How the fuck this is acceptable? I just have no words. What makes it even worse that I couldn't even complain about it on their support pages - they just keep removing my comments for being "non-constructive". This is some random bug, and many people have complained about it, how am I suppose to make it "more constructive"? Send them the exact configuration of constellations, the number of monitors I use and their positioning angles, log the keyboard rate and delay, the latency, the level of magnetic interference caused by my Bluetooth devices, etc.?
24 comments
That is incidentally one of the many papercuts that are widely accepted in Windows, but never were a problem on a mac.

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.

This is a constant irritation for me on Windows.

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

I recently built a windows PC again for gaming. Haven't used one for years. Everything's fresh, loads of room on hard drives etc and still sometimes it'll just be weird and needs a reset. But it doesn't surprise me, it's sad we've come to tolerate that from the world's most popular OS.
> That is incidentally one of the many papercuts that are widely accepted in Windows

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.

Check/change your ForegroundLockTimeout registry value.

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've been beefing about this for decades; X Window didn't do this by default and you could adjust window manager behavior however you liked to prevent windows stealing focus in X, even for newly realized windows. Microsoft Windows decided for some reason the newest window gets focus, which is annoying as heck. I really don't want my attention involuntarily switched because my window manager things it knows better than I do where I should be looking.
> Don’t try to interact with a windows desktop while it is still booting up

I experience the same with macOS. For example Discord steals focus.

I remember using the NT5 betas (that became Win2k) and being so pleased that the focus (not) stealing was working much better. They "fixed" that for the final release
Macs have largely been the same. It is just a matter of buzy compute and letting all the accumulated tasks complete.

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.

The support pages are not for you to contact Apple. They are there for users to help other users. The cynical person would say they are there to get unpaid labor from other users so Apple can spend less on support.

If you want to report something to Apple you use the "Feedback Assistant App"

> 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.

The support pages are exactly this. They're called Level 0 support in most companies internally.
This is starting to make sense. In the past I've been confused at a seemingly useful question thread there and the answer from some other user there with some like "top support user" badge or something, is just not an answer at all, and then the thread gets locked because they deemed it resolved.
> They are there for users to help other users.

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.

I've been troubleshooting this on and off since early December.

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.

My MacBook is corporate, and it's therefore loaded with a ton of corporate auto-update, VPN and apparently questionnaire software. Stuff pops up at the most annoying times. And sometimes, indeed it takes focus away from the thing I'm currently typing. Extremely annoying.

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.

I wonder whether this could be a touchpad malfunction, causing phantom clicks that move focus. To diagnose, you could temporarily disable it and use an external mouse.
I've had the same issue while using external mouse and keyboard, so I definitely don't touch the touchpad.
I have similar behaviour on a Mac Mini, and only since Tahoe.
a touchpad malfunction that only happens after an OSX update?
External mice also suck with macOS though.
It's not, it's just increasingly badly made. Started creeping in the release before Sequoia
Focus stealing has been an issue in windowed multi-tasking environments from the beginning. It's certainly been an issue in all macOS/OS X versions I've used since I started in 2011.
Agreed. Since sharing input between multiple applications (and the OS services) is its primary role, you would think that UI designers would have “thou shalt not steal focus” as a commandment, but that is not the case.

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.

I've been using windowed multi-tasking environments since 1986. Never been a problem for me (SunOS -> Solaris -> Linux). I rely very, very, very much on focus-follows-mouse.
This bug isn't that. It's the frontmost app losing focus to nothing.
Dont get me started on the number of times Signal/formerly Skype opened up a dialog in-the-midst of me typing and me accidentally accepting a call because i happened to write 'space' at that moment in time
I have no information to add, but I also have started experiencing this after “upgrading” to Tahoe. Never was a problem before.
Interesting. This is exactly the problem I've begun to have on my 14" M2 MB Air. I'm on 15.7.3. The issue started with 15.7.1.

Here I've been thinking it's a hardware problem, like some sort of mechanical intermittent. Maybe not.

I looked into this and the issue is the inbuilt SecurityAgent briefly taking focus. For me I believe it’s related to some management setting our company has added not getting on with Tahoe.
Tahoe made at least one undocumented change to timer events in the GUI. This resulted in a difficult to debug problem in solvespace. I suspect we were doing something "wrong" and had to correct it, but the fact remains they made a change to how some GUI events work and didn't tell anyone.
I have experienced the same, and still have no idea what is going on.

Especially annoying when every app is likely to have single-key shortcuts which end up being accidentally triggered.

Do you have Admin by Request on your machine (if its a company laptop). That was the culprit for me.
> how am I suppose to make it "more constructive"?

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).

I did the same a decade ago, and I've been fully content with my Linux-only life - but a new MacBook recently arrived along with a new job, so now I'm using Tahoe whether I like it or not. It's generally difficult to vote with someone else's wallet.
> people like you are going to have to start voting with their wallets.

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.

Random possibility - if you have Bartender installed, it's buggy as shit on Tahoe, and has some really weird stuff it does with hiding the cursor and otherwise changing the focus around. I haven't switched off yet because the alternatives don't anywhere near as much functionality, but I probably will at some point soon, because while the updates have made it somewhat better it's still a pretty terrible experience at times.
Oh decent timing, this happened to me first time today, I even looked down at the track pad to see if my hand was close enough to accidentally swipe it because I felt it wasn't
Do you have a logitech mouse? If so you need to reinstall the logi and/or G Hub apps. The cert changed and that's what's causing it to fail and keep grabbing focus away. Incredibly strange bug.

https://support.logi.com/hc/en-us/articles/37493733117847-Op...

Delinia does this currently (I don’t think the fix is public yet).

You can run a python script to track the focused window every few seconds to identify what’s stealing focus.

By chance are you using any Logitech stuff? I have a similar issue and narrowed it down to one of the Logi Options taking focus away randomly.
I had the same issue, and in my case it turned out it was caused by Logitech G Hub which was running in the background. I uninstalled it and did not experience the issue again. My suggestion is to check any background process that might be doing that.
I had this, it was our company's security software prompting an update (Admin by Request) that was getting hidden. An update to that software and the latest tahoe update seems to have resolved that issue.
> One of the most annoying things after installing Tahoe for me, that for no good reason an ordinary app would randomly lose its focus. In the midst of my typing.

So its not just me!

I updated to iPadOS 26 on my iPad Pro, opened Safari, and tried to log into a website. For some reason the full-screen keyboard didn't load, all I could get was a miniature thing that floated on the left part of the screen (like the two-handed layout but with the full keyboard in one half, like typing on an iPhone 5s).

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.

If only Stevesie was still here to roll some heads :(
I appreciate your frustration, but at the same time what is Apple supposed to do? If it's affecting only a tiny number of users, and you just happen to be an unlucky one, and they don't know how to reproduce it, and you can't help them reproduce it, then what? I think they just have to wait until somebody (such as yourself) is able to figure out with some kind of logging what is happening. E.g. the first question to answer is probably what actually gets the focus, if anything? To produce a bug report that at least suggests which area of code might be responsible.

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.

They could throw some small portion of their billions of dollars into proper quality control and reproduce it themselves if they wanted to. It’s an industry-wide malaise, but it isn’t inevitable. It’s amazing that every year it becomes more and more economically nonviable for basic shit to meet the most modest standards of usability, yet we can use the power consumption of a small country to have Copilot in Notepad.