Bug #1057

X11 Key auto repeat

Added by Naush about 8 years ago. Updated almost 6 years ago.

Status:Closed Start date:08/04/2010
Priority:High Due date:
Assignee:kervala % Done:

100%

Category:OS: GNU/Linux
Target version:Version 0.8.0

Description

Under X11 event for keyPress / keyRelease are send continuously until key release.

You can observe this behavior using 'INSERT' key in game.

History

#1 Updated by kervala about 8 years ago

Thanks a lot for reporting :)

#2 Updated by kervala about 8 years ago

  • Status changed from New to Assigned
  • Assignee set to kervala
  • Priority changed from Normal to High

#3 Updated by kervala about 8 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Applied in changeset r602.

#4 Updated by kervala about 8 years ago

  • Target version set to Version 0.8.0

I fixed the returning key not identical for KeyPress and KeyRelease so it fixes the Keypad 0 key :)

#5 Updated by kervala almost 8 years ago

  • Status changed from Resolved to Closed

#6 Updated by kervala almost 8 years ago

  • Status changed from Closed to Assigned

This issue is still present when we are pressing and releasing other keys after pressing the 0.

It seems like setting _PreviousKey is not enough.

#7 Updated by kervala almost 8 years ago

  • % Done changed from 100 to 90

#8 Updated by kervala almost 8 years ago

I noticed 2 things with X11:

  • When you you let 2 keys pressed at once, only 1 KeyPress event is sent
  • When you release 1 key after pressing 2 at once, no KeyPress event is sent anymore

I have to compare this behavior with windows one and fix that.

#9 Updated by kervala almost 8 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 90 to 100

Applied in changeset r927.

#10 Updated by kervala almost 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF