by crazygringo · 10mo ago · 0 comments
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.
In my experience, shipping a product as polished as Mac OS X 10.6.8 Snow Leopard requires a painful level of dedication from everyone involved, not just Quality Assurance.
As long as neither the New York Times nor the Wall Street Journal writes about how bad Apple’s software has gotten, there’s even no reason for them to think about changing their approach.
The drama surrounding Apple’s software quality isn’t showing up in their earnings. And at the end of the day, those earnings are the "high order bit," no matter what marketing tries to tell us.
How?
How do you reproduce something when you have no idea of the cause and it's not happening on any of your machines?
And remember they don't have just this one unreproducible bug reported. They have thousands.
If you have experience writing software, you're going to end up with a lot of unreproducible bug reports. They're a genuine challenge for everyone, not just Apple.
No OS should steal focus, Windows absolutely is guilty of it.
I chose what happens after. Can recommend. I wasn't even aware of my privilege.
Reproduction steps:
- Start a reply to this comment in your browser, type some example words.
- Create a BAT file with the following contents:
@echo off
timeout /t 15 /nobreak >nul
start notepad.exe
- Run the BAT file.
- Immediately switch back to the browser tab, and place your focus into the HN reply box. Type a word.
- Wait for notepad to open
- Continue typing. Your typing will go into Notepad and not the browser tab you had focused last.
This occurs commonly and continuously on Windows, it is damn obnoxious. The OS should never ever change focus, it should however flash the window/taskbar, that is acceptable, but not shift my typing into whatever arbitrary program opened. This used to be fixable via "ForegroundLockTimeout" which is what classic TweakUI altered, but was killed in Vista.If you're a Visual Studio user, it is a daily annoyance. You hit Start/Play, go about your work, and then suddenly some time later focus shifts out from under you.
Focus should change only in response to user commands.
When you launch an application or open a dialog, you expect the new window to "steal" focus. When you close a dialog, you expect focus to go back to the main window. If it didn't, it would impair usability.
So how would an OS decide when "stealing focus" is allowed and when it is not?
Like, I'm frustrated with it too. I hate when an app pops up a dialog while I'm typing and my next keystroke dismisses it and I have no idea what I've done. But at the same time, I'd hate to have to manually switch focus to a pop-up dialog every single time before dismissing it with Enter or Escape too -- that would be way too annoying in the other direction.
Tiny number of users with such an enormous user base (10-16% desktop share) still means there's thousands of users affected.
This seems like an example of a situation that modern machine learning could help with. Take bug reports permissively and look through all of them for patterns. Loss of focus should be the kind of thing that would stand out and could be analyzed for similarities and recurring features. Making sense of large amounts of often vague and rambling reports has been a problem for a long time and seems like a domain that machine learning is well set for.