|
|
|
Re: Cannot create SWT browser after eclipse exit and restart [message #1016244 is a reply to message #1016096] |
Tue, 05 March 2013 15:48 |
Alexander Mitin Messages: 5 Registered: March 2011 |
Junior Member |
|
|
Any logs available for Designer tab is not working?
Can you determine which browser render it tries to use when design tab fails?
Running Eclipse using command line:
./eclipse -vmargs -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib64/xulrunner-1.9.2.27/
should use xulrunner-1.9.2 as browser renderer eclipse-wide, including Welcome Screen and WBP.
Other two options:
-Dorg.eclipse.swt.browser.UseWebKitGTK=true
-Dorg.eclipse.swt.browser.DefaultType=mozilla
have no effect for WBP.
To use WebKitGTK in WBP you should have libwebkitgtk-1.x.x.so installed in the system and have "Use WebKit if available" WBP preference enabled.
[Updated on: Tue, 05 March 2013 16:00] Report message to a moderator
|
|
|
Re: Cannot create SWT browser after eclipse exit and restart [message #1016292 is a reply to message #1005823] |
Tue, 05 March 2013 21:19 |
Rich Fleck Messages: 8 Registered: July 2009 |
Junior Member |
|
|
Alexander
Your comment helped me stumble on an odd workaround.
SUSE packages libwebkit as Library for rendering web content, GTK+ Port
ll /usr/lib64/libwebkit*
lrwxrwxrwx 1 root root 23 Jan 18 20:21 /usr/lib64/libwebkit-1.0.so -> libwebkit-1.0.so.2.17.9
lrwxrwxrwx 1 root root 23 Jan 18 20:21 /usr/lib64/libwebkit-1.0.so.2 -> libwebkit-1.0.so.2.17.9
-rwxr-xr-x 1 root root 18678416 Nov 30 20:58 /usr/lib64/libwebkit-1.0.so.2.17.9
I thought creating links for libwebkitgtk-1.0.so would help.
Kind of the reverse of your suggested fix in the google-web-toolkit group.
No Luck
Then I found this bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=359296
Just the act of checking the Web Browser setting prior to trying to
open a Designer Tab works.
If I check the Web Browser setting first it is set to
Uee Internal web browser
and the Designer Tab works
with the command line message
*** nss-shared-helper: Shared database disabled (set NSS_USE_SHARED_DB to enable).
window = 139872075739088
Browser ready.
If I open eclipse and try the Designer Tab I get the SWT error
and checking the Web Browser setting has the
Use external web browser
selected and the
Uee Internal web browser
grayed out
with the following appearing in the command line after I eclipse.
/usr/java/latest/bin/java: symbol lookup error: /usr/lib64/gtk-2.0/2.10.0/immodules/im-cedilla.so: undefined symbol: gtk_im_context_simple_get_type
Crazy but it is reproducible.
Thank You for your help and interest.
Rich
[Updated on: Tue, 05 March 2013 21:20] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03266 seconds