I have been seeing this (annoying) bug for many months, but have 
never found a reproducible demonstration. Now I think I have one, 
albeit a complicated one.

My testing indicates that this anomaly occurs in Safari (Mac OS X) 
but not Firefox (Mac OS X, Windows). Therefore presumably it is NOT A 
BUG IN JMOL.

Go to
http://www.bioinformatics.org/jmol-tutorials/jtatjmol12/jtatdemo/ch_view1/chapter.htm
(Jmol 12.0.8)

[The "toggle spinning" button now works; I changed jmolScript("exit; 
show spin;") to jmolScript("!show spin;").]

Toggle spinning off by clicking the "Toggle Spinning" button below Jmol.

Notice that dragging in Jmol rotates the molecule, as it should.

Now click on any View button.

The next time you drag near the middle of Jmol, you get zoom, not 
rotation. You can let up the button of your mouse, depress it again 
WITHOUT MOVING IT, and it still zooms, ad infinitum.

As soon as you let up the button, move the mouse with the button up, 
and then drag again, you get rotation.

This is reproducible. Perhaps there is some particular command that 
leaves Jmol in this state, but if so, I have not identified which command.

If, after clicking the view button, and before dragging in Jmol, you 
change the focus from the browser window to Jmol's console, then back 
again (by clicking OUTSIDE of Jmol), the inappropriate zoom does not 
occur. On the other hand, if you click-drag in Jmol first, it zooms.

-Eric


------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to