Re: Is anyone else noticing more duplicate keypresses (bad debounce) in Lion?
Re: Is anyone else noticing more duplicate keypresses (bad debounce) in Lion?
- Subject: Re: Is anyone else noticing more duplicate keypresses (bad debounce) in Lion?
- From: Jerry Krinock <email@hidden>
- Date: Fri, 16 Sep 2011 19:40:30 -0700
On 2011 Sep 16, at 18:09, G S wrote:
> I'm seeing lots of duplicated keypresses on Lion.
I'm not seeing any of those.
On 2011 Sep 16, at 18:27, Andy Lee wrote:
> Not sure what the connection is to Cocoa development, but FWIW I've noticed that when I start a burst of fast typing in a text field, sometimes my first character appears somewhere in the middle or at the end. It's as if something is screwing up the event queue.
I think I heard one of the MacWorld editors blame this on "Lion's Autosave", but I've never experienced it myself. The theory is that the skips occur during an autosave operation. If this is the case, it may indicate that the application invoked -[NSDocument unblockUserInteraction] too early, before the "immutable snapshot" had been taken. But that's just my wild speculation. I've read the comments in NSDocument.h in the 10.7 SDK several times and still don't understand it completely.
It would be interesting to know what apps you are seeing this in, and whether or not they've implemented Autosave In Place and/or asynchronous saving. The latter may be difficult to determine, unless you happen to have the source code ;)
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden