| Summary: | [Browser] [WebKit] No internal browser found by Eclipse 3.7.1 on OpenSUSE 11.4 x86-64 (installed WebKitGTK 1.3.10 is not used) | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Rob Sigel <a_ufie> |
| Component: | SWT | Assignee: | Grant Gayed <grant_gayed> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | calegria, eclipse.felipe, lufimtse, s.muecke, stevemash, Vitaliy.Yakovchuk |
| Version: | 4.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Rob Sigel
Got the same bug. The problem is that old name of Webkit Gtk library was libwebkit, and a new name is libwebkitgtk. Creation a symbolic link with old rules name solves the problem. Try to create the link manually: sudo ln -s /usr/lib/libwebkitgtk-1.0.so /usr/lib/libwebkit-1.0.so.2 Restart Eclipse, open Preferences Window and check "Use internal web browser" in General/Web Browser. In my case internal browser works fine (at least on my Gentoo system). The eclipse 3.7 and 3.7.1 releases should be able to use WebKitGTK 1.2.x and 1.4.x without problem. Similar to GTK+, WebKitGTK uses odd minor revision numbers (ie.- the '3' in 1.3.x) to denote dev-stream work, which the Browser does not officially support, though I'm a bit surprised that it's not working "by accident". Does OpenSuSE 11.4 really only ship a dev-stream webkit library, and not also something "proper" like WebKitGTK 1.2.x or 1.4.x? re: comment 1 This should be working in eclipse >= 3.7.x. Are you using an older version than this? FWIW I just experienced the same problem. I have Eclipse 3.7.1 on OpenSUSE 11.4 x64. I had no "internal browser" option, and I was using a plugin (eclipse color theme picker) which created an SWT Browser instance. I was blowing up with: Caused by: org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)] at org.eclipse.swt.SWT.error(SWT.java:4308) at org.eclipse.swt.browser.Mozilla.initMozilla(Mozilla.java:1826) at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:687) at org.eclipse.swt.browser.Browser.<init>(Browser.java:99) at com.github.eclipsecolortheme.preferences.ColorThemePreferencePage.createContents(ColorThemePreferencePage.java:101) I have libwebkit installed (whatever 11.4 installed by default), and so I tried (perhaps naively) setting: -Dorg.eclipse.swt.browser.DefaultType=webkit But that didn't work. Then I found this issue, and per the report's workaround I installed xulrunner192 via YAST and it resolved the problem. I can confirm this is happening in Arch x86_64 + Xfce too. I also solved the issue by creating a symbolic link: ln -s /usr/lib/libwebkitgtk-1.0.so.0.13.4 /usr/lib/libwebkit-1.0.so.2 Thanks for this suggestion! (In reply to comment #1) > Got the same bug. The problem is that old name of Webkit Gtk library was > libwebkit, and a new name is libwebkitgtk. > > Creation a symbolic link with old rules name solves the problem. > > Try to create the link manually: > > sudo ln -s /usr/lib/libwebkitgtk-1.0.so /usr/lib/libwebkit-1.0.so.2 > > Restart Eclipse, open Preferences Window and check "Use internal web > browser" in General/Web Browser. > > In my case internal browser works fine (at least on my Gentoo system). In the meantime we've implemented webkit2 support and SWT works on webkit1 and webkit2. Mozilla is deprecated. 528844 – (webkit2Default) [Webkit2] Make webkit2 default. https://bugs.eclipse.org/bugs/show_bug.cgi?id=528844 |