Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I did something similar too - I was typing in the password while the Mac was being unlocked by the watch using that unlock-with-the-watch feature.

I was used to hammering return a few times to wake the machine up, then typing in the password, then hitting return again.

The few times I hammered return woke the machine, the watch unlocked the mac and the password plus the return key went into the app that had focus which for me also was Slack.

Is it possible that this user had the same thing happen to them? When I disable the watch unlocking, I can't make the password go anywhere but into the login screen (10.13.1 here with last weeks security update applied)




Original Poster replied to my tweet where I asked him if he has an Apple Watch: >Hey Tonny. No I don't have an Apple Watch so it's not related. I did connect an external screen before opening the MBP though, so maybe it's related to that? Note that I can't reproduce it, happened only once so it must be a shady bug.

See https://twitter.com/BenoitLetondor/status/939164367962148864


Because of the short delay between waking the Mac and the display lighting up, I always either use spacebar or command key, or click the trackpad/mouse a couple times to wake.

Return is a dangerous key!


I hit the shift key


I used to hit the Shift key to manually triple-verify keeping my laptop 'alive' during long videos/presentations but have since switched to the Ctrl key. Thanks Sticky keys!


I'm a ctrl freak :D


Same here.. modifier keys are the safest to use.


Hell yes. I wonder wha’s the worst thing someone has done with this? When you hit return and just before the keystroke a pop up comes up and you agree to something you didn’t want. I’ve see a couple of bad ones in the radiology world.


Oh god, popups while you're typing are the worst. I feel like the OS should not even allow it.

No idea how to prevent the issue, but I've been caught mid sentence before and accepted installs, upgrades, random popups, etc. Ones from Skype tend to be the most infuriating / scary..


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.


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).


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?


I think so, yes. Diverting keyboard focus in the middle of anything should never happen. Should there any exception to this?


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.


My favourite was watching someone perform an MRI with injected contrast - imaging being timed for specific points after injection.

They are just tidying up parameters for a bit of post constrast injection imaging. They hit enter to accept a parameter change just as a notification appeared to trigger the next scan. Basically it missed the key imaging phase and the scan had to be repeated a day later once the injected contrast had been cleared out of the patient’s system. Imaging equipment vendors seem to make custom UI in places where it is unneeded (software buttons which trigger on touch down, not touch up for critical functionality?! Why?) but in places where it would be safer to make something custom they don’t.


Yes, stealing focus by another application should not be permitted by the window manager / OS. Windows XP had a feature or a 3rd party plugin that would simply blink the application in the task bar if it attempted to steal focus. I also seem to remember a similar feature in Gnome 2, though it could be a false memory.


I remember this (I think). The worst offenders that come to mind for me are applications themselves, not other programs or the OS.

Edit: a possible exception being the “please enter your iCloud password” curse I somehow cast on myself sometimes.


Seems plausible. I have replied to the tweet and asked him, see https://twitter.com/TonnyGaric/status/939152498249666562


Hmm, the "Unlocking with Apple Watch..." sequence breaks when you hit a key and then displays the standard password field, so that you can type in your password instead. This seems really unusual.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: