EasyRPG / Player

RPG Maker 2000/2003 and EasyRPG games interpreter
https://easyrpg.org/player/
GNU General Public License v3.0
965 stars 183 forks source link

Android - Putting the player in the background and returning to it while using it in Portrait Mode and with a custom resolution will make the window have an incorrect size #3157

Open Mimigris opened 7 months ago

Mimigris commented 7 months ago

Player platform:

Android, continuous build of the Player.

Describe the issue in detail and how to reproduce it:

Start a game on Android while in Portrait Mode and set the resolution to Widescreen or Ultrawide, and then put the app in the background and get back on it. You should notice that the window of the game will be incorrectly stretched vertically while it should not. Here is an example with the game Wadanohara and the Great Blue Sea, with the ultrawide setting. Here you can see how it looks normally... widescreen_erpg_android

...and here how it looks by doing said action: widescreen_erpg_android_issue

Note that there doesn't seem to be any issue on my side when the app is set in Landscape Mode, and that turning the screen, exiting the game or changing the resolution should fix the issue.