-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
Resizing in Full Screen does not resize the frame #1433
Comments
Could you test #1408 please? |
Nope, This does not work. Tried with dev branch and render_rework branch
|
OK, thank you for your tests. I guess this type of resizing is not supported/correctly managed by SDL. Could you please log the window events received from SDL when you resize in that split mode? diff --git a/app/src/screen.c b/app/src/screen.c
index 66a1163..dce5b8e 100644
--- a/app/src/screen.c
+++ b/app/src/screen.c
@@ -554,6 +554,7 @@ screen_resize_to_pixel_perfect(struct screen *screen) {
void
screen_handle_window_event(struct screen *screen,
const SDL_WindowEvent *event) {
+ LOGI("event %d", event->event);
switch (event->event) {
case SDL_WINDOWEVENT_EXPOSED:
screen_render(screen, true); |
Logs on Launch
Logs on going to Split Screen/Full Screen
Logs on Resizing the Frame
|
4 is I guess it's just not managed by SDL. |
Is there any way to identify when Scrcpy goes full-screen? It should not be possible to "Move" the window once you're in full screen. Also I'll try to send you event logs for when it exits out of split screen when we resize it. Could be a bug with SDL itself? |
These are the events when we resize it to a smaller screen and it exits out of Full Screen.
|
Still happening? |
not to me
|
Environment
Describe the bug
When scrcpy is sent to Split Screen on macOS (for eg: with Android Studio), resizing the split does not resize the content but only extends the black border and sometimes just exits out of split screen mode
The text was updated successfully, but these errors were encountered: