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

Bug 160444

Summary: [introduce parameter] Wrong Location of Content Assist Tip for the newly Introduced Param
Product: [Eclipse Project] JDT Reporter: ryenus ' <ryenus>
Component: UIAssignee: Markus Keller <markus.kell.r>
Status: CLOSED WONTFIX QA Contact:
Severity: minor    
Priority: P3    
Version: 3.2.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard: stalebug

Description ryenus ' CLA 2006-10-11 05:17:10 EDT
My env: FC4 Linux, Sun JDK 1.4.2_12
Seems this is a Linux only bug, I can't reproduce it on Windows PC of my colleague.

Select an expression, select refactor -> introduce parameter,
in the introduce parameter dialog, if the method in question already
has several arguments, the new argument is appended in the bottom,
which is ok.

the problem is, although the new argument is put in the bottom,
but the content assist tip for the name of the new argument would
be wrongly put on the name of the first/top argument. which covers
the real name of the first argument, as following

Arg1Type         ^[newArgName]        // real name "arg1" got hidden
Arg2Type         arg2
NewArgType    [newArgName]

"^" is used to indicate the location of the content assist tip, which is wrong
Unfortunately I'm unable to capture a screenshot, when capturing, the dialog
losts focus and the tip just goes away.
Comment 1 Eclipse Genie CLA 2019-12-03 19:48:26 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.