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

Bug 102549

Summary: In XP Files opened via File|Open use the Eclipse text editor even when there is a OLE enabled application associated with the extension
Product: [Eclipse Project] Platform Reporter: Elizabeth Grace Frank-Backman <egfrank>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: eclipse, eclipse
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Elizabeth Grace Frank-Backman CLA 2005-07-02 04:41:27 EDT
According to the documentation, when Eclipse runs under XP, the default
editor should be whatever editor the operating system associates with
the file's extension.

This is in fact the case when the document is listed in the resource view and
opened by double clicking or by chosing one of the options from the menu that
popsup when one right clicks a file.

However, if the document is opened using File|Open, the Eclipse text editor
wil be used unless the user explicitly names an alternate editor for that
extension using Window|Preferences...
Comment 1 Rafael Chaves CLA 2005-07-02 09:25:24 EDT
What is the file name? What is the file's content type (right click on it,
Properties... > Info)?

Also, is this 3.1 final (Help > About...) or a previous build?
Comment 2 Elizabeth Grace Frank-Backman CLA 2005-07-02 10:52:33 EDT
(In reply to comment #1)
> What is the file name? What is the file's content type (right click on it,
> Properties... > Info)?
> 
> Also, is this 3.1 final (Help > About...) or a previous build?

Its build Version: 3.1.0, Build id: I20050624-1300

So far I have detected the problem with *.doc, *.xls and *.ppt files.  I have 
micosoft office installed and I've double checked the file types associations
and they appear to be OK.  Also if I open the file from the resource window it
does use the correct in place editor, so at some point it is correctly
identifing the system editor and using its OLE facility.

My first guess as to the cause is that File|Open triggers code that uses "Text
Editor" instead of "In Place Editor" when it opens documents that have no
explicit editor defined via Window|Preferences.

beth
Comment 3 Kim Horne CLA 2005-07-05 10:39:20 EDT
This action is handled by the text component... 
Comment 4 Dani Megert CLA 2005-07-05 10:49:47 EDT

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