-
-
Notifications
You must be signed in to change notification settings - Fork 192
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
Android Emulator flickers when tiled #924
Comments
Sorry, to clarify I am using the Android Virtual Device standalone, not within the Android Studio editor. Android Studio Ladybug | 2024.2.1 Patch 3 |
Reproduced by running |
Related: #267 |
looks very similar behavior but for me the android emulator (standalone) also flickers on my built-in display. |
This seems to be due to applications which control their own size (such a movie player window trying to maintain the same size as the video resolution etc). Brave does it too if you make the window too vertically thin because it has a "minimum width". On yabai it just overflows and refuses to go any smaller but I am assuming aerospace is constantly polling and trying to resize it and it resizes itself back, whereas yabai tries to resize it once and then leaves it until the next time it want to change something on the layout. The android emulator is a good example because it's basically inside a hidden/transparent window of which it is constantly trying to set the right size for (to house the floating controls etc). You can see it if you switch janky borders on. This hidden window is replaced by the android studio panel window when you run the emulator hosted inside android studio so it then belongs to the android studio window instead. It's aerospace and the app battling for who has control over the size ⚔ EDIT: infact you can see it on the original video as janky borders is on. The floating controls jump to the middle of the screen because aerospace has sent the resize command but then the android studio resets the size straight back to the size of the emulator so the floating controls sit flush with the emulator |
Describe the bug
The android emulator keeps flickering when tiled. It floats by default but I've used this:
which comes from this issue : #209.
CleanShot.2025-01-03.at.20.59.40.mp4
The text was updated successfully, but these errors were encountered: