Amethyst icon indicating copy to clipboard operation
Amethyst copied to clipboard

Unable to tile Android Emulator

Open deecewan opened this issue 4 years ago • 14 comments

Describe the bug The android emulator seems to permanently "float". I seem unable to tile it. There was definitely a point in the past where it was able to be tiled, but that doesn't seem to be the case anymore.

I've seen a bunch of issues about the opposite - windows that are tiled and can't be floated. Wondering if maybe a fix for that has regressed something else?

Applications: Android Emulator

To Reproduce

  • Set layout to 'Tall'
  • Open any application (your browser, for instance)
  • Open the android emulator
  • It'll sit behind the browser

Expected behavior

The android emulator takes up a tile spot.

Screenshots If applicable, add screenshots to help explain your problem.

Versions:

  • macOS: 10.15.4
  • Amethyst: 0.15.3 (88)

Debug Info

$ /Applications/Amethyst.app/Contents/MacOS/Amethyst --debug-info

Version: 0.15.3 (88)

OS version: Version 10.15.4 (Build 19E287)

Has permissions: false

Screens:
	(0.0, 0.0, 3840.0, 1620.0) [(0.0, 0.0, 3840.0, 1620.0)]
	(-1680.0, 381.0, 1680.0, 1050.0) [(-1680.0, 189.0, 1680.0, 1050.0)]

Manageable applications:
	Control Strip (com.apple.controlstrip)
	ViewBridgeAuxiliary (com.apple.ViewBridgeAuxiliary)
	EmojiFunctionRowIM (com.apple.inputmethod.EmojiFunctionRowItem)
	Android File Transfer Agent (com.google.android.mtpagent)
	storeuid (com.apple.storeuid)
	studentd (com.apple.studentd)
	SiriNCService (com.apple.SiriNCService)
	Slack (com.tinyspeck.slackmacgap)
	iTerm2 (com.googlecode.iterm2)
	Finder (com.apple.finder)
	LookupViewService (Google Chrome) (com.apple.LookupViewService)
	coreautha (com.apple.LocalAuthentication.UIAgent)
	AppSSOAgent (com.apple.AppSSOAgent)
	talagent (com.apple.talagent)
	QuickLookUIService (Finder) (com.apple.quicklook.QuickLookUIService)
	Android Studio (com.google.android.studio)
	Preview (com.apple.Preview)
	com.apple.appkit.xpc.openAndSavePanelService (QuickLookUIService (Finder)) (com.apple.appkit.xpc.openAndSavePanelService)
	QuickLookUIService (com.apple.appkit.xpc.openAndSavePanelService (QuickLookUIService (Finder))) (com.apple.quicklook.QuickLookUIService)

Configuration:
mod1: (
    option,
    shift
)
window-resize-step: 5
float-small-windows: 1
enables-layout-hud-on-space-change: 1
enables-layout-hud: 1
ignore-menu-bar: 0
floating: (
        {
        id = "com.apple.QuickTimePlayerX";
        "window-titles" =         (
        );
    }
)
screen-padding-bottom: 5
mod2: (
    option,
    shift,
    control
)
window-minimum-height: 0
new-windows-to-main: 0
window-margins: 1
screen-padding-left: 5
window-minimum-width: 0
mouse-follows-focus: 0
layouts: (
    tall,
    wide,
    fullscreen,
    column
)
screen-padding-top: 5
use-canary-build: 0
floating-is-blacklist: 1
follow-space-thrown-windows: 1
restore-layouts-on-launch: 1
debug-layout-info: 1
screen-padding-right: 5
window-margin-size: 10
mouse-resizes-windows: 1
focus-follows-mouse: 0

Additional context Add any other context about the problem here.

deecewan avatar May 21 '20 05:05 deecewan

Duplicate of #795

ianyh avatar Jun 15 '20 01:06 ianyh

@ianyh i think this is actually the reverse of that. I can't make these windows not float - they always float. In that issue you linked, the windows always tile, and can't float.

deecewan avatar Jun 15 '20 04:06 deecewan

Ah, you are right. Sorry, wasn't reading closely enough.

ianyh avatar Jun 15 '20 13:06 ianyh

Two other apps that won't tile for me: Slack and OneNote. iTerm wasn't tiling but now is (unsure what changed).

I wondered if Electron was the issue (I think Slack & OneNote are both Electron based) but other Electron apps (VSCode, WhatsApp, Atom) are fine.

OSX 10.15.6, Amethyst 0.15.3 (88)

daverodgman avatar Aug 13 '20 10:08 daverodgman

slack tiles fine for me 🤔

deecewan avatar Aug 13 '20 22:08 deecewan

I think Android Emulator goes with id com.apple.ViewBridgeAuxiliary, and adding an override for it worked for me to disable tiling. I haven't experiment with explicit tiling though.

0legg avatar Oct 21 '20 19:10 0legg

@0legg mind sharing how you did that?

axelinternet avatar Feb 03 '22 09:02 axelinternet

I have the same problem with Chrome. When I open a minimized window, it floats, and will do so till either: 1) Amethyst is restarted; or 2) I click a link in another app opening up a new tab in the window.

t-jones avatar Feb 17 '22 19:02 t-jones

Any workarounds here?

vizcay avatar Apr 15 '22 09:04 vizcay

The same problem, any possibility to exclude from tiling windows by title?

PlugFox avatar May 16 '22 21:05 PlugFox

I think Android Emulator goes with id com.apple.ViewBridgeAuxiliary, and adding an override for it worked for me to disable tiling. I haven't experiment with explicit tiling though.

I try to white-list the emulator for Floating windows and this ID is not working. How can I figure out that ID by myself, because this is not an .app, it's a binary (path: /Users/user/Library/Android/sdk/emulator/qemu/darwin-x86_64/qemu-system-x86_64)?

martin-braun avatar Jul 04 '22 18:07 martin-braun

It probably depends on how it's being launched, unfortunately.

ianyh avatar Jul 04 '22 21:07 ianyh

Might be fixed by #1396. I think the issue may have been the method of being launched after Amethyst is already running. We were not handling all cases using workspace notifications.

ianyh avatar Jan 31 '23 01:01 ianyh

Hi, any update on this? I've been strugling a lot with this

Bogghi avatar Apr 14 '24 15:04 Bogghi