Child window not getting qml active focus when it gets MirSurface focus is one bug.
The top-level window is not getting qml active focus when its child is closed because its MirSurface is also not getting focus. That's a different bug and it's at qtmir/miral level (most likely miral).
Child window not getting qml active focus when it gets MirSurface focus is one bug.
The top-level window is not getting qml active focus when its child is closed because its MirSurface is also not getting focus. That's a different bug and it's at qtmir/miral level (most likely miral).