The first issue is no issue because Konqueror accesses java through
KJAS, which runs the JVM directly. I don't know why it does do that, but
I suppose there is a sensible reason.

The 2nd one is partly an issue indeed (or actually mostly). LiveConnect only 
seems to be working when Java uses KIO, in fact only when it does so. I suppose 
that only if it is using KIO, Konqueror can actually connect JavaScript and the 
applet. 
The actually problems appears when tryign to trigger a second color change: the 
JavaScript will not be able to be execute. An inspection of the JavaScript 
debugger indicates that document.ColorBlockApplet.setColor is once more not 
available.

So we need to find out why KDE doesn't default to KIO, make Kubuntu use
KIO if there is no good reason to not do that and fix the bug of not
being able to access the applet more than once.

On a side note: doAlert doesn't get called, might be a limitation of the
implimentation though.

-- 
konqueror: LiveConnect/JavaScript not working (IcedTeaPlugin not recognized)
https://bugs.launchpad.net/bugs/290707
You received this bug notification because you are a member of OpenJDK,
which is a direct subscriber.

Status in “kdebase” source package in Ubuntu: Confirmed

Bug description:
Binary package hint: konqueror

konqueror does have it's very own idea about applet support, but doesn't allow 
this support be replaced with support which comes with other plugins like 
IcedTeaPlugin.

There's more than one issue:

 - /usr/lib/xulrunner-addons/plugins isn't searched for plugins. AFAIK this is 
the standard path for xulrunner-1.9
   compatible plugins (there are other paths like /opt/foo* which are searched 
for plugins, and probably should
  be removed.

 - Now with /usr/lib/xulrunner-addons/plugins added, LiveConnect still doesn't 
work. As an example visit
   http://people.ubuntu.com/~doko/java/ColorBlockApplet.html and you should be 
able to change the colors
   and get the alert box by clicking the applet area (install firefox and 
openjdk-6-jre for a working example).

As a workaround just use firefox for applets requiring LiveConnect support.

Confirmed by Riddell on irc.

_______________________________________________
Mailing list: https://launchpad.net/~openjdk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openjdk
More help   : https://help.launchpad.net/ListHelp

Reply via email to