#12299: Advance Jmol Interactive Features in Flask Notebook
---------------------------+------------------------------------------------
Reporter: gutow | Owner: jason, mpatel, was
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.0
Component: notebook | Keywords: Jmol, 3D, notebook
Work_issues: | Upstream: N/A
Reviewer: | Author: gutow
Merged: | Dependencies: #11080,#11078,#11503
---------------------------+------------------------------------------------
Comment(by strogdon):
Replying to [comment:8 gutow]:
> Comments:
> 1) The red "Jmol_S" logo in the bottom right corner indicates that the
signed applet has been loaded and has access to the user's directory tree.
I believe I can turn it off, but think it is a bad idea. I want to be
reminded that I am using an applet that can send stuff from my disk to the
server. The menu is the same as the right-click menu that is always
available with Jmol.
That explains things. For a sage-on-gentoo (s-o-g) build I had noticed
from the jmol menu that the applet was signed but didn't associate this
with the "_S". From the s-o-g install it would appear that the applets are
always signed. I'm not sure it's possible for it to be otherwise. But
that's a minor thing and not Sage related.
> 2) If we want to have an image as the default so that all devices will
see something, users will have to deal with requesting it become
interactive each time the cell is recalculated. The notebook+sage
presently insists on reloading Jmol each time a recalculation is done. In
order to do this properly we would need to have a separate div in the
notebook for applets and not kill the applet unless it is not being used.
Then Jmol would not revert to the starting over state each time a
recalculation is done. I think that is another ticket for after these
changes go in.
I suspected another layer of action was necessary to accomplish this or
else it would have been done. My main interest was in getting it to work
as intended.
> 3) Would reloading with a static image be less of an issue if the .png
was the same quality as the Jmol image? I'm working on generating static
images using Jmol on the server if a Java Virtual Machine is installed on
the server. Many details like graceful fallback, probably to Tachyon,
are still being worked out. Does this answer your questions or generate in
suggestions for what needs work?
I think a high quality static image would be nice. It's true that if a
notebook has a lot of applets then reloading that notebook can consume
significant resources. Any attempt to mitigate this is desirable. FWIW, as
far as I can determine, the s-o-g install of the new notebook functions
exactly like the vanilla install. I have been using it here on top of
Sage-4.8.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12299#comment:9>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.