Bug 70042 - Command completion pop up doesn't hi-lite initially
Summary: Command completion pop up doesn't hi-lite initially
Status: RESOLVED DUPLICATE of bug 64861
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux-GTK
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-14 14:33 EDT by Jason Rogers CLA
Modified: 2004-07-19 10:28 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Rogers CLA 2004-07-14 14:33:12 EDT
I have to press TAB to get into the command-completion pop-up window in order 
for it to hi-lite the current selection.  That doesn't preclude me from making a 
selection however.  I can arrow up and down and move the current selection, but 
nothing is hi-lited to tell me that.  I can even press ENTER and have the 
current selection placed into the code pane.  If I press TAB before pressing 
ENTER the current selection is properly hi-lited.
Comment 1 Dani Megert CLA 2004-07-19 07:25:31 EDT
This is intended behavior. The focus remains on the editor unless you give it
explicitly to the list. This allows to type characters into the editor and
narrow down the list.
Comment 2 Jason Rogers CLA 2004-07-19 09:07:36 EDT
If that is so, then this is a bug in the Windows release, because as soon as I
type CTRL+Space in Windows the hilighting is there in the completion window. 
However, notice that the editor still has focus.  What I was complaining about
was that the hi-lite doesn't show up.  Perhaps my post was not as clear as it
could be.

So, let me try again.  All I want to happen is for the hilighting to take place
in the pop-up window as soon as I press CTRL+Space.  Every version prior to this
one has done that.
Comment 3 Dani Megert CLA 2004-07-19 09:15:06 EDT
OK: you mean you do not see any element being selected in the inactive (i.e. has
no focus) list? Try whether you see inactive list selection in another
(non-Eclipse) list. Maybe your inactive list selection color is the same as the
list's background color.
Comment 4 Jason Rogers CLA 2004-07-19 09:29:12 EDT
Great, I'll bite.  What other type of "(non-Eclipse) list" can I try?
Comment 5 Jason Rogers CLA 2004-07-19 09:32:20 EDT
... actually, that may have been a premature bite.  I haven't changed any of the
colors.  They are all at their defaults.  The item does get hi-lited with an
orange-ish background when I tab into it.
Comment 6 Dani Megert CLA 2004-07-19 09:35:40 EDT
Open gedit. Edit > Preferences, select Editor > Open ==> you get an encoding
list.  Select an element and remove focus from the list.
Comment 7 Dani Megert CLA 2004-07-19 09:36:35 EDT
when you tab into it it gets focus. the list bg color for active and inactive
list selection are (normally) not the same.
Comment 8 Jason Rogers CLA 2004-07-19 09:46:32 EDT
Gotcha...  I am building gEdit now.  I will let you know.
Comment 9 Dani Megert CLA 2004-07-19 09:53:09 EDT
There's even an easier way: in Eclipse change the completion proposal bg color:
Window > Preferences > Java > Editor > Code Assist
Comment 10 Jason Rogers CLA 2004-07-19 10:19:12 EDT
OK, well that is a work-around.  I have done that.  The current selection in the
inactive window now has the default white-ish background and the background of
the rest of the list is what I have set it to.  That does the job of letting me
know what is currently selected, but it still seems that something is amiss.

Am I to infer from your responses thus far that you do not have this issue?  If
not, then it's certainly an external issue to Eclipse (themes perhaps?).
Comment 11 Dani Megert CLA 2004-07-19 10:28:09 EDT

*** This bug has been marked as a duplicate of 64861 ***