Do people actually experience the double paste problem on non-Mac platforms? John M McIntosh wrote:
Technically the behaviour between the the versions (3.x/4.x/5.x) should be the same, if you can show it's not, then it's a bug.
In 5.0 we see the keydown and record data, but we don't actually get the character until text services decides what the unicode value is going to be based on the keyboard/language & deadkey support.
Some time after the keydown (one or more) Text services calls insertText: on our view that then makes us generate the keydown, keystroke event using the same millisecond clock value.
Milliseconds later the key goes up and we generate the key up event using the current clock time.
Could there be an interaction between key events and clipboard access? Or a race conditions where the Mac menu and Squeak both process the paste event? I can't come up with any other explanation why double key events would only happen on CMD-v... That is maybe they are occurring on copy and cut as well, but we just won't notice... Michael