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

We are seeing this same behavior and consider it a bug. Hitting the app icon should restore the same state rather than dismissing pushed windows

I submitted a Feedback report and uploaded a sample project based on the one linked above

visionOS pushWindow being dismissed on app foreground
 
 
Q