Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 99634 - [Browser] Open External Javadoc (Shift+F2) does not honor the Web Browser settings
Summary: [Browser] Open External Javadoc (Shift+F2) does not honor the Web Browser set...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Tim deBoer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-13 09:38 EDT by Dani Megert CLA
Modified: 2005-10-11 11:11 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2005-06-13 09:38:22 EDT
3.1 RC2.

Open External Javadoc does not use General > Web Browser settings.
Comment 1 Martin Aeschlimann CLA 2005-06-21 03:34:34 EDT
we're using 'help' to open these documents. Moving to 'help' to explain how the
'web browsers' preference page relates to the help window.
Comment 2 Konrad Kolosowski CLA 2005-06-21 11:45:07 EDT
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?
Comment 3 Louis-Dominique Dubeau CLA 2005-07-21 11:47:13 EDT
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.
Comment 4 Konrad Kolosowski CLA 2005-07-25 18:12:13 EDT
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.
Comment 5 Tim deBoer CLA 2005-10-11 11:03:01 EDT
Fix made and dropped to HEAD stream.
Comment 6 Tim deBoer CLA 2005-10-11 11:11:39 EDT
Fix released for next I-build.