Skip to content

Native window app resizing #6632

@Tech-Tac

Description

@Tech-Tac

I’m looking for a feature similar to Waydroid’s multi-window mode on desktop, but for use with a physical device. This would bypass the need for full emulation and avoid Waydroid’s compatibility issues.

Currently, scrcpy partially supports this by allowing launching apps into new virtual displays without system decorations (or desktop mode). However, the app or virtual display does not resize when the window is resized.

I’m not sure if resizing virtual displays is even possible or if an entirely different approach would be better, but if virtual displays are still to be used but yet they can not be resized at runtime, a possible approach would be to 1. Make the virtual display the size of the host display. 2. Resize the app window (eg. in desktop mode) to match the host window size. 3. Crop the stream to the app window’s bounding box, showing only the app content in the resized window.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions