Open yuhongherald opened 5 years ago
I also get this error when using placeholders.
I think it might be a good idea to introduce a SafeGroup
method that converts Placeholders into lookalikes before grouping
This might be related to #1948
This time I got an AccessViolationException on line 837 of ThisAddIn. Before step 3, make sure the 2 shapes are selected.
The bug doesnt seem replicatable, it might have been fixed in dev-release 5.3
Bug Report
Environment
Windows 10, PowerPoint 2016, dev release v5.2.0.0
Steps to replicate
Error details: System.Runtime.InteropServices.COMException Selection (unknown member) : Failed. Stack Trace: at Microsoft.Office.Interop.PowerPoint.Selection.get_ShapeRange() at PowerPointLabs.Utils.ShapeUtil.IsSelectionAllShapeWithArea(Selection selection) in C:\Users\Herald\Documents\PowerPointLabs\PowerPointLabs\PowerPointLabs\Utils\ShapeUtil.cs:line 345 at PowerPointLabs.ActionFramework.EffectsLab.AddSpotlightEnabledHandler.GetEnabled(String ribbonId) in C:\Users\Herald\Documents\PowerPointLabs\PowerPointLabs\PowerPointLabs\ActionFramework\EffectsLab\Spotlight\AddSpotlight\AddSpotlightEnabledHandler.cs:line 17 at PowerPointLabs.ActionFramework.Common.Interface.EnabledHandler.Get(String ribbonId) in C:\Users\Herald\Documents\PowerPointLabs\PowerPointLabs\PowerPointLabs\ActionFramework\Common\Interface\EnabledHandler.cs:line 14