| Summary: | Open type dialog skips over too much | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Billy Biggs <billy.biggs> |
| Component: | SWT | Assignee: | Steve Northover <snorthov> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | grant_gayed, snorthov |
| Version: | 3.1 | ||
| Target Milestone: | 3.1 RC2 | ||
| Hardware: | PC | ||
| OS: | Linux-Motif | ||
| Whiteboard: | |||
|
Description
Billy Biggs
BB to show SN and GG. This is happening because the selected item is being updated in the Table before KeyDown is received by listeners outside of the Table. The code in jdt is assuming that when it gets KeyDown that the selection has not quite changed yet, so if the selection is currently sitting above the separator item then it is bumped forward by an extra item index to skip over the separator item. But in the motif case, if the selected item was initially at index 0, pressing down arrow bumps the selection to index 1, and then jdt receives the KeyDown and sees the selection sitting just above the separator item and then bumps it down to index 3. I have a fix that we can discuss. The fix seems fine, and I've copied it to Tree as well. Fixed > 20060609 |