This new version is now available at SourceForge:

*Download Jmol-14.4.1_2015.12.13-binary.zip (60.3 MB)
<https://sourceforge.net/projects/jmol/files/latest/download?source=files>*


*IMPORTANT*: A very recent modification of Chrome makes Chrome unusable
with all previous versions of JSmol, at least until sometime in January.
The WebGL version of JSmol is not impacted.

This appears to be the result of a well-meaning attempt by Chromium
developers to enhance smooth scrolling of pages by lowering the priority of
setTimeout calls. However, the unanticipated fallout of that change results
in extremely rough rotation of models. You can follow the issue here:
https://code.google.com/p/chromium/issues/detail?id=568725  Note that one
of the last comments on Dec. 11 indicates that there indicates this issue
will not be addressed until sometime in January.

*But there is a workaround. *This release of Jmol 14.4.1 should correct
that problem and, at the same time, may improve performance with Microsoft
Edge.

I have put up two versions of JSmol that illustrate the problem and the fix:

(original) http://chemapps.stolaf.edu/jmol/jsmol/jsmol.htm
(fixed) http://chemapps.stolaf.edu/jmol/jsmol2/jsmol.htm

Testing of that second site would be appreciated.

The work-around is simple, and if you want, you can implement this yourself
on your site.  Really (in terms of this bug) it is just a single coding
change in jsmol/js/JSmol.js, where one "setTimeout(f)" has been replaced
with "requestAnimationFrame(f)". Thus, if you prefer, you should be able to
just swap in a new JSmol.min.js or JSmol.min.nojq.js for the old one. I
have not tried this. Of course, if you do that, then the other bugs listed
below will still be there. If you want to try that, here is the link to
that file specifically:

http://chemapps.stolaf.edu/jmol/jsmol2/JSmol.min.js

Bob

Jmol.___JmolVersion="14.4.1_2015.12.13"

bug fix: JavaScript Chrome/Edge fix for slow response due to setTimeout
issues; uses requestAnimationFrame instead in JSmol.js
bug fix: zoomTo not setting time to 0 in the case of scriptWait
bug fix: set selectAllModels should restrict action of display/hide as well
bug fix: set selectAllModels not working appropriately
bug fix: set selectAllModels should not be saved in state
bug fix: JmolData.jar does not update atom screen positions upon REFRESH or
select {visible}
bug fix: JmolData.jar -p flag does not work properly
bug fix: model 0 issued when more than one PDB file is open does not
execute model *

-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Department of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


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-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to