Bug 83624 - content assist: closes only last ContextInformationPopup on stack on focus lost
Summary: content assist: closes only last ContextInformationPopup on stack on focus lost
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2005-01-25 11:17 EST by Florian Georg CLA
Modified: 2007-06-22 10:04 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 Florian Georg CLA 2005-01-25 11:17:30 EST
I use a source viewer which understands something like "variable.property".

I do the following:

- type text "variable" 
 -> context info popup shows me some info in a tooltip-styled fashion, say "foobar"

- CTRL-SPACE activates the content assist

- I select "property" from the list of proposals and hit return
  -> first tooltip hides, second showing up with text "wombat"

- NOW: I leave the control (e.g. with TAB)
  -> focusLost event is posted to ContentAssistant$Closer, which closes
   the top ContextFrame on its stack
  ----> the previous "foobar" suddenly shows up again, and does not disappear
until the Closer gets another event like MouseDown/Dispose/... !!!

I worked around this by posting a dummy MouseDown event to the control on
focusLost .... this makes another call to
ContextInformationPopup.hideContextInfoPopup and everything works fine.
Comment 1 Dani Megert CLA 2005-01-25 11:23:55 EST
Please provide more info (e.g. screen shots, build id). I assume this is with
your own implementation. As you can see in the Java editor the infrastructure works.
Comment 2 Dani Megert CLA 2007-06-22 09:59:17 EDT
Get rid of deprecated state.
Comment 3 Dani Megert CLA 2007-06-22 10:04:32 EDT
.