Skip to content

keyboard: Destroy old layout actors when regenerating keyboard groups

Carlos Garnacho requested to merge wip/carlosg/destroy-old-osk-layouts into master

We were cleaning up self._groups, but the actors for all previous groups/layers/modes would remain attached to the aspect container, simply hidden.

Under some circumstances this can really make the amount of actors in the shell stage to quickly ramp up, it's not just a "leak" but also has potential side effects on performance.

We should destroy all child actors of this._aspectContainer, except the static ones (emoji and keypad).

Closes?: mutter#556 (closed)

Merge request reports