| Summary: | [mavigation] Outline view pane update issue | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Victor Costan <costan> | ||||
| Component: | Text | Assignee: | JDT-Text-Inbox <jdt-text-inbox> | ||||
| Status: | RESOLVED DUPLICATE | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P2 | CC: | dirk_baeumer | ||||
| Version: | 3.0 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Victor Costan
This could be related to bug 66439, which describes an update problem in JFace (the outliner is based on JFace tree viewer). Victor, when this happens and you select a method for which you get to the wrong source position, which method is presented in the status line. The one from the outliner or the one from the source you jumped to. One last question: how do you delete the methods. In source or from the outliner using the delete action from the context menu. Tried to reproduce this using the source attached to PR bug 66439 but wasn't able to do so. Victor, any special steps. I erased chunks of source code from the editor. Nothing special... I also got that effect while working with other files. Also, please note that my source code is not in bug 66439. It is in bug 65626 (actually, there's a hyperlink to a zipped project there... the person handling that case might have copied the project - in any case, it's still working). The link is: http://web.mit.edu/costan/www/bug65626/lapis.zip Anything in .log? Can you provide the Outline view's settings, e.g. which filters enabled in the toolbar, what's checked the view menu and the Filters... dialog. The last entry in .log is fron June, 3, so I don't think it's relevat. I'm having the functions alphabetically sorted. I tried working with them in default (file) order, and they're still getting messed up. You wanted more specific steps, so here it is: open up the Browser.java I'm attaching, and delete the "invoke" function. Trying to access the "remove... ()" functions (or, I think, anything below invoke) from the overview pane will result in a bad jump. Note: I have overview turned on all the time, I'm using the java perspective. Also, I have found that just clicking the "sort by name" view action, then clicking it again (enabling / disabling the specific order), the overview pane loses its way around my sourcecode, too. Created attachment 12141 [details]
The Browser.java to use when trying to reproduce the bug.
Victor, can you do the follwing: 1) try if you can reproduce when sorting is disabled 2) answer Dirk's first question from comment 1 waiting for user input Sorry for the delay. It happened because I tried to get the bug when the methods list was not sorted. It seems that it's only happening when sorting occurs... I'm a bit confused, because I recall it also happened if I disabled sorting (probably, the view remained sorted, and I didn't notice that). The status bar shows the correct method name. So it could be a bug in maintaining the sorted order. Marking as duplicate: since the status line is correct it's the refresh bug. *** This bug has been marked as a duplicate of 66439 *** |