top | item 46582456

(no title)

JoBrad | 1 month ago

Windows has had a “prevent apps from stealing focus” option for at least a decade. It was one of the things that I still dislike the most about macOS, and Apple can absolutely address this.

discuss

order

Someone1234|1 month ago

Windows has no such option, and regularly steals focus, particularly Visual Studio/Debug tools/applications loading. It had an option for a short period with the original TweakUI, but Microsoft removed support for it even in the registry.

No OS should steal focus, Windows absolutely is guilty of it.

AnyTimeTraveler|1 month ago

Many Linux display managers let you chose what to do, when a window requests focus. For me on Sway, it just turns the border red.

I chose what happens after. Can recommend. I wasn't even aware of my privilege.

kevin_thibedeau|1 month ago

I've found that the login dialog in Win 11 no longer consistently takes focus on the password field. Really annoying to login blind and find your typing was rejected because it doesn't do the sensible thing any more.

pixelpoet|1 month ago

Windows itself isn't guilty of this in my experience (lifetime of use until Linux switch last year), but other apps like shitty Akamai. Some years ago a coworker wrote this blog post and a simple tool to find out which programs are doing it: https://forwardscattering.org/post/30

jdiff|1 month ago

Where's that hiding? Discord is horrifically guilty of this across every OS, so I'd love a way to quash that on at least one.

WD-42|1 month ago

GNOME on Linux prevents it. You get a notification "Discord updater is ready" instead which you can activate if you want to give it focus - which I never do. F the Discord updater.

crazygringo|1 month ago

How does that even work?

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.

klondike_klive|1 month ago

Adobe programs were the worst offenders for this in my experience.