Custom Aspect Ratio for both landscape and potrait (Android)
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.1k
- Forks
- 2.2k
- Avg merge
- 7h 35m
- Merged PRs (30d)
- 51
Description
First and foremost consider this:
- Only RetroArch bugs should be filed here. Not core bugs or game bugs
- This is not a forum or a help section, this is strictly developer oriented
Description
Using Retroarch on a Android phone with the Aspect Ratio set to Custom with customized X and Y positions.
Expected behavior
When the Custom aspect ratio is set, changing the orientation of the device should keep the screen center or at least visible
Actual behavior
While the screen in potrait orientation is working fine), changing the device to landscape causes the screen to be positioned incorrectly, resulting in the screen being completely gone or only a tiny bit of the screen being visible. This gives the same result if it was done the other way around. (positioning the X and Y and then rotating from landscape to potrait, the landscape orientation will work fine, but the potrait mode will be affected incorrectly. The screen will be positioned so far away that the screen becomes non-visible). All menus except RGUI are not affected.
Steps to reproduce the bug
- Setting the Aspect Ratio to Custom
- Changing the X and Y position.
- Rotate the device
Version/Commit
You can find this information under Information/System Information
- RetroArch: 1.8.4 (non-64bit version)
Environment information
- Device: Samsung Galaxy S10 (Exynos)
- OS: Android 10.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the custom aspect-ratio behavior on Android 10 with RetroArch 1.8.4, using the listed orientation-change steps and checking RGUI separately from other menus. Trace the Android display and custom-position handling during rotation; done means the screen remains centered or visible in both portrait and landscape orientations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, c
- Domain
- frontend, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100