News for hackers. Stuff that matters.
Re:Microsoft suspends Windows 10 update, citing data loss re... by warent on Saturday October 06, 2018 @05:03PM (#18157255)
> ... dialog that automatically opens another dialog that closes if you hit enter.

I rarely get upset at computers these days, but this is one of the things that easily boils my blood. It happens with Windows and macOS machines at the most inopportune times. I'll be typing and hit enter, seeing a mysterious dialog appear and vanish in a flash as it stealthily hijacked my "Enter" stroke. "Great, who knows what I just accepted or declined."

It seems like a very basic UI consideration to discard any keystroke if the dialog spawned less than 1 to 3 seconds ago. Make it a global rule (Or better yet, a user setting) for all UI dialogs in the OS that is impossible for developers to override.

Re:Microsoft suspends Windows 10 update, citing data loss re... by mehrdadn on Saturday October 06, 2018 @05:14PM (#18157315)
This is already done though? It's known as focus stealing prevention. One of my gripes with Linux is that it doesn't work well there, but I've found it is already very well handled in Windows; the trouble only comes up if (a) you pause too long for it to realize you're still typing, or (b) the app goes VERY out of its way to steal your keyboard (like hooking global keyboard messages) which is extremely abnormal. I'm surprised if you regularly experience otherwise.
Re:Microsoft suspends Windows 10 update, citing data loss re... by Jedd on Saturday October 06, 2018 @06:23PM (#18157623)
> One of my gripes with Linux is that it doesn't work well...

Linux is not a window manager.

Re:Microsoft suspends Windows 10 update, citing data loss re... by Noumenon72 on Saturday October 06, 2018 @06:26PM (#18157641)
It happens to me because I have the mouse cursor set to pop to the default dialog box choice.
Re:Microsoft suspends Windows 10 update, citing data loss re... by IanSanders on Monday October 08, 2018 @03:43AM (#18165040)
Could even be a dark pattern. After you type the pin several times it's fairly trivial to time that dialog just right.