unwarranted limit to magnification

User 870ab5b546

29-09-2014 22:20:49

When I paste the drawing below into MarvinSketch applet here, I can magnify a bit (using the magnifying glass + tool on the toolbar), but then it stops magnifying. I don't see this problem in the desktop version. I've had this problem with other large drawings as well. There's no reason to stop magnifying.


<?xml version="1.0" encoding="windows-1252"?>
<cml xmlns="http://www.chemaxon.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.chemaxon.com/marvin/schema/mrvSchema_14_8_4.xsd" version="ChemAxon file format v14.8.4, generated by v14.9.8.0">
<MDocument>
<MRectangle id="o1">
<MPoint x="-6.833749771118164" y="4.331250190734863"/>
<MPoint x="3.416874885559082" y="4.331250190734863"/>
<MPoint x="3.416874885559082" y="-1.6362500190734863"/>
<MPoint x="-6.833749771118164" y="-1.6362500190734863"/>
</MRectangle>
<MPolyline id="o2" headLength="0.6" headWidth="0.4">
<MPoint x="9.371999740600586" y="1.2319999933242798"/>
<MPoint x="2.321359580357396" y="-0.6572133437353244"/>
</MPolyline>
<MRectangle id="o3">
<MPoint x="6.951999664306641" y="6.511999607086182"/>
<MPoint x="14.255998611450195" y="6.511999607086182"/>
<MPoint x="14.255998611450195" y="-4.179999828338623"/>
<MPoint x="6.951999664306641" y="-4.179999828338623"/>
</MRectangle>
<MRectangle id="o4">
<MPoint x="16.323999404907227" y="5.104000091552734"/>
<MPoint x="21.868000030517578" y="5.104000091552734"/>
<MPoint x="21.868000030517578" y="-3.740000009536743"/>
<MPoint x="16.323999404907227" y="-3.740000009536743"/>
</MRectangle>
<MPolyline id="o5" headLength="0.6" headWidth="0.4">
<MPoint x="17.73200035095215" y="1.3639999628067017"/>
<MPoint x="12.148852234279241" y="1.3639999628067017"/>
</MPolyline>
<MRectangle id="o6">
<MPoint x="23.672000885009766" y="6.51200008392334"/>
<MPoint x="33.74800109863281" y="6.51200008392334"/>
<MPoint x="33.74800109863281" y="-1.8040000200271606"/>
<MPoint x="23.672000885009766" y="-1.8040000200271606"/>
</MRectangle>
<MPolyline id="o7" headLength="0.6" headWidth="0.4">
<MPoint x="25.520000457763672" y="-0.6600000262260437"/>
<MPoint x="21.018933502304236" y="-1.8660572820198114"/>
</MPolyline>
<MRectangle id="o8" lineColor="#ff0000">
<MPoint x="34.62800598144531" y="6.776000022888184"/>
<MPoint x="41.756004333496094" y="6.776000022888184"/>
<MPoint x="41.756004333496094" y="-1.0999997854232788"/>
<MPoint x="34.62800598144531" y="-1.0999997854232788"/>
</MRectangle>
<MPolyline id="o9" headLength="0.6" headWidth="0.4">
<MPoint x="36.34400177001953" y="-0.08799999952316284"/>
<MPoint x="31.45980089040697" y="-0.08799999952316273"/>
</MPolyline>
<MRectangle id="o10">
<MPoint x="43.07600021362305" y="7.171999931335449"/>
<MPoint x="50.555999755859375" y="7.171999931335449"/>
<MPoint x="50.555999755859375" y="-0.35199999809265137"/>
<MPoint x="43.07600021362305" y="-0.35199999809265137"/>
</MRectangle>
<MPolyline id="o11" headLength="0.6" headWidth="0.4">
<MPoint x="44.13199996948242" y="2.815999984741211"/>
<MPoint x="40.38951957850734" y="1.8132053862901245"/>
</MPolyline>
<MChemicalStruct>
<molecule molID="m1">
<propertyList>
<property dictRef="reactionIds" title="reactionIds">
<scalar><![CDATA[64;65;72;60]]></scalar>
</property>
</propertyList>
<atomArray atomID="a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15 a16 a17 a18 a19 a20 a21 a22 a23 a24 a25 a26 a27 a28 a29 a30 a31 a32 a33 a34 a35 a36 a37 a38 a39 a40 a41 a42 a43 a44 a45 a46 a47 a48 a49 a50 a51 a52" elementType="C C C C C C F C O C C C C C C C F O C Cl C C C C C C C C C C C C C N N N C C C C C C C C C C C C R N O O" formalCharge="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 -1" sgroupRef="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 sg1 0 0 0" x2="-0.03388447792626433 -1.5738612986538942 -2.3512010545092585 -1.5885639896369903 -0.04858716890935962 0.7287525869460039 2.2687293002242237 -3.8911777677874806 -4.653831826873086 -4.668500421980092 10.5600004196167 9.22633107856844 9.22633107856844 10.5600004196167 11.893669760664958 11.893669760664958 12.979999542236328 10.251999855041504 11.791999855041503 12.561999855041503 12.45199966430664 18.875999450683594 17.542330109635337 17.542330109635337 18.875999450683594 20.20966879173185 20.20966879173185 26.356000900268555 25.022331559220298 25.022331559220298 26.356000900268555 27.68967024131681 27.68967024131681 28.336000442504883 19.139999389648438 19.756000518798828 37.487998962402344 36.15432962135409 36.15432962135409 37.487998962402344 38.8216683034506 38.8216683034506 46.551998138427734 45.21832879737948 45.21832879737948 46.551998138427734 47.88566747947599 47.88566747947599 45.40800094604492 39.555999755859375 40.74399948120117 38.36800003051758" y2="2.6245948576876175 2.6330442139720174 1.3035904693993299 -0.03431263145775995 -0.042761987742160085 1.2866917568305285 1.278222839496866 1.312059386732992 2.6499528003352264 -0.017365109535582915 0.26403385822989756 -0.505983082329143 -2.046016963447224 -2.8160339040062645 -2.046016963447224 -0.505983082329143 0.7480000257492065 4.48799991607666 4.48799991607666 3.1543207942486244 5.236000061035156 1.4520338815949183 0.6820169410358777 -0.8580169400822034 -1.628033880641244 -0.8580169400822034 0.6820169410358777 4.312033955504678 3.542017014945637 2.001983133827556 1.2319661932685155 2.001983133827556 3.542017014945637 4.355999946594238 2.4200000762939453 3.563999891281128 3.916033808638833 3.1460168680797924 1.6059829869617115 0.8359660464026708 1.6059829869617115 3.1460168680797924 4.268033806731484 3.498016866172444 1.9579829850543629 1.1879660444953222 1.9579829850543629 3.498016866172444 5.763999938964844 4.443999767303467 5.191999912261963 5.4120001792907715"/>
<bondArray>
<bond id="b1" atomRefs2="a1 a2" order="1"/>
<bond id="b2" atomRefs2="a1 a6" order="2"/>
<bond id="b3" atomRefs2="a2 a3" order="2"/>
<bond id="b4" atomRefs2="a3 a4" order="1"/>
<bond id="b5" atomRefs2="a4 a5" order="2"/>
<bond id="b6" atomRefs2="a5 a6" order="1"/>
<bond id="b7" atomRefs2="a6 a7" order="1"/>
<bond id="b8" atomRefs2="a3 a8" order="1"/>
<bond id="b9" atomRefs2="a8 a9" order="2"/>
<bond id="b10" atomRefs2="a8 a10" order="1"/>
<bond id="b11" atomRefs2="a11 a12" order="1"/>
<bond id="b12" atomRefs2="a12 a13" order="2"/>
<bond id="b13" atomRefs2="a13 a14" order="1"/>
<bond id="b14" atomRefs2="a14 a15" order="2"/>
<bond id="b15" atomRefs2="a15 a16" order="1"/>
<bond id="b16" atomRefs2="a11 a16" order="2"/>
<bond id="b17" atomRefs2="a16 a17" order="1"/>
<bond id="b18" atomRefs2="a18 a19" order="2"/>
<bond id="b19" atomRefs2="a19 a20" order="1"/>
<bond id="b20" atomRefs2="a19 a21" order="1"/>
<bond id="b21" atomRefs2="a22 a23" order="1"/>
<bond id="b22" atomRefs2="a23 a24" order="2"/>
<bond id="b23" atomRefs2="a24 a25" order="1"/>
<bond id="b24" atomRefs2="a25 a26" order="2"/>
<bond id="b25" atomRefs2="a26 a27" order="1"/>
<bond id="b26" atomRefs2="a22 a27" order="2"/>
<bond id="b27" atomRefs2="a28 a29" order="1"/>
<bond id="b28" atomRefs2="a29 a30" order="2"/>
<bond id="b29" atomRefs2="a30 a31" order="1"/>
<bond id="b30" atomRefs2="a31 a32" order="2"/>
<bond id="b31" atomRefs2="a32 a33" order="1"/>
<bond id="b32" atomRefs2="a28 a33" order="2"/>
<bond id="b33" atomRefs2="a34 a33" order="1"/>
<bond id="b34" atomRefs2="a35 a36" order="3"/>
<bond id="b35" atomRefs2="a35 a22" order="1"/>
<bond id="b36" atomRefs2="a37 a38" order="1"/>
<bond id="b37" atomRefs2="a38 a39" order="2"/>
<bond id="b38" atomRefs2="a39 a40" order="1"/>
<bond id="b39" atomRefs2="a40 a41" order="2"/>
<bond id="b40" atomRefs2="a41 a42" order="1"/>
<bond id="b41" atomRefs2="a37 a42" order="2"/>
<bond id="b42" atomRefs2="a43 a44" order="1"/>
<bond id="b43" atomRefs2="a44 a45" order="2"/>
<bond id="b44" atomRefs2="a45 a46" order="1"/>
<bond id="b45" atomRefs2="a46 a47" order="2"/>
<bond id="b46" atomRefs2="a47 a48" order="1"/>
<bond id="b47" atomRefs2="a43 a48" order="2"/>
<bond id="b48" atomRefs2="a50 a42" order="1"/>
<bond id="b49" atomRefs2="a50 a51" order="2"/>
<bond id="b50" atomRefs2="a50 a52" order="1"/>
</bondArray>
<molecule id="sg1" role="SuperatomSgroup" title="HNO3" molID="m2">
<atomArray atomID="a53 a54 a55 a56" elementType="O N O O" x2="49.21399841308594 48.443998413085936 49.21399841308594 46.90399841308594" y2="7.053678912019686 5.71999979019165 4.386320668363615 5.71999979019165"/>
<bondArray>
<bond id="b51" atomRefs2="a53 a54" order="1"/>
<bond id="b52" atomRefs2="a54 a55" order="2"/>
<bond id="b53" atomRefs2="a54 a56" order="2"/>
</bondArray>
</molecule>
</molecule>
</MChemicalStruct>
</MDocument>
</cml>

ChemAxon 7936325a45

30-09-2014 08:29:10

Dear Bob,

I could not reproduce this issue. I could scale up the drawing to a very large scale with the tool on the toolbar. Which Java version running when the problem occurs?


Regards,
István 

User 870ab5b546

30-09-2014 14:49:35

Darn it with the irreproducible problems! I just updated OS 10.9 and Safari on my desktop, maybe that made the difference. I'll let you know if it happens again.

User 870ab5b546

30-09-2014 15:44:44

Interesting! I can reproduce it on my MacBook Air, but not on my MacMini! Both are running OS 10.9.5. The MacBook Air is running Java 1.6.0_65, whereas the MacMini is running Java 1.7.0_25 (information from "java -version"). Maybe that's the difference. I don't know why the MacBook Air hasn't downloaded Java 1.7.

User 870ab5b546

30-09-2014 16:36:49

Stranger and stranger. On my MacBook Air, when I go to the Oracle Java site, it tells me I have Java 1.7 version 67. And when I go to my Java control panel, it tells me the same thing. But when I type java -version, it tells me I have only Java 1.6.0_65. ??

ChemAxon 7936325a45

06-10-2014 08:43:12

Dear Bob,

On Mac the browser pugin and the JRE can make strange things like that. I think you can trust the Verify Java result when you want to find out the java version for your applets, and the java -version result for your desktop application.


Regards,
István 

User 870ab5b546

06-10-2014 12:31:54

OK, but that still doesn't explain why on my MacBook Air, the MarvinSketch applet won't allow me to magnify the drawing more than a couple of times.

ChemAxon 5433b8e56b

07-10-2014 17:22:59

Hi Bob,


the maximum zoom level is 6400%, in the drop-down the maximum value is 400%


the minimum level of zoom is 1%.


These are the only limitations we have built in, we can not really say more about this issue, should we check it more deeply? I am skeptical a bit possibly but I am afraid we will not be able to find out what causes the difference, since in the code level there are not any more restrictions besides the aforementioned ones.


Regards,
Istvan 

User 870ab5b546

04-02-2015 14:51:29

Following the instructions I gave above, I still see this problem with MarvinSketch 15.2.2.0, Safari 8.03, OS 10.10.2, MacBook Air (13-inch, mid 2013).

ChemAxon d26931946c

04-02-2015 16:21:30

Hi Bob,


We managed to reproduce this bug. It was connected to the MacBook's retina resolution.


The fix will be available next week.


Best regards,


Peter

User 870ab5b546

04-02-2015 16:24:44

Oh, of course, the retina resolution! Why didn't I think of that?


Thanks for looking into it. The bug really was inhibiting my ability to examine students' responses.

ChemAxon d26931946c

05-02-2015 14:21:31

We haven't thought of it either and after we could not reproduce this on our mac mini with a 1080p monitor. :)


We decided to buy a MacBook Pro and I will continue the development and testing of Marvin on this to prepare us for the strange behavior can appear on this system.


Hopefully you won't hit any Mac-specific issue in the future. I can't guarantee that you won't hit any other issue though :)


 


BRs


Peter