>>I've always avoided dynamic resizing of Jmol applets due to "official"
>> advice in Jmol webpage
>>(Miguel's, I guess), but this is an interesting subject. I like dynamic
>> sizes.

This is my recollection ... perhaps faulty impressions ...

The issues I observed were related to issues that occurred during the
stretching operation.

As the browser window was dragged there were a large number of 'resize'
events that queued up. My impression was that the browsers and/or
JmolApplet would choke when they received such a large number of resize
events. I had the impression that there were problems with reentrant code,
either on one side or the other.

These issues may have gone away with new releases of browsers over the years.

If there are still issues on some browsers then perhaps it would be worth
setting a timer so that JmolApplet doesn't repaint until 0.5 seconds after
a resize event ... or something like that. Basically, don't try to keep up
during the stretching operation. Minimize computation until things settle
down on the new size.


Miguel


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to