Community
Participate
Working Groups
3.1 RC2. Open External Javadoc does not use General > Web Browser settings.
we're using 'help' to open these documents. Moving to 'help' to explain how the 'web browsers' preference page relates to the help window.
On Windows and Linux, help uses embedded browser in its own window, if available. If not available and on other platform, help opens external browser using UI browser support. Whad do you see, and what do you expect?
I think I'm experiencing the same problem. Here is what I submit as a bug report: Version: 3.1.0 Build id: I20050627-1435 Steps to reproduce: [NOTE: you can lose your browser preferences when following these steps.] 1. Get out of Eclipse. 2. Delete or move elsewhere the file (relative to your workspace): .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.browser.prefs This is so that we start with a known state regarding web preferences. 3. Start Eclipse. 4. Open a source file that has some already-generated javadoc associated with it. 5. Open Window->Preferences. 6. Select General->Web Browser in the left side preference tree. 7. Click Ok. [Do no change anything to the defaults befoing doing so.] 8. Select Navigate->Open External Javadoc. At this point, on my machine, Epiphany is launched. I run Debian Linux with Gnome so I guess Epiphany is the system default. 9. Close Epiphany (or whatever the default was.) 10. Open Window->Preferences. 11. Select General->Web Browser in the left side preference tree. 12. Click the New button on the right. 13. Fill the Name field with "Firefox" and put the path to whatever firefox installation you have (/home/ldd/bin/firefox, in my case: I use a variant build of firefox) into the Location field. 14. Click Ok. 15. Make sure your new browser configuration **has the checkmark** in the list of browsers. 16. Click Ok. 17. Select Navigate->Open External Javadoc. Actual behavior: Epiphany is started. Expected behavior: Firefox should start. 18. Exit Eclipse. 19. Start Eclipse. 20. Select Navigate->Open External Javadoc. Now, as expected, Firefox starts. Of course in the series of steps above, some behavior is system-dependent. The steps may need to be adapted depending on what the defaults for various systems are.
In more details, Help uses IWorkbenchSupport.getExternalBrowser(). It seems there is some caching of the browser there, as after changing preferences the same browser as before is returned.
Fix made and dropped to HEAD stream.
Fix released for next I-build.