onDidActivePanelChange is called after calling fromJSON
Describe the bug
I upgraded from 4.2.3 to 4.4.0 and I noticed that after loading a new layout by calling fromJSON an onDidActivePanelChange event is now emitted whereas it was not before the upgrade and I couldn't find any mention of this in the change log.
Is this an intentional change?
To Reproduce
Look at the console in this Sandbox running 4.2.3. No event for onDidActivePanelChange
Compare to the console output in this Sandbox running 4.4.0. There are two onDidActivePanelChange (since the onReady event is called twice in strict dev mode)
Expected behavior That there would be no change in this behaviour between version 4.2.3 and 4.4.0
Additional context If this is the intended behaviour after loading a new layout I'd just like to know so I can work around it