api-issue-tracker
api-issue-tracker copied to clipboard
SelectionObserver#onSelectionCleared doesn't fire when Selection is cleared by hiding a Tag/Layer
SketchUp/LayOut Version: 2023 & other OS Platform: Windows 11 & Sonoma 14.4
Using a model with more than one tag/layer, select a few entities on a layer, but not the active_layer. Then, hide the tag. The selection will be cleared (Sketchup.active_model.selection.length).
If one has an attached SelectionObserver, none of its methods are fired when the selection is cleared by hiding a tag/layer.
Describe what the expected result is.
SelectionObserver events are fired when hiding tags/layers (thru code or UI) that contain the selection.
May post repro code later...
Logged as: SKEXT-4115