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

Bug 331914

Summary: [nls tooling] Quick assist dialog on paste does not close when moving caret to right
Product: [Eclipse Project] JDT Reporter: Dani Megert <daniel_megert>
Component: TextAssignee: Deepak Azad <deepakazad>
Status: RESOLVED WONTFIX QA Contact:
Severity: minor    
Priority: P3    
Version: 3.7   
Target Milestone: 3.7   
Hardware: All   
OS: All   
Whiteboard:

Description Dani Megert CLA 2010-12-06 10:41:55 EST
HEAD + attachment 184598 [details].

1. paste "c:\foo" into the Properties File editor
   ==> pop-up appears
2. press the Left_Arrow key
   ==> pop-up moves to the left
3. press the Right_Arrow key
   ==> pop-up neither moves to the right nor closes

I guess we should simply close the pop-up when moving to the right again. We do the same in the local rename scenario.
Comment 1 Deepak Azad CLA 2010-12-06 10:59:42 EST
(In reply to comment #0)
> HEAD + attachment 184598 [details] [diff].
> 
> 1. paste "c:\foo" into the Properties File editor
>    ==> pop-up appears
> 2. press the Left_Arrow key
>    ==> pop-up moves to the left
> 3. press the Right_Arrow key
>    ==> pop-up neither moves to the right nor closes
> 
> I guess we should simply close the pop-up when moving to the right again. We do
> the same in the local rename scenario.
This behavior is *exactly* same as in Java Editor. The popup in JE will close if 'Rename in File' is the only proposal available, in all other cases the popup behaves as described here.

Having said that we should probably fix the Right_Arrow key case in both places.
Comment 2 Dani Megert CLA 2010-12-06 12:05:47 EST
I agree. It's also the same as in content assist pop-up.