| Summary: | Numlock events broken on X11 | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Alistair John Strachan <alistair> |
| Component: | events | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | icculus, sezeroz |
| Version: | HG 1.2 | Keywords: | target-1.2.14 |
| Hardware: | Other | ||
| OS: | Linux | ||
|
Description
Alistair John Strachan
2008-06-19 05:04:36 UTC
Tagging this bug with "target-1.2.14" so we can try to resolve it for SDL 1.2.14. Please note that we may choose to resolve it as WONTFIX. This tag is largely so we have a comprehensive wishlist of bugs to examine for 1.2.14 (and so we can close bugs that we'll never fix, rather than have them live forever in Bugzilla). --ryan. Taking bug. --ryan. Is this still a problem with the recent snapshot? http://www.libsdl.org/tmp/SDL-1.2.zip I just tried this with the checkkeys test program on Linux and Mac OS X, and I got the expected results. Pressing and releasing the key gave a "Key pressed" message and doing it again gave a "Key released" message. This worked correctly with both NumLock and CapsLock. (In reply to comment #3) > Is this still a problem with the recent snapshot? > http://www.libsdl.org/tmp/SDL-1.2.zip Looks fixed now. If I run the checkkeys from the SDL in that package with my _system_ SDL (Debian 1.2.13-4+b1) I see the buggy behaviour. If I LD_LIBRARY_PATH to the SDL from the snapshot, the problem goes away. OLD: Key pressed: 300-numlock modifiers: (none) Key released: 300-numlock modifiers: (none) Key pressed: 300-numlock modifiers: (none) Key released: 300-numlock modifiers: (none) NEW: Key pressed: 300-numlock modifiers: NUM Key released: 300-numlock modifiers: (none) Great, thanks for the update! |