yvt / openspades

Compatible client of Ace of Spades 0.75
http://openspades.yvt.jp/
GNU General Public License v3.0
1.14k stars 217 forks source link

0.0.10 Chat bugg #115

Closed Defero200 closed 7 years ago

Defero200 commented 10 years ago

In version 0.0.10 of Openspades is a bugg that I noticed. If you want to write something in the chat it sometimes writes double letters etc. Like if I want to write "hello" it sometimes writes double letters and it will return "heelllo" And thats kind of annoying. Would be cool if that could be fixed

rakiru commented 10 years ago

Are you perhaps holding the key down slightly too long? I can't duplicate this, but I've noticed that the key repeat delay is shorter than the default Windows one.

Defero200 commented 10 years ago

Then it has to be the repeat delay.

learn-more commented 10 years ago

Initial key repeat is roughly halve of what it is for my windows default setting (its 200 ms, default is ~500)

Defined in UIFramework.as nextDelay = 0.2f;

On windows the user setting can be retrieved:

UINT currentDelay = 0;
SystemParametersInfo( SPI_GETKEYBOARDDELAY, 0, &currentDelay, 0 );
UINT realDelayMS = 250 + (250*currentDelay);
noway commented 10 years ago

Yep, that's pretty annoying. In my case, this appears when I press 't' (global chat) or 'y' (team chat). When I press button, not only chat input line appears, but also 't' or 'y' already written in that input line.

yvt commented 10 years ago

@noway421 That seems a separate issue so I opened #169.

feikname commented 7 years ago

Solved, as seen in #169