logoalt Hacker News

jan_Satetoday at 8:51 AM2 repliesview on HN

There's a problem with buffering tho. If the device's slow and unresponsive, and the user tapped the rotation button several times, it would be confusing if the rotation action happens 10 seconds after the user tapping the button. The user'd be left confused like "alright. So, has my input been taken?"

Now that I'm wondering. How does iphone mitigate this problem?


Replies

Timwitoday at 9:02 AM

It shouldn't buffer them like the author describes. It should execute the button’s function immediately when pressed. This might mean to cancel the current animation and jump ahead, or it might mean to speed it up by the appropriate factor so it takes the same amount of time as it does for one button press. Either way is massively preferable to a button that swallows my input.

crewindreamtoday at 10:24 AM

One way to deal with it could be “guaranteed interrupt” action (something like sigkill, just for UI action queue).

Other way could be to actually visually indicate action queue depth.