| Summary: | file_prompt dialog does not default correctly if value was changed in a previous run | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | M G <madjid.ghazi.eclipse> |
| Component: | Debug | Assignee: | JDT-Debug-Inbox <jdt-debug-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | sarika.sinha, srikanth_sankaran |
| Version: | 4.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | stalebug | ||
Further info : The desired behaviour is indeed what happens when a string_prompt is used Further info : The bad behaviour even crosses multiple run configurations boundary. iee run class A with its own run config, edit the file name that is displayed ( default of the Run config A variable ), then run class B with its own seperate and different variable default and you see the one from run A displayed. The default of value form run B is never displayed Please reroute SWT is the not the right component. 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. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. 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. |
I have a run config with the program argument set to ${file_prompt:filepath:C:\temp\fred.txt} When I run it correctly opens a file dialog with fred.txt as a default initial value. I then edit the name and choose wilma.txt and run the program. Run the program again and the initial value presented is wilma and not fred. I can see where keeping state like this may be useful but that is not what is supposed to be happening here. If it is then some how it should be communicated better. EG In java when I do a System.getProperty("key","default-value") I expect in each invocation the default value to be what i just passed in and not what the result of the previous call was. I have given an explicit value to be used as a default value.