libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.17k stars 1.82k forks source link

Gamepad "overlay" does not scale properly/automatically with screen rotations in Android #7746

Open singularity098 opened 5 years ago

singularity098 commented 5 years ago

Description

The gamepad touch overlay does not scale properly when the screen is rotated in Android. Fortunately there is a rotate icon in the overlay to change the scaling to match the screen rotation, but this should happen automatically. It's a small issue but things like this can drive users away from RetroArch very quickly.

It is likely this exists on iPhone as well, but I do not own one so cannot test this.

Expected behavior

When screen is rotated in Android, the touch overlay should change its scaling layout to match the screen orientation.

Actual behavior

Screen overlay is stretched and misshaped when screen is rotated.

Steps to reproduce the bug

  1. Enable gamepad touch overlay.
  2. Load game.
  3. Rotate screen... note the gamepad will be squished and misshapen.
  4. Press rotate icon in overlay to workaround the issue.

Bisect Results

Has been an issue as long as I remember.

Version/Commit

Environment information

illando commented 5 years ago

I can confirm it happens the same on iOS.

hizzlekizzle commented 3 months ago

@singularity098 or @LibretroAdmin I think this can be closed now, since we have the automagic overlay switching on rotation.