Option to disable system decorations on virtual displays (original) (raw)
- I have checked that a similar feature request does not already exist.
Is your feature request related to a problem? Please describe.
When using virtual displays (via --new-display --start-app=...) on Samsung phones (tested on S23, One UI 6.1, Android 14), they render a broken taskbar and home screen (part of Samsung's "New DeX" which is only supposed to be available on tablets but appears here too).
Describe the solution you'd like
Add an option to disable VIRTUAL_DISPLAY_FLAG_SHOULD_SHOW_SYSTEM_DECORATIONS, which prevents these broken UI elements from rendering.
| | VIRTUAL_DISPLAY_FLAG_SHOULD_SHOW_SYSTEM_DECORATIONS; |
|---|
Additional context
UI with VIRTUAL_DISPLAY_FLAG_SHOULD_SHOW_SYSTEM_DECORATIONS present:
UI with VIRTUAL_DISPLAY_FLAG_SHOULD_SHOW_SYSTEM_DECORATIONS patched out of the scrcpy server code: