[squeak-dev] wait2ms

David T. Lewis lewis at mail.msen.com
Sun Feb 3 19:00:01 UTC 2013


On Sun, Feb 03, 2013 at 10:33:14AM +0100, St??phane Rollandin wrote:
> Also I found this on the web:
> http://forum.world.st/Real-Slowdown-of-InputSensor-between-3-8-and-3-9-td62714.html
> 
> from where it seems that the reason for the wait is related to system 
> window panes resizing logic...

Stef,

Wow, you just found the cause of our badly broken keyboard entry in MVC :)

Since about Squeak 3.9, keyboard entry (especially on Linux) has had an
odd latency delay that makes it all but unusable. I just tried commenting
out the wait2ms, and suddenly keyboard entry is working again. I see no
immediately obvious ill effects (cpu use does not go too high, and things
generally still work fine).

It seems that the delay was added back in about 2005, and very likely
the changes to input events in the Squeak 3.9 time frame caused it to
become a problem. I'm not sure the right way to fix this, but at least
now we know the source of the problem.

Thanks!

Dave



More information about the Squeak-dev mailing list