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

Android Emulator flickers when tiled #924

Open
Marty-W opened this issue Jan 3, 2025 · 5 comments
Open

Android Emulator flickers when tiled #924

Marty-W opened this issue Jan 3, 2025 · 5 comments
Labels
bug Something isn't working as expected triaged The issue makes sense to maintainers

Comments

@Marty-W
Copy link

Marty-W commented Jan 3, 2025

Describe the bug
The android emulator keeps flickering when tiled. It floats by default but I've used this:

[[on-window-detected]]
if.window-title-regex-substring='Android Emulator'
if.during-aerospace-startup = false  
check-further-callbacks = true
run = 'layout tiling'  

which comes from this issue : #209.

NULL-APP-BUNDLE-ID.window.14640 windowId: 14640
NULL-APP-BUNDLE-ID.window.14640 workspace: 1
NULL-APP-BUNDLE-ID.window.14640 treeNodeParent: AppBundle.TilingContainer
NULL-APP-BUNDLE-ID.window.14640 recognizedAsDialog: true
NULL-APP-BUNDLE-ID.window.14640 AXTitle: Optional(Android Emulator - Samsung_S23_API_35:5554)
NULL-APP-BUNDLE-ID.window.14640 AXRole: Optional(AXWindow)
NULL-APP-BUNDLE-ID.window.14640 AXSubrole: Optional(AXDialog)
NULL-APP-BUNDLE-ID.window.14640 AXFocused: Optional(1)
NULL-APP-BUNDLE-ID.window.14640 AXFullScreen: Optional(0)
NULL-APP-BUNDLE-ID.window.14640 AXFrame: Optional(<AXValue 0x600000ca3300> {value = x:3.000000 y:41.000000 w:856.000000 h:1072.000000 type = kAXValueCGRectType})
NULL-APP-BUNDLE-ID.window.14640 AXPosition: Optional(<AXValue 0x60000174edf0> {value = x:3.000000 y:41.000000 type = kAXValueCGPointType})
NULL-APP-BUNDLE-ID.window.14640 AXGrowArea: nil
NULL-APP-BUNDLE-ID.window.14640 AXMinimizeButton: nil
NULL-APP-BUNDLE-ID.window.14640 AXDocument: nil
NULL-APP-BUNDLE-ID.window.14640 AXSections: [
NULL-APP-BUNDLE-ID.window.14640 ]
NULL-APP-BUNDLE-ID.window.14640 AXCloseButton: nil
NULL-APP-BUNDLE-ID.window.14640 AXMain: Optional(0)
NULL-APP-BUNDLE-ID.window.14640 AXActivationPoint: Optional(<AXValue 0x600001742af0> {value = x:-1.000000 y:1118.000000 type = kAXValueCGPointType})
NULL-APP-BUNDLE-ID.window.14640 AXFullScreenButton: nil
NULL-APP-BUNDLE-ID.window.14640 AXProxy: nil
NULL-APP-BUNDLE-ID.window.14640 AXDefaultButton: nil
NULL-APP-BUNDLE-ID.window.14640 AXMinimized: Optional(0)
NULL-APP-BUNDLE-ID.window.14640 AXParent: Optional(<AXUIElement Application 0x6000017470f0> {pid=28581})
NULL-APP-BUNDLE-ID.window.14640 AXTitleUIElement: nil
NULL-APP-BUNDLE-ID.window.14640 AXCancelButton: nil
NULL-APP-BUNDLE-ID.window.14640 AXModal: Optional(0)
NULL-APP-BUNDLE-ID.window.14640 AXZoomButton: nil
NULL-APP-BUNDLE-ID.window.14640 AXSize: Optional(<AXValue 0x6000017a9ef0> {value = w:856.000000 h:1072.000000 type = kAXValueCGSizeType})
NULL-APP-BUNDLE-ID.window.14640 AXToolbarButton: nil
NULL-APP-BUNDLE-ID.window.14640 Ignored: AXChildrenInNavigationOrder, AXChildren, AXRoleDescription
NULL-APP-BUNDLE-ID              AXRole: Optional(AXApplication)
NULL-APP-BUNDLE-ID              AXTitle: Optional(qemu-system-aarch64)
NULL-APP-BUNDLE-ID              AXFunctionRowTopLevelElements: [
NULL-APP-BUNDLE-ID              ]
NULL-APP-BUNDLE-ID              AXFrame: nil
NULL-APP-BUNDLE-ID              AXFocusedUIElement: AXUIElement(windowId=14640, title="Android Emulator - Samsung_S23_API_35:5554", role="AXWindow", subrole="AXDialog")
NULL-APP-BUNDLE-ID              AXFrontmost: Optional(1)
NULL-APP-BUNDLE-ID              AXExtrasMenuBar: nil
NULL-APP-BUNDLE-ID              AXMainWindow: nil
NULL-APP-BUNDLE-ID              AXFocusedWindow: AXUIElement(windowId=14640, title="Android Emulator - Samsung_S23_API_35:5554", role="AXWindow", subrole="AXDialog")
NULL-APP-BUNDLE-ID              AXMenuBar: Optional(<AXUIElement 0x600001747bd0> {pid=28581})
NULL-APP-BUNDLE-ID              AXWindows: [
NULL-APP-BUNDLE-ID                  AXUIElement(windowId=14641, title="", role="AXWindow", subrole="AXDialog"),
NULL-APP-BUNDLE-ID                  AXUIElement(windowId=14640, title="Android Emulator - Samsung_S23_API_35:5554", role="AXWindow", subrole="AXDialog")
NULL-APP-BUNDLE-ID              ]
NULL-APP-BUNDLE-ID              AXSize: nil
NULL-APP-BUNDLE-ID              AXPosition: nil
NULL-APP-BUNDLE-ID              Ignored: AXChildren, AXChildrenInNavigationOrder, AXEnhancedUserInterface, AXPreferredLanguage, AXRoleDescription, AXHidden
CleanShot.2025-01-03.at.20.59.40.mp4
@Marty-W Marty-W added the bug Something isn't working as expected label Jan 3, 2025
@nikitabobko
Copy link
Owner

What emulator do you use? By default emulator is just an "embedded" tool window of Android Studio

image

And even if you pull this tool window off the Android Studio, it's normal resizable window which looks nothing like the one you recorded

image

I use the latest available Android Studio Ladybug | 2024.2.1 Patch 3. Build #AI-242.23339.11.2421.12700392, built on November 22, 2024

@Marty-W
Copy link
Author

Marty-W commented Jan 4, 2025

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
Build #AI-242.23339.11.2421.12700392, built on November 22, 2024

@nikitabobko
Copy link
Owner

Reproduced by running ~/Library/Android/sdk/emulator/emulator -avd Pixel_9_API_35

@nikitabobko nikitabobko added the triaged The issue makes sense to maintainers label Jan 4, 2025
@nikitabobko
Copy link
Owner

Related: #267

@jozan
Copy link

jozan commented Jan 22, 2025

Related: #267

looks very similar behavior but for me the android emulator (standalone) also flickers on my built-in display.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected triaged The issue makes sense to maintainers
Projects
None yet
Development

No branches or pull requests

3 participants