MarvinSketch freezes upon shortcut group replacement

User 870ab5b546

24-09-2014 16:29:32

Both MarvinSketch 14.9.8.0 and 14.9.22.0 (applets). When I draw bromobenzene, hover over the Br, and type OMe (or OEt), MarvinSketch freezes. The only way to unfreeze it is to quit the browser. MarvinSketch 14.9.8.0 is using the default abbreviated groups file, and MarvinSketch 14.9.22.0 is using our own abbreviated groups file. I don't observe the same error in your Marvin demo version 14.9.22.0 here. Also, I do not observe the same behavior when I type CO2Me or MeO2C. ???

ChemAxon 4fa3cf533c

25-09-2014 12:02:52

Dear Bob,


I suspect the problem is with the lone pairs on the Br atom. If the automatic lone pair calculation and lone pair visibility option is on, then the problem occurs, even on the desktop version. The problem occurs when switching out the atom with electrons on it, to an abbrev group. 


I filed a report in our tracking system, and we will report to you when it is fixed.


By the way, I was able to regenerate the applet from the freeze by pressing the undo button, or clearing the canvas.


Thank you for the report,


Tamas Fazekas-Vigh

User 870ab5b546

28-09-2014 01:27:29

Thanks for the workaround tip, but please fix this problem as soon as possible.

ChemAxon 4fa3cf533c

06-11-2014 14:51:58

Dear Bob,


This issue has been fixed, and the fix will be included in the next release, 14.11.10.


Regards,


Tamas Fazekas-Vigh

User 870ab5b546

12-11-2014 20:59:28

Just discovered another freeze that has nothing to do with shortcut groups. MarvinSketch 14.9.22.0, this MRV:


<?xml version="1.0" encoding="UTF-8"?>
<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.22.0">
<MDocument>
<MEFlow id="o1" arcAngle="248.39738999999997" headSkip="1.15" headLength="0.5" headWidth="0.4" tailSkip="0.38" baseElectronContainerIndex="-1" baseElectronIndexInContainer="0">
<MAtomSetPoint atomRefs="m1.a2 m1.a4"/>
<MAtomSetPoint atomRefs="m1.a4"/>
</MEFlow>
<MEFlow id="o2" arcAngle="-254.995522631729" headSkip="0.15" headFlags="2" headLength="0.5" headWidth="0.4" tailSkip="0.25" baseElectronContainerIndex="0" baseElectronIndexInContainer="0">
<MEFlowBasePoint atomRef="m1.a3"/>
<MAtomSetPoint atomRefs="m1.a2 m1.a3"/>
</MEFlow>
<MChemicalStruct>
<molecule molID="m1">
<atomArray atomID="a1 a2 a3 a4 a5 a6" elementType="C C C O H H" formalCharge="0 0 -1 0 0 0" x2="-5.10124945640564 -4.012305013378357 -2.9233605703510737 -4.012305013378357 -1.4358347978659083 -2.9233605703510737" y2="4.3793748915195465 5.4683193345468295 4.3793748915195465 7.0083193345468295 4.344831201903942 2.8393748915195465"/>
<bondArray>
<bond id="b1" atomRefs2="a1 a2" order="1"/>
<bond id="b2" atomRefs2="a2 a3" order="1"/>
<bond id="b3" atomRefs2="a2 a4" order="2"/>
<bond id="b4" atomRefs2="a3 a5" order="1"/>
<bond id="b5" atomRefs2="a3 a6" order="1"/>
</bondArray>
</molecule>
</MChemicalStruct>
<MElectronContainer id="o4" occupation="1 0" radical="0">
<MElectron atomRefs="m1.a3" difLoc="-0.4338364424399508 -0.057115651191651295 0.0"/>
<MElectron atomRefs="m1.a3" difLoc="-0.34715555464463854 -0.2663818261056372 0.0"/>
</MElectronContainer>
<MElectronContainer id="o5" occupation="0 0" radical="0">
<MElectron atomRefs="m1.a4" difLoc="0.4226698230675714 0.11325403775596143 0.0"/>
<MElectron atomRefs="m1.a4" difLoc="0.30941578531160996 0.30941578531160907 0.0"/>
</MElectronContainer>
<MElectronContainer id="o6" occupation="0 0" radical="0">
<MElectron atomRefs="m1.a4" difLoc="-0.3094157853116082 0.30941578531160907 0.0"/>
<MElectron atomRefs="m1.a4" difLoc="-0.4226698230675696 0.11325403775596143 0.0"/>
</MElectronContainer>
</MDocument>
</cml>

Click the Erase button, then try to erase the entire drawing with a click-and-drag. 

ChemAxon d26931946c

13-11-2014 14:23:56

Thank you for the report, we will fix this in an upcoming release.


BRs


Peter

ChemAxon 5433b8e56b

17-11-2014 09:59:03

Dear Bob,


We have managed to fix the issue, it was released with Marvin 14.11.10.


Best regards,
Istvan 


UPDATE: Unfortunatelly I did not check the thread thoroughly enough, so I have to correct myself. Just the first issue was fixed and it was written by Tamas earlier, the issue with the structure deletion is still exists, and we will fix it in an upcoming release.