yabai icon indicating copy to clipboard operation
yabai copied to clipboard

Alacritty 0.10.1 opens in float mode

Open windowsrefund opened this issue 2 years ago • 7 comments

Mac Monterey 12.3.1 Yabai v4.0.0

I just upgraded Alacritty to version 0.10.1 and am surprised to see it open in the center of my screen, above all other windows.

Things I've tried:

  • Restart yabai
  • Remove ~/.config/alacritty/alacritty.yaml

Whatever the issue is, it was definitely introduced in Alacritty 0.10.0 as 0.9.0 runs fine.

windowsrefund avatar Apr 25 '22 19:04 windowsrefund

Got the same issue.

sebedh avatar May 01 '22 19:05 sebedh

same

blaadje avatar May 06 '22 20:05 blaadje

Same, but its probably an alacritty issue rather than a Yabai one

Combowombo avatar Jun 15 '22 23:06 Combowombo

One workaround I have found that works with 0.10.1 is the following in .skhdrc:

# instead of just `alacritty` or `/opt/homebrew/bin/alacritty`
cmd - return : /Applications/Alacritty.app/Contents/MacOS/alacritty

ctrox avatar Jun 16 '22 05:06 ctrox

actually i restarted my yabai and it seems to work now

Combowombo avatar Jun 16 '22 18:06 Combowombo

Using open with the -n flag did the trick for me. Example skhdrc:

hyper - return : open -n -a 'Alacritty.app'

bspellmeyer avatar Jul 12 '22 10:07 bspellmeyer

I don't use skhd, but have this issue. Is there any way to fix that?

alloc33 avatar Sep 04 '22 04:09 alloc33

This is an Alacritty issue.

koekeishiya avatar Sep 23 '22 01:09 koekeishiya

Any other advice on solving this issue?

tartavull avatar Dec 13 '22 14:12 tartavull

One workaround I have found that works with 0.10.1 is the following in .skhdrc:

# instead of just `alacritty` or `/opt/homebrew/bin/alacritty`
cmd - return : /Applications/Alacritty.app/Contents/MacOS/alacritty

The issue still reproduces for me even when using this path instead of the homebrew one. I'm not sure what really different between the two they have the same hash

hbp ➜ ~ sha512sum $(which alacritty)
d34e0a15219619c27763826ef12251ed999a9e18a19205d32a63df52a00e5259ce71820437dbb99b636c9c8c31b34a2d77fba24313ac8dd11c1ed3900bc3de8f  /opt/homebrew/bin/alacritty
hbp ➜ ~ sha512sum /Applications/Alacritty.app/Contents/MacOS/alacritty
d34e0a15219619c27763826ef12251ed999a9e18a19205d32a63df52a00e5259ce71820437dbb99b636c9c8c31b34a2d77fba24313ac8dd11c1ed3900bc3de8f  /Applications/Alacritty.app/Contents/MacOS/alacritty

I use this command to reproduce the issue:

while true; do
alacritty -t 'test yabai bsp' -e sh -c 'yabai -m query --windows --window | jq .title; sleep 0.5';
sleep 0.5
done

I'm gonna try and see what changed in my set up to trigger this issue now. Maybe going back to an older Alacrity build would help?

Whatever the issue is, it was definitely introduced in Alacritty 0.10.0 as 0.9.0 runs fine.

Perhaps I'll stick with 0.9.0 for now

hamidzr avatar Jul 08 '23 19:07 hamidzr

@hamidzr for me hash of /opt/homebrew/bin/alacritty differs from that of /Applications/Alacritty.app/Contents/MacOS/alacritty

version: 0.12.2

CaptainDaVinci avatar Jul 25 '23 14:07 CaptainDaVinci