Problem with 'OtherScreenClosed' process in ai2

If Screen2 has closed, Screen1.OtherScreenClosed process run well.

But in the same case in ai2 Screen1.Initialize will run again, not Screen1.OtherScreenClosed.

So what is your goal?
And can you show us all of your blocks


Helpful links :

How to close screen2 and initialize screen1 - #2 by Anke

App Inventor Tutorials and Examples: Multiple Screens | Pura Vida Apps

App Inventor Tutorials and Examples: Manager Screen | Pura Vida Apps

https://groups.google.com/g/mitappinventortest/c/K-zAr2X3nio

The result in the builded app:

kép

The result in ai2:

kép

It seems to be a bug.

Try to do something like this :

blocks

The result is the same (of course). It is a bug in ai2.

What is your android version?

How are you testing?

  • built, or
  • Companion ?

Both. The results are different. You can see it above.
It doesn't depend on Android version and browser.
Could you please try these three blocks?