OK, I can reproduce this problem even at http://chemapps.stolaf.edu/jmol/docs/examples-11/new.htm

The problem:

After a few script invocations, specifically with the Mac OS, the applet appears to not be responding. A page resize starts it up again. In actuality, the scripts are working fine. it's just that nothing is being displayed. The applet is "frozen". Even quick tapping motions with the mouse that just slightly change the orientation can generate the problem. Again, the applet is not frozen, but something is keeping it from doing its update. You can still enter commands using CTRL-K followed by keystrokes. For example, [CTRL-K] javascript "alert('testing')" [ENTER] does pull up a message box.

Thoughts: This is a serious problem. Very odd that it is just now that we notice it. It's not like Jmol hasn't been used on a Mac.

[Jonathan Gutow -- have you noticed this before? Recently?]

It's could be a Mac OS bug or a browser bug, but more likely it's a Jmol problem. I will start debugging from our end do see where the hang-up is. Could be a threading issue, an operating system updating issue, or a Jmol bug.

Basically what happens in Jmol is that when changes are made by scripts and such, Jmol sends an "I need a window update" message to the operating system, and the operating system is then supposed to send Jmol the same sort of "update your window" message that happens when another application that was obscuring the page. Something is hanging up that operation.

Question: Is this happening with Jmol 11.6 or just Jmol 11.7?

Question: All browsers on the Mac? My tests were with Firefox. I don't see the problem (yet) with Safari.

Bob


On Thu, Apr 23, 2009 at 2:05 PM, Thomas Juettemann <juettemann@gmail.com> wrote:
Angel,

it happens on all 13.075 pages, although not consistently. I am using
Jmol 11.6.17. I am using on MacOSX, and I tried Safari and Firefox.
It showed the same behaviour on 3 different machines (Although all
Macs). †I just tried Opera, it seems to work fine there. Which system
do you use? Any suggestions more than welcome!

Randy,

it would be great if you could send me the code, thank you so much! It
also helps to know that you run into this trouble with the same setup,
are you using any stylesheets?

Cheers,
Thomas


On Thu, Apr 23, 2009 at 06:43, †<r.zauhar@usp.edu> wrote:
>
> I have been facing the same issue. I am also loading multiple structures
> on the page and
> run into occasional freezes, and sometimes the need to scroll the page a
> bit to prompt the
> applets to load data. Maybe both Thomas and I are running into this
> trouble because we
> are frequently loading the applets with new structures?
>
> I followed the advice from (I think) Bob to use jmolLoadInlineScript, and
> to pass this script
> a javascript function call to load the next applet in line with a new
> structure (will be happy
> to share my code if you want to see). This clearly forces the applets to
> load one-by-one
> and I think it has improved behavior - however the freeze issue has not
> totally gone away.
>
> I have been mainly testing on OS X, but the trouble arises for both
> Firefox and Safari.
>
> Randy
>
> On Thu, 23 Apr 2009 10:06:55 +0200 "Angel HerrŠez" wrote:
>
>> Thomas, this sounds rather uncommon. I don't know what may be the
>> cause, but some detailed information may help to find it.
>> It looks to me more of a browser or JavaVM issue, maybe even CSS,
>> rather than a Jmol problem.
>>
>> 1. Does this happen with any Jmol page, or just with some of them?
>>
>> 2. Does this happen with any browsers? Which one are you using?
>> Operating system?
>>
>> 3. Have you tested other computers? The page looks fine in mine.
>>
>> 4. Which Jmol version are you using?
>>
>>
>>
>>
> ------------------------------------------------------------------------------
>> Stay on top of everything new and different, both inside and
>> around Java (TM) technology - register by April 22, and save
>> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
>> 300 plus technical and hands-on sessions. Register today.
>> Use priority code J9JMT32. http://p.sf.net/sfu/p
>> _______________________________________________
>> Jmol-users mailing list
>> Jmol-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>
>
>
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users



--
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