Bug 6629 - Open On Selection does not work on Linux
Summary: Open On Selection does not work on Linux
Status: RESOLVED DUPLICATE of bug 6670
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 2.0 M1   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-06 09:25 EST by Claude Knaus CLA
Modified: 2002-01-14 10:37 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Claude Knaus CLA 2001-12-06 09:25:14 EST
20011204:

Open On Selection (F3) doesn't seem to work on some types.

I open ICompilationUnit.java and select ISourceManipulator and hit F3
and get a beep. This happens on Linux only. Is this an SWT related bug?

I removed all the index files of jdt.core but it didn't help.
Comment 1 Erich Gamma CLA 2001-12-06 09:45:56 EST
Does it work when Open On Selection is executed from the menu (Edit>Open on 
Selection)? Can reproduce a case where F3 fails but the menu action succeeds. 
In this case it is a problem related to short cuts and isn't a code resolve 
problem.
Comment 2 Claude Knaus CLA 2001-12-06 10:19:30 EST
No, behaviour is the same, no matter if I invoke by F3 or by using the menu.
Comment 3 Claude Knaus CLA 2001-12-07 05:19:30 EST
I can reproduce it on both Windows and Linux with drop 20011206:

  1) start with a clean workspace
  2) add ZRH repository
  3) add org.eclipse.core.resources to workspace
  4) open AbstractDataTree in editor
  5) find and select the type AbstractDataTreeNode
  6) hit F3 and listen to the beep...
Comment 4 Erich Gamma CLA 2001-12-07 10:11:34 EST
The test case above isn't a proove, since the project's build path isn't 
complete.

As another data point:
One reason was that rt.jar was missing on the build path of a project.
The exception was AbortedCompilation: Object missing.

Philippe suspects a flushing problem, Claude can you pls try to close and 
reopen the project.
Comment 5 Claude Knaus CLA 2001-12-07 11:25:31 EST
This is weird. I added xerces, boot and runtime. Still the same behaviour.
I restarted Eclipse, and suddenly, it works.
Comment 6 Erich Gamma CLA 2001-12-07 13:04:37 EST
This PR looks related to 6674
Comment 7 Philipe Mulet CLA 2001-12-07 18:52:51 EST

*** This bug has been marked as a duplicate of 6670 ***