-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSmol context menu does not function in Jupyter notebook #1872
Comments
It's not a known problem, as far as I recall. I don't think any of us are familiar with JSmol. Can you look into:
|
No messages in the console regarding JSmol. I don't know much about JSmol myself, but there is an active SageMathCell discussion regarding encoding issues for languages other than English. It appears that the context menu is set up server side using PHP. |
That appears to be about a Java implementation called Jmol (as opposed to JSmol). |
SageMath does use the Java version from the command line, but the one embedded in Jupyter notebooks is the JavaScript version. The JavaScript version has PHP and Java files as part of its underlying source, and the maintainer of SageMathCell has been able to get things to (mostly) work in the pages served up. Perhaps this issue has to do more with how the SageMath backend translates things than the Jupyter notebook itself. |
Sorry, I don't properly understand the relations between Jmol, JSmol and SageMath. I think you'll need to talk to the developers of at least one of those projects to work out what's going on with right click menus and how Jupyter might be breaking it. |
Feel free to follow up here once there's more info about what is going On 9 Nov 2016 3:05 p.m., "Paul Masson" notifications@github.com wrote:
|
any progress on this? It breaks animations in Sage with Python 3 |
@paulmasson - could you perhaps re-open this issue? |
I noticed in August in the context of a SageMath question that the right-click context menu for JSmol does not expand to reveal options for a Jupyter notebook open in Safari. The context menu does expand properly in the legacy SageMath notebook, so this does not appear to be an issue with JSmol itself.
To replicate the problem, create any 3D plot such as
right click on the resulting image and hover over any context menu item.
Is this a known problem?
The text was updated successfully, but these errors were encountered: