Bug in CommandBar loading?

User 1ccd233681

08-04-2014 17:40:27

I just updated to 6.2.2 and noticed a new (or perhaps pre-existing) bug. The JChemExcel.COMShim.dll COM add-in calls the Reset() method on various excel commandbars. This has the effect of removing any pre-existing custom menu items added from other add-ins that leaded before JChem. For example if my first third-party add-in adds 2 custom menu items to the "Cell" commandbar before JChem is loaded, then when JChem loads, it deletes these 2 items before adding its own custom menu items.

Since there is no way to change theorder that Excel add-ins load this is a pretty serious issue and JChem for excel effectively renders all other add-ins inoperable.

Is there an easy work-around for this?




ChemAxon bd13b5bd77

08-04-2014 18:41:08

Hi Josh,

I could reproduce it and do not see the reason why we call the Reset() now,  it was not called in 6.2.1.

Possibly it was needed for the Excel 2013 menu handling, we will investigate and testing it more (I have removed it from the code).

In 6.3 I hope will be fixed. If you need an urgent patch for 6.2 release line e.g. in 6.2.3 it can be fixed.