In Flash when changing StageDisplayState, stageWidth updates instantly but in Windows it takes time?

I’ve been toggling between StageDisplayState.NORMAL and StageDisplayState.FULL_SCREEN_INTERACTIVE. In flash, as soon as I use Lib.current.stage.displayState = StageDisplayState.NORMAL; when I refer to Lib.current.stage.stageWidth, I get the updated width (so the width outside fullscreen). However, when testing on Windows, using this still refers to the old stageWidth (so the stageWidth while in fullscreen.

Can anyone confirm / deny this, and have I done anything wrong by referring instantly?

I’m having the same issue on Mac target. I just noticed it as a discrepancy between OpenFL Legacy and Next, where on Next the stageWidth and stageHeight are incorrect after changing the displayState. They’re the old values :frowning:

Since it’s a difference between Legacy/Next, it’s probably something that’s missing in the Next implementation.

This was just resolved in the dev versions of Lime and OpenFL