Amethyst icon indicating copy to clipboard operation
Amethyst copied to clipboard

"Float small windows" not working for JetBrains IDE dialogs

Open ulope opened this issue 4 years ago • 4 comments

Describe the bug The "Float small windows" option isn't respected for JetBrains IDEs (PyCharm in my case).

Applications: PyCharm (and other JetBrains IDEs)

To Reproduce

  • Open a file in a JetBrains IDE (e.g. PyCharm)
  • Invoke (for example) the Goto-Line dialog (Cmd-L)
  • Dialog is tiled

Expected behavior The dialog to remain floating

Screenshots Original dialog size:

Versions:

  • macOS: 10.15.4
  • Amethyst: 0.15.3 (88)

Debug Info

Version: 0.15.3 (88)

OS version: Version 10.15.4 (Build 19E287)

Has permissions: false

Screens:
	(0.0, 0.0, 2560.0, 1440.0) [(0.0, 0.0, 2560.0, 1440.0)]
	(-2048.0, 107.0, 2048.0, 1280.0) [(-2048.0, 53.0, 2048.0, 1280.0)]
	(2560.0, -272.0, 1080.0, 1920.0) [(2560.0, -208.0, 1080.0, 1920.0)]

Manageable applications:
	ViewBridgeAuxiliary (com.apple.ViewBridgeAuxiliary)
	talagent (com.apple.talagent)
	ViewBridgeAuxiliary (com.apple.ViewBridgeAuxiliary)
	QuickLookUIService (PID 341) (com.apple.quicklook.QuickLookUIService)
	Control Strip (com.apple.controlstrip)
	Finder (com.apple.finder)
	AppSSOAgent (com.apple.AppSSOAgent)
	Viscosity (com.viscosityvpn.Viscosity)
	JetBrains Toolbox (com.jetbrains.toolbox)
	Dash (com.kapeli.dashdoc)
	Shift (com.rdbrck.shift)
	Spotify (com.spotify.client)
	EmojiFunctionRowIM (com.apple.inputmethod.EmojiFunctionRowItem)
	Safari (com.apple.Safari)
	com.apple.Safari.SandboxBroker (Safari) (com.apple.Safari.SandboxBroker)
	SiriNCService (com.apple.SiriNCService)
	Rocket.Chat (chat.rocket)
	Soulver (com.acqualia.soulver)
	com.apple.appkit.xpc.openAndSavePanelService (Soulver) (com.apple.appkit.xpc.openAndSavePanelService)
	QuickLookUIService (com.apple.appkit.xpc.openAndSavePanelService (Soulver)) (com.apple.quicklook.QuickLookUIService)
	Sublime Text (com.sublimetext.3)
	Messages (com.apple.iChat)
	PyCharm (com.jetbrains.pycharm)
	coreautha (com.apple.LocalAuthentication.UIAgent)
	CalNCService (com.apple.CalendarNotification.CalNCService)
	studentd (com.apple.studentd)
	com.apple.appkit.xpc.openAndSavePanelService (Shift) (com.apple.appkit.xpc.openAndSavePanelService)
	QuickLookUIService (com.apple.appkit.xpc.openAndSavePanelService (Shift)) (com.apple.quicklook.QuickLookUIService)
	Preview (com.apple.Preview)
	Sublime Merge (com.sublimemerge)
	WhatsApp (WhatsApp)
	QuickLookUIService (Messages) (com.apple.quicklook.QuickLookUIService)
	MoneyMoney (com.moneymoney-app.retail)
	Calendar (com.apple.iCal)
	zoom.us (us.zoom.xos)
	SafariQuickLookPreview (Spotlight) (com.apple.Safari.SafariQuickLookPreview)
	photolibraryd (com.apple.photolibraryd)
	iTerm2 (com.googlecode.iterm2)
	com.apple.appkit.xpc.openAndSavePanelService (Sublime Text) (com.apple.appkit.xpc.openAndSavePanelService)
	QuickLookUIService (com.apple.appkit.xpc.openAndSavePanelService (Sublime Text)) (com.apple.quicklook.QuickLookUIService)
	com.apple.appkit.xpc.openAndSavePanelService (Safari) (com.apple.appkit.xpc.openAndSavePanelService)
	QuickLookUIService (com.apple.appkit.xpc.openAndSavePanelService (Safari)) (com.apple.quicklook.QuickLookUIService)
	MyCrypto (com.github.mycrypto.mycryptohq)
	com.apple.appkit.xpc.openAndSavePanelService (MyCrypto) (com.apple.appkit.xpc.openAndSavePanelService)
	QuickLookUIService (com.apple.appkit.xpc.openAndSavePanelService (MyCrypto)) (com.apple.quicklook.QuickLookUIService)
	com.apple.RemotePDEService (Preview) (com.apple.RemotePDEService)
	1Password 7 (com.agilebits.onepassword7)
	Wallet (com.apple.passd)
	BTTRelaunch (com.hegenberg.BTTRelaunch)
	com.apple.appkit.xpc.openAndSavePanelService (BetterTouchTool) (com.apple.appkit.xpc.openAndSavePanelService)
	QuickLookUIService (com.apple.appkit.xpc.openAndSavePanelService (BetterTouchTool)) (com.apple.quicklook.QuickLookUIService)
	1Password (Safari) (com.agilebits.onepassword7.1PasswordSafariAppExtension)

Configuration:
use-canary-build: 1
floating-is-blacklist: 1
follow-space-thrown-windows: 1
window-margins: 0
screen-padding-left: 0
mouse-resizes-windows: 1
window-minimum-width: 400
screen-padding-bottom: 0
window-resize-step: 3
debug-layout-info: 1
layouts: (
    tall,
    wide,
    "widescreen-tall",
    bsp,
    column,
    row,
    "3column-left",
    "middle-wide",
    fullscreen,
    tall
)
float-small-windows: 1
screen-padding-right: 0
mod1: (
    option,
    shift
)
ignore-menu-bar: 0
focus-follows-mouse: 0
new-windows-to-main: 0
enables-layout-hud-on-space-change: 1
enables-layout-hud: 1
screen-padding-top: 0
restore-layouts-on-launch: 1
mouse-follows-focus: 0
floating: (
        {
        id = "com.kapeli.dashdoc";
        "window-titles" =         (
        );
    },
        {
        id = "com.apple.Preview";
        "window-titles" =         (
        );
    },
        {
        id = "net.phere.GitX";
        "window-titles" =         (
        );
    },
        {
        id = "com.apple.calculator";
        "window-titles" =         (
        );
    },
        {
        id = "com.apple.iCal";
        "window-titles" =         (
        );
    },
        {
        id = "com.apple.appstore";
        "window-titles" =         (
        );
    },
        {
        id = "us.zoom.xos";
        "window-titles" =         (
        );
    },
        {
        id = "com.tapbots.TweetbotMac";
        "window-titles" =         (
        );
    },
        {
        id = "com.movist.Movist";
        "window-titles" =         (
        );
    },
        {
        id = "com.apple.systempreferences";
        "window-titles" =         (
        );
    },
        {
        id = "com.agilebits.onepassword4";
        "window-titles" =         (
        );
    },
        {
        id = "com.vmware.fusion";
        "window-titles" =         (
        );
    },
        {
        id = "com.apple.Maps";
        "window-titles" =         (
        );
    },
        {
        id = "org.libreoffice.script";
        "window-titles" =         (
        );
    },
        {
        id = "com.DanPristupov.Fork";
        "window-titles" =         (
        );
    },
        {
        id = "com.sublimemerge";
        "window-titles" =         (
        );
    },
        {
        id = "com.sublimetext.3";
        "window-titles" =         (
        );
    },
        {
        id = "com.tapbots.Tweetbot3Mac";
        "window-titles" =         (
        );
    },
        {
        id = "com.github.mycrypto.mycryptohq";
        "window-titles" =         (
        );
    },
        {
        id = "com.skitch.skitch";
        "window-titles" =         (
        );
    },
        {
        id = "com.tapbots.Tweetbot3Mac";
        "window-titles" =         (
        );
    },
        {
        id = "com.tapbots.TweetbotMac";
        "window-titles" =         (
        );
    },
        {
        id = "com.apple.Photos";
        "window-titles" =         (
        );
    },
        {
        id = "com.agilebits.onepassword7";
        "window-titles" =         (
        );
    }
)
window-minimum-height: 300
window-margin-size: 3
mod2: (
    option,
    shift,
    control
)

ulope avatar May 18 '20 11:05 ulope

Same issue for slack and Skype windows. Skype incoming call popup gets tiled which is super annoying

svyatogor avatar Oct 27 '20 07:10 svyatogor

I'm getting this happening with emacs-plus now. https://github.com/d12frosted/homebrew-emacs-plus I have to have my entire second monitor set to floating in order for the LSP ui pop-ups to not take up a whole space.

wildwestrom avatar Nov 27 '21 20:11 wildwestrom

Any way to fix this? It is pretty annoying.

romashko avatar Aug 23 '22 14:08 romashko

yeah it is very annoying. i tried to find the process of the small windows by using ps ax and it seems like for example the Pull Window doesn't get its own PID which may makes it hard to control?

mortensassi avatar Sep 21 '22 08:09 mortensassi