Genymobile / Genymobile/scrcpy

OneUI 6.0 update causes issues with forced rotation

Open
#4,540 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
150k
Forks
13.7k
Avg merge
4d 13h
Merged PRs (30d)
2

Description

- [x] I have read the [FAQ](https://github.com/Genymobile/scrcpy/blob/master/FAQ.md).
- [x] I have searched in existing [issues](https://github.com/Genymobile/scrcpy/issues).

**Environment**
- OS: Windows 10
- scrcpy version: 2.2-2.3.1
- installation method: win64 zip
- device model: Galaxy S21+ 5G
- Android version: 14

**Describe the bug**
After updating to the newest OneUI (v6.0), scrcpy runs into issues when forced to rotate (e.g. opening an app that requires horizontal orientation from the main screen). The screen in scrcpy becomes cut off, see attached images, and unable to fix itself. Only a full restart helps, until the next time a rotation is forced.

The actual phone screen is unaffected, it is solely in scrcpy.

![rotation_issue1](https://github.com/Genymobile/scrcpy/assets/5930357/0eea4f90-c00a-4f64-a093-835680270938)
![rotation_issue2](https://github.com/Genymobile/scrcpy/assets/5930357/f57baba1-a550-4d5b-9cc4-69b2808530ec)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue using a Galaxy S21+ on Android 14 with OneUI 6.0, Windows 10, and scrcpy 2.2–2.3.1, then inspect the rotation and display-rendering paths. Done means forced rotation no longer leaves the scrcpy view cut off or requiring a full restart.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.