visionOS pushWindow being dismissed on app foreground

We seen to have found an issue when using the pushWindow action on visionOS. The issue occurs if the app is backgrounded then reopened by selecting the apps icon on the home screen. Any window that is opened via the pushWindow action is then dismissed. We've been able to replicate the issue in a small sample project.

Replication steps

  1. Open app
  2. Open window via the push action
  3. Press the digital crown
  4. On the home screen select the apps icon again

The pushed window will now be dismissed.

There is a sample project linked here that shows off the issue, including a video of the bug in progress

visionOS pushWindow being dismissed on app foreground
 
 
Q