libretro / libretro/RetroArch

[Feature Request] Custom Aspect Ratio per-orientation

Open
#16,740 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Description

In some cases, using highly customized overlay, we have to set custom aspect ratio, but, when we change de orientation, this custom aspect ratio not work well, and, if you have a different overlay layout for both orientation, if you config for one orientation, the other orientation will not have the correct position and size.

Expected behavior

A separated custom config aspect ratio per-orientation.

Actual behavior

A unique config custom aspect ratio for both orientation.

Steps to reproduce the bug
  1. Setting the Aspect Ratio to Custom
  2. Changing the X and Y position.
  3. Rotate the device
Version/Commit
  • RetroArch: 1.19.1
Environment information
  • OS: Androis 14

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing RetroArch's custom aspect-ratio handling and overlay positioning through the orientation-change path, reproducing the listed steps on Android. The work is done when separate custom aspect-ratio values can be configured and preserved for each orientation, with both overlay layouts positioned and sized correctly after rotation.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
frontend, mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.