-
-
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
When you drag a window under windows, the screen will stop playing #3458
Comments
During a resize or a move? This is probably a SDL issue, but scrcpy uses a workaround: Lines 310 to 320 in ed84e18
So both resizing and moving should not freeze the mirroring. Which scrcpy version do you use? Which windows version? |
用鼠标拖动和移动窗口的时候,画面都会冻结 |
I have no access to a Windows machine right now. Could someone on Windows could reproduce/confirm? |
@rom1v |
Thank you. Now that I have access to a Windows machine, I can reproduce too, even while resizing. I thought the workaround for this problem in macOS during resize was also effective for Windows. It looks like a SDL issue, but I have no workaround for this, I can't make the screen refresh even if I call the code to render from the resize/move callback :/ |
It turns out that the workaround only worked for MacOS. Refs #3458 <#3458> Refs SDL/#1059 <libsdl-org/SDL#1059>
@rom1v would it be possible to use a different windowing method? |
It's a bug in SDL. SDL3 might fix the issue, when it's released. Migrating to Qt is not a plan currently. |
windows 下拖动窗口的时候,画面会停止播放
When you drag a window under windows, the screen will stop playing
The text was updated successfully, but these errors were encountered: