I can tell you what the problem is, I think. When you click on a button you
start a "thread" that processes your click as an "event". Generally one
doesn't want to make that thread wait for anything, so we have two running
threads in Jmol that get the script request, in this case "console" passed
to them. Now, the reason there are two threads is that some browsers have
security issues with a thread that is a JavaScript-based thread opening
files.

Something is amiss there. One way to investigate is go open the Java console
on your machine at type the letter T. This displays a thread report. For
example, on my machine I see:

Group ...examples-11/-threadGroup,ac=5,agc=0,pri=4
    Applet 1 LiveConnect Worker Thread,4,alive
    AWT-EventQueue-2,4,alive
    thread applet-JmolApplet-1,4,alive
    CommmandWatcherThread,1,alive
    HoverWatcher,1,alive

I don't know exactly how to interpret that, though. After opening the
console I see one more thread:

    Applet 1 LiveConnect Worker Thread,4,alive
    AWT-EventQueue-2,4,alive
    thread applet-JmolApplet-1,4,alive
    CommmandWatcherThread,1,alive
    HoverWatcher,1,alive
    TimerQueue,4,alive,daemon

What do you see, Jonathan?

Bob


2010/5/5 Angel Herráez <angel.herr...@uah.es>

> Jonathan Gutow wote:
>
> > So here's what I think we've got on Webkit Browsers:
> >
> > Doesn't work:
> > Safari 4.0.5 (6531.22.7) MacOS 10.6.3 Java SE 6 (64 & 32 bit versions
> enabled)
> > OmniWeb 5.10 MacOS 10.6.3 Java SE 6 (64 & 32 bit versions enabled)
> > Safari 4.0.5 Windows (version info? Angel)
>
> mine are 32bit:
>   Safari 4.0.4 Windows (AppleWebkit/531.21.8)
>   Safari 4.0.5 Windows (AppleWebkit/531.22.7)
> both fail
>
>   Google Chrome 4.1.249.1064 Windows (AppleWebkit/532.5)
> works
>
>
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Jmol-developers mailing list
> Jmol-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to