pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piotr Kołaczkowski <p.kolaczkow...@sages.com.pl>
Subject Window event mappings - KeyReleased -> KeyPressed
Date Fri, 20 Jan 2012 09:40:07 GMT

In current implementation, when I:
1. Press Ctrl
2. Press C
3. Release Ctrl
4. Release C

The event Ctrl-C is *not* fired.

However, this sequence works:
1. Press Ctrl
2. Press C
3. Release C
4. Release Ctrl

Confusing as hell, got me a half an hour to check why sometimes my 
keyboard shortcuts get fired and sometimes not.

Why are events generated in keyReleased and not keyPressed?
Patch attached.


Piotr Kołaczkowski
senior consultant
Sages Sp. z o.o.

View raw message