Hi team, I have a bit of a weird one, and not sure if it's up to Tauri or Angular on this one.
When we double click on our app icon in the system tray, it opens the app maximized and it navigates to the home route in Angular. The way we do this, is that we emit the 'navigate' event on the main window which runs the Angular router inside the zone and completes the navigation. However, even though we emit the event on the main window, we have a separate headless window active at the same time and for some reason the navigation is also triggered in that window. I'm going to post images of all the relevant code, but does anyone have any idea why this is behaving as such? It would make sense to me that the navigation triggers in the second window if we were to use emit_all on the app handle, but we're explicitly using emit on the main window, and pass the reference to the main window through the entire process. And also, every window should have it's own separate instance of the Angular application, so using Angular's router within the zone to navigate shouldn't be the issue?