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

Bug 345682

Summary: WebKit for GTK not detected.
Product: [Eclipse Project] Platform Reporter: Greymalkin <greyson>
Component: SWTAssignee: Grant Gayed <grant_gayed>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: dariogiova, remy.suen
Version: 4.1   
Target Milestone: 3.8 M3   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Greymalkin CLA 2011-05-12 23:53:23 EDT
Build Identifier: M20110210-1200

Eclipse should check for WebKit for GTK library as "libwebkitgtk.so" as well as current implementation checking as "libwebkit.so".

Recent changes in distribution of WebKit for GTK have changed the name of the library from libwebkit.so.* to libwebkitgtk.so.*

Notably, this has been seen in ArchLinux (https://bbs.archlinux.org/viewtopic.php?id=46887).

This causes eclipse to be unable to use the WebKit internal browser, despite user preference.

User (with root privileges) may symbolically link libwebkitgtk.so.* to libwebkit.so as a workaround.

I am reporting this bug as "Normal" rather than "Minor" since eclipse crashes with xulrunner-2.0, which is now a final release.  Using WebKit may be the fastest fix for users of Firefox 4 and Gnome 3.0.1, and they will be further frustrated to find that also does not work.

Reproducible: Always
Comment 1 Grant Gayed CLA 2011-05-16 11:11:52 EDT
This was fixed in 3.7RC1.  However I'm keeping this report open temporarily while I investigate if a better fix is possible.
Comment 2 Grant Gayed CLA 2011-05-17 12:50:23 EDT
Not going to investigate this for 3.7 since a fix is already in place, marking to revisit for 3.8.
Comment 3 Grant Gayed CLA 2011-09-28 10:21:58 EDT
Released the implementation improvement > 20110928.  Now back to one swt-webkit library which delegates to its native counterpart dynamically at runtime.  As a result it can use either a "webkit" or "webkitgtk" library, whichever is available.  Patch summarizing the changes is at http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=ac2a652564d7af2b41e21fb81f5327719042f516 .