Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338933 - Problem launching default system web browser
Summary: Problem launching default system web browser
Status: RESOLVED WORKSFORME
Alias: None
Product: Web Tools
Classification: WebTools
Component: Web Standard Tools (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: wst-inbox CLA
QA Contact: David Williams CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-04 09:05 EST by Missing name CLA
Modified: 2011-04-01 22:40 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Missing name CLA 2011-03-04 09:05:18 EST
When I select Window > Web Browser > Default system web browser, Eclipse is launching Gedit instead of Firefox. This problem doesn't happens with Galileo version. I'm using Linux Mint 9.


-- Configuration Details --
Product: Eclipse 1.3.2.20110218-0812 (org.eclipse.epp.package.jee.product)
Installed Features:
 org.eclipse.jdt 3.6.2.r362_v20101117-0800-7z8XFW6FLFlmjJcvz03jyeFBLS_F
Comment 1 Prakash Rangaraj CLA 2011-03-07 05:19:27 EST
In Preferences->General->Web Browser, which one is set as the default one?

Also Window->Web Browser menu is not added by Platform UI. Should be from WTP. Moving to WTP
Comment 2 Nitin Dahyabhai CLA 2011-03-07 14:50:57 EST
(In reply to comment #0)
> When I select Window > Web Browser > Default system web browser, Eclipse is
> launching Gedit instead of Firefox.

You've made certain that your desktop defaults to opening web pages in Firefox?  What kind of resource are you launching?  How are you launching it?


(In reply to comment #1)
> In Preferences->General->Web Browser, which one is set as the default one?
> 
> Also Window->Web Browser menu is not added by Platform UI. Should be from WTP.
> Moving to WTP

As far as I can tell, that simply changes the preferences just like the General/Web Browser preference page.
Comment 3 Missing name CLA 2011-03-09 12:30:17 EST
In Preferences > General > Web Browser I have selected Use external web browser. 

My default system browser is Firefox, but even if I change it at gnome-default-applications-properties Eclipse keeps launching Gedit.

As I workaround I had to manually add Firefox to Eclipse's browser list.
Comment 4 David Williams CLA 2011-04-01 22:40:20 EDT
This really should be/stay in Platform ... that's where web browser support and association is accomplished ... the "windows" shortcuts in Java EE perspective I think lead to incorrect move to webtools. 

If anyone wants to investigate further, would be best to reproduce using 'plain' Java IDE. 

While I am closing as 'works for me' I am not unsympathetic. I recently spent a day on a similar problem, but on Windows so it is unrelated to this issue (see bug 341181 if interested). 

Plus, Mint? Never heard of it, so that piqued my interest. Given its supposed to be "easier" than Ubuntu, still took me a day to get installed and working (not that it's Mint's fault ... dual boot, partitions, unsupported network adapter, etc. :)   

but once I did, it worked fine, that is, and HTML file opened fine in system default browser (firefox) with no fussying. 

(It never was said what type of file would not open, ... note bug 341181 was very specific to "strict" xhtml (and IE) so could be important here exactly what type of file is being tried ... perhaps even attach sample to be unambiguous. 

Plus ... not to be technical, but "Mint" is not a reference platform ... so, we'd need detailed steps on how to reproduce to be of any help at all. 

My guess is there's some quirk with your setup, install steps, mix of arch pieces (I used 64 bit system) or something similar. Please do reopen if you find some hints/tips that indicate the problem really is in (Platform) Eclipse. 

Thanks very much for opening. Mint does looks pretty cool. Does have many UI improvements (over plain Ubuntu) so I was glad to learn about it.