Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 14554

Summary: Code Assist does not give focus to entries in the popped up list
Product: [Eclipse Project] JDT Reporter: Tod Creasey <Tod_Creasey>
Component: UIAssignee: Kai-Uwe Maetzel <kai-uwe_maetzel>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: carolynmacleod4, n.a.edgar, vilmar
Version: 2.0Keywords: accessibility
Target Milestone: 2.0 F2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Tod Creasey CLA 2002-04-24 15:36:26 EDT
Code Assist does not give keyboard focus to entries in the popped up list. As a 
result any assistive technology that reads the contents of a widget by what has 
focus (such as JAWS) cannot read the selected entry in the Code Assist popup.

STEPS
1) Type a few letters
2) Invoke Code Assist by selecting Ctrl-Space
3) Select an entry - you will see that it has the out of focus selection colour 
(grey on Windows Standard) not the selected focus colour (dark blue on Windows).
Comment 1 Nick Edgar CLA 2002-04-26 12:10:49 EDT
If it doesn't have focus, how come the keys work?
Comment 2 Kai-Uwe Maetzel CLA 2002-04-26 12:20:04 EDT
Code assist hooks as key verify listener and verify listener into the text 
widget. It consumes all key strokes that have a navigational meaning for it.
Comment 3 Nick Edgar CLA 2002-04-26 12:22:53 EDT
Does it work differently when the list has focus?
Presumably you don't get the key events anymore, but it seems like it should 
still work the same.
Is it a problem to give the list focus?
Comment 4 Kai-Uwe Maetzel CLA 2002-06-04 12:52:44 EDT
With F2, when the content assist popup is visible, pressing TAB tranfers the 
focus to the popup. Thus, assistive technology can be used without having to 
use the mouse.
Comment 5 jose vilmar estacio de souza CLA 2002-06-05 11:31:20 EDT
Yes, it is a nice feature!
However I found  a small problem with this implementation.
If I press the CTRL+SPACE  and by some reason the  content assist do not pop, I 
have no way to discover this unles I press a new key. In this case, the
new key will be inserted in the source.
In my opinion,  a nice solution could be a sound when the content assist pops!
As I said, it is not a big problem and  the solution found is very good.
 
Comment 6 Tod Creasey CLA 2002-06-05 14:07:45 EDT
Confirmed works by using the tab in F2
Comment 7 Dirk Baeumer CLA 2002-06-13 10:18:37 EDT
Verified on F3
Comment 8 jose vilmar estacio de souza CLA 2002-10-19 08:41:31 EDT
hey! It is working as I'd like! When code assist is activated I do not need to 
press the tab key to access the list. It works also in the quick-fix.