libretro / libretro/RetroArch

Android device screen orientation bug

Open
#16,692 0 comments 0 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

For Android devices, when the screen orientation is set to 270 degrees, when starting the game, the screen orientation will first jump to 0 degrees (portrait screen), and then jump to 270 degrees (reverse landscape screen).There is a very small chance that this problem will not occur. You can try a few more times.

Expected behavior

When the screen orientation is set to non-0 degrees (normal vertical screen), the game will no longer jump to 0 degrees and then jump to the set value when opening the game.

Actual behavior

When the lock screen orientation is 270 degrees, when the game is opened, the screen will first jump to vertical screen, and then jump to 270 degrees.

Steps to reproduce the bug
  1. Open Retroarch
  2. Set screen orientation to 270 degrees in settings
  3. Start playing any game in the game list
Version/Commit
  • RetroArch: 1.19.1
Environment information
  • OS: Android 8.1

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

Reproduce on Android 8.1 with RetroArch 1.19.1 by setting orientation to 270 degrees and starting a game from the game list. Trace the startup orientation transition and verify that opening a game goes directly to the configured orientation without a temporary portrait screen.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, c
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.