zdt and Firefox Part II

August 23rd, 2005

I got a couple of responses to my Firefox question on the Eclipse newsgroups. Basically, Firefox needs to be explicitly compiled with embedding support to work correctly with the SWT Browser widget. By default the releases that you get from Mozilla.org don’t have this embedding support built in. Some linux distributions do compile Firefox with this support, but not all. Billy Biggs suggests looking to see if your /usr/lib/mozilla-firefox folder contains the file ‘libgtkembedmoz.so’. However it’s not a foolproof way to be sure. Anyway, this highlights the need for the zdt to handle systems that don’t have the right browser installed in an appropriate manner. (like not crash) :)

Entry Filed under: ZDT

2 Comments Add your own

  • 1. Trusmis  |  August 25th, 2005 at 3:21 pm

    It’s easy to check for a file and display a messague saying that browser support will not be available.

    Anyway, zdt have a lot of features to work on, I think that you can wait to firefox 1.5 (that is near the corner) before working on this, maybe the situation improves.

  • 2. Chris  |  August 25th, 2005 at 4:36 pm

    Actually I don’t even need to check for a file. It throws an exception when it can’t load the browser. I just need to handle it correctly. :)

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Calendar

May 2012
M T W T F S S
« Mar    
 123456
78910111213
14151617181920
21222324252627
28293031  

Most Recent Posts