-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
Maximized window get smaller when screen is rotated. #750
Comments
When you rotate, it computes the target size, then make it fit inside the display, with some margins (as it does when you start scrcpy), keeping its (top-left) position unchanged. In that case, it's clearly not ideal, but I'm not sure what is the expected behavior. |
My expected behaviour is that it would automatically maximize the screen once again after resizing if it's been maximized before rotating the screen. |
Oh, it was maximized! Sorry, I missed that part :) |
(btw, just for info, instead of maximizing, you could switch to fullscreen with Ctrl+f. I say that because I see people just maximizing while they would prefer fullscreen.) |
Issue doesn't appear in fullscreen mode ( |
Keep the windowed window size to handle maximized window the same way as fullscreen window. Fixes <#750>
Fixed in |
use lock video --lock-video-orientation=1 |
When the window is maximized, and if the android device rotates, the window becomes smaller and gets fixed in the top left corner of the screen.
Windows 7 Ultimate Service pack 1
Android 7.1.2
Connection: USB
The text was updated successfully, but these errors were encountered: