Community
Participate
Working Groups
The only reason I'm tagging this as "major" is because it's very annoying and confusing. Versioning details: I'm using RC2, on a Windows XP SP1a, 2.8Ghz hyper-threaded CPU, extra options to eclipse.exe are "-data (something) -vmargs -Xmx384m". I have 512Mb RAM, so the whole thing fits nicely into RAM. I don't really need 384Mb (it's not that big), but it does tend to run slower when I use the default settings (64Mb, I think). I have a medium to large project. Everything is done on that project. See bug 65626 for the project codebase. Symptoms: - I'm deleting some functions from Browser.java. Then, when I click on most functions in the outline view, I get to the wrong function. I saved the file and tried again, and the problem persists. If I try navigating to the same function using the ctrl+click => hyperlink feature, then it works. So I think the problem is in UI updating events, not in parsing.
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
I used the code from bug 65626.
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 ***