4 ms·
I cannot begin to express my rage at windows changing focus when typing. Is there no way for it to not do this when receiving input? Feels like it should be an
by travisporter 4y ago
I cannot begin to express my rage at windows changing focus when typing. Is there no way for it to not do this when receiving input? Feels like it should be an OS feature
- tailspin2019 4y agomacOS does this occasionally too, with pop ups sometimes appearing while I type (software update messages etc) Especially problematic if you happen to hit Enter for a line return and end up accepting the default selected button on the popup instead. I think there should be some OS-level heuristics-driven functionality to prevent or delay this sort of thing while the user is actually inputting data. And prevent any third party apps from overriding this unless consent is explicitly given (if the app really needs direct control over window focus) similar to how consent is required for apps to record the screen in macOS.
- julius 4y agoWith OpenBox (linux window manager thing ... included in eg LXDE) there is a configuration option called "Focus new windows when they appear". You can uncheck that (have not tried it myself).
- pwg 4y agoThis seems to be an artifact of OS's that also decide that "window on top must have keyboard focus" (i.e., MSWin is very bad in this regard). Because the pop-up dialog must be "on top" to be a pop-up, the OS's built in design of "window on top must have keyboard focus" results in the popup gaining keyboard focus, even if you are actively typing into another window at the same time. On my Linux system, I run Fvwm2, and because on X the decision to grant focus to a window lies with the window manager, I can control who gets focus via my Fvwm2 config. I have Fvwm2 set for focus follows mouse so unless a popup happens to appear, directly under where the mouse cursor happens to be at that moment, the popup can appear, and be "on top" and my keyboard focus is unchanged. I also have Fvwm2 configured so that a window gaining focus does not in any way change its order in the stack, so I can focus, and type, into a partially obscured window, without ever moving that window up/down from where it sits. An old version of OpenOffice (I think back when it was still called StarOffice) had decided at some point that if the mouse cursor so much as brushed across its window that it would pop itself to the top and take keyboard focus. That happened about two times, then I added a couple lines to my Fvwm2 config to take away StarOffice's ability to both take focus and to raise itself to the top, and it became a properly behaved program that stayed put until I told it specifically to move to the top. These kinds of irritants can be fixed, but only if the environment one uses gives one the ability to control these miss-behaviors.
- spockz 4y agoI seem to recall “do not steal focus” was a hard rule in the macOS human interaction guidelines. However, lately, macOS itself even steals focus and more and more apps steal focus as well. Most notably through authentication/authorisation dialogs. It is indeed, furiating.
- mdaniel 4y agoFor sure, and doubly(?) bad when some system dialog pops up, with "Reboot now" or "Confirm, upgrade" selected, so the "enter" key for the command you were cheerfully typing now causes havoc /me gives Ubuntu the evil eye
- sdflhasjd 4y agoThe AWS VPN client does this when it connects. I'll open it up, click connect, then go back to my work while it churns away and establishes a connection. The number of times I've been in the middle of writing something and had the connection dialogue gleefully pop up to inform me that it's finally finished, only for me to hit return on what is now a focused "disconnect" button...