window-added signal is emitted before gtk-application-id is set on Wayland
When running in a Wayland session, the window-added signal will get emitted when gtk-application-id is still set to null. Although it does get set to the right id later, window-added and window-created signal handlers will not be able to use the application id. This also prevents finding the app associated with the new window using the shell window tracker inside the signal handler.
The window-added and the window-created signals should both be emitted after the MetaWindow and the window actor are completely initialized.