Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrcpy window close when resize in Full Screen Mode on MacOS #1663

Open
2 tasks done
Lzyct opened this issue Aug 12, 2020 · 5 comments
Open
2 tasks done

Scrcpy window close when resize in Full Screen Mode on MacOS #1663

Lzyct opened this issue Aug 12, 2020 · 5 comments

Comments

@Lzyct
Copy link

Lzyct commented Aug 12, 2020

  • I have read the FAQ.
  • I have searched in existing issues.

Environment

  • OS: MacOS Catalina 10.15.6
  • scrcpy version: 1.16
  • installation method: brew
  • device model: Samsung Galaxy S8
  • Android version: 9

Describe the bug
A clear and concise description of what the bug is.

I have issue when using Tile WIndow on Full Screen Mode, when i'm using SplitView on Full Screen Mode Android Studio with scrcpy window, and trying to resize window, scrcpy window getting close from FullScreen Mode

On errors, please provide the output of the console (and adb logcat if relevant).

2020-08-12 14:13:45.099 scrcpy[14334:3205203] INFO: scrcpy 1.16 <https://github.com/Genymobile/scrcpy>
/usr/local/Cellar/scrcpy/1.16/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 26.8 MB/s (33622 bytes in 0.001s)
[server] INFO: Device: samsung SM-G950F (Android 9)
2020-08-12 14:13:46.191 scrcpy[14334:3205203] INFO: Renderer: metal
2020-08-12 14:13:46.196 scrcpy[14334:3205203] INFO: Initial texture: 1440x2960

Please do not post screenshots of your terminal, just post the content as text instead.

@rom1v
Copy link
Collaborator

rom1v commented Aug 12, 2020

scrcpy window getting close from FullScreen Mode

Does it close, or just leave fullscreen mode? Would it be possible to post a video of what happens?

Note that the macOS feature "expand to fullscreen" (the green button) has a weird behavior (see ec047b5 commit message) and is not the same as a "real" fullscreen (with Cmd+f).

@Lzyct
Copy link
Author

Lzyct commented Aug 12, 2020

just leave fullscreen mode

https://streamable.com/kwsey6

@rom1v
Copy link
Collaborator

rom1v commented Aug 12, 2020

OK, thank you for the details 👍

IIRC, during #1408, I concluded that these macOS-specific features are not handled by scrcpy, and there is no way to distinguish this kind of resize from a normal resize (or from something else, I don't remember). 😕

@Lzyct
Copy link
Author

Lzyct commented Aug 13, 2020

Ok, i hope it will be fix. 🔥
It's important for me and most of mobile developer to split view with IDE and scrcpy 😁

@rsanjuan87
Copy link

rsanjuan87 commented Mar 9, 2022

I'm facing the same problem

imagen

Environment

  • OS: MacOS Catalina 10.15.7
  • scrcpy version: 1.23
  • installation method: brew
  • device model: Xiaomi Mi 8 Lite
  • Android version: 10

Some info about:
resizing to more space -> no scaling
resizing to less space -> scrcpy leaves fullscreen mode (to normal windowed mode)
but in a alon fullscreen mode (no splitted fullscreen mode) resizing works fine, as I say in this reply (#1433 (comment))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants