News for hackers. Stuff that matters.
Re:macOS lock screen: “I just sent my session pass to my who... by Arnt on Friday December 08, 2017 @12:37PM (#15880357)
It's not too difficult. a) only the application with keyboard focus gets to open new windows with keyboard focus less than about two seconds after a keystroke (with no intervening mouse activity). b) no keyboard input into a new window for the first second, unless the user clicks there.

We looked into this while I was Trolltech. Decided against doing it for Qt unilaterally, it's really something the system must do, or else it's too annoying.

Re:macOS lock screen: “I just sent my session pass to my who... by lostlogin on Friday December 08, 2017 @02:36PM (#15881326)
But what about pop ups that come from within the application? Anything that has dialogues come up when there is a chance the user might be using enter/return for a different purpose is a bit crap, especially with multi-screen systems where there is a fair chance the user is looking elsewhere. Even just having no pre-selected default would help (so arrow - enter/return would be needed).
Re:macOS lock screen: “I just sent my session pass to my who... by Arnt on Saturday December 09, 2017 @03:52AM (#15884936)
Is this an example of what you have in mind: The user is typing at Microsoft Word, and it's not a keyboard shortcut to open the "document properties" window, and Microsoft Word chooses to open another window during the typing and divert keyboard focus there?
Re:macOS lock screen: “I just sent my session pass to my who... by lostlogin on Saturday December 09, 2017 @03:31PM (#15887927)
I think so, yes. Diverting keyboard focus in the middle of anything should never happen. Should there any exception to this?
Re:macOS lock screen: “I just sent my session pass to my who... by linkregister on Friday December 08, 2017 @06:00PM (#15882874)
This seems like something that should be handled by the application's developer. A different application's popup or focus steal should be managed by the window manager / OS.