Genymobile / Genymobile/scrcpy

--crop function android12

Open
#4,183 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
150k
Forks
13.8k
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: [e.g. Debian, Windows, macOS...] windows10
- scrcpy version: [e.g. 1.12.1] 2.1.1
- installation method: [e.g. manual build, apt, snap, brew, Windows release...] windows release
- device model: galaxy s10
- Android version: [e.g. 10] 12

**Describe the bug**

I am mirroring by dividing the screen of the mobile phone into upper and lower parts through the --crop function, and then running the upper and lower windows separately.
However, in Android 12, there is a phenomenon that the two do not run at the same time.
If i run one window and then run a second window, the first window does not work.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the report on a Galaxy S10 running Android 12 with scrcpy 2.1.1 on Windows 10, launching two instances with separate --crop regions. Trace the --crop entry point and compare the behavior of the first and second windows. Done means both cropped windows continue running simultaneously.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.