On Mon, Nov 16, 2015 at 5:57 PM, Eric Martz <ema...@microbio.umass.edu> wrote:
> This bug may not be worth fixing since it is specific to OS X, and may be > a bug in Java. > > Using either the Java applet, or the Jmol application, the command > > write "test.pngj" > > better is write PNGJ "test.png" or write "test.png" as PNGJ (the latter because I keep forgetting to put PNGJ first :) > saves a file that contains the atomic coordinates and the state of Jmol. > > In *Windows*, dragging this PNGJ file into the Jmol *application*, or > into the *applet* (tested in IE11 and Firefox), loads the molecule > contained in the PNGJ file and renders it exactly as when the file was > saved, after which it can be rotated etc. in Jmol. AMAZING! > > In *OS X*, dropping the PNGJ into the application *works* PROVIDED the > application happens to have *exactly the same pixel height and width* as > the image (which is the size of the Jmol from which it was saved). > > If the recipient Jmol application has a *different size*, an "Input" > dialog opens asking to confirm changing the size of Jmol (or you can > specify different height and width values). In Windows, this sizing dialog > works. In OS X, once that "Input" dialog opens, *Jmol hangs* and has to > be forced to quit by the system. > Bummer. Yes, that is definitely supposed to work. Does it work for you on OS X in the Jmol application to set the window size using the top menu item Display...Resize? Or does that crash as well? > > (For Windows, a size mismatch between the applet and the PNGJ doesn't > matter. The molecule renders in the size of the applet without asking.) > Right -- we are not about to change the size of an applet. > > In *OS X*, dropping the PNGJ file into the *applet* does not load it into > the applet. Rather, it displays the image in the PNGJ file (in Firefox) or > the drop fails (in Safari). > > Hmm. That's odd. In JSmol it works in Windows -- how about Safari? > Tested in OS X Yosemite and Windows 7, with Java 1.8.0_65 in both. > Tested with the applet at http://chemapps.stolaf.edu/jmol/jsmol/jsmol.htm > which is Jmol 2015.10.17 and the matched version of the application > Jmol.jar. >
------------------------------------------------------------------------------
_______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users