api-issue-tracker icon indicating copy to clipboard operation
api-issue-tracker copied to clipboard

SelectionObserver#onSelectionCleared doesn't fire when Selection is cleared by hiding a Tag/Layer

Open MSP-Greg opened this issue 1 year ago • 2 comments

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...

MSP-Greg avatar Mar 10 '24 21:03 MSP-Greg

Logged as: SKEXT-4115

sketchup[bot] avatar Mar 18 '24 06:03 sketchup[bot]