Summary: | [KeyBindings] "Null" and strange characters in key sequence entry widget | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Nick Edgar <n.a.edgar> | ||||
Component: | UI | Assignee: | Chris McLaren <csmclaren> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | blocker | ||||||
Priority: | P1 | CC: | douglas.pollock | ||||
Version: | 3.0 | ||||||
Target Milestone: | 3.0 M4 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Nick Edgar
2003-09-27 17:16:10 EDT
Note that I was running with an older SWT (I20030719), so this may not be a problem in the latest. Nick, I'm going to hijack this bug for my own purposes. The specific bug you mention does not occur (anymore). However, in general, something has changed recently that has caused rather spectacular breakage. These are the things I've noticed: + Typing arrow keys into the entry widget inserts strange characters. + Typing "Ctrl+" inserts "Null". Problems occur on a self-hosted workbench running the latest head of platform-ui, but do not occur on I20030925. Created attachment 6272 [details] KeySupport The mistake was a blind cast from int to char without checking bounds. Leaving the value as an int solves the problem. Test suites all pass (except for the seg faults described in Bug 43312). nick/chris: review/apply patch applied. |