yabai icon indicating copy to clipboard operation
yabai copied to clipboard

Brave Browser tab mode: vertical shows through applications with yabai

Open aspauldingcode opened this issue 1 year ago • 4 comments

I think this is a yabai issue. But, if I report it to brave, they're not going to fix it likely, so I don't know where to go. The issue occurs when SIP is disabled and I use yabai, where I've set windows to be transparent and tranisition between active / inactive windows I think. Breaks things when I have brave browser open and vertical tabs enabled, and another application such as alacritty. When I run something like alacritty simplefullscreen mode, Brave Browser bleeds through the vertical tabs, rendering them on top. Screenshot 2024-01-12 at 3 02 18 PM Screenshot 2024-01-12 at 3 02 17 PM

yabai version: yabai-v6.0.6 macos (M1): 14.1.2 Brave Browser Version: v 1.61.114

aspauldingcode avatar Jan 14 '24 18:01 aspauldingcode

Sketchybar can (likely) be fixed by moving it down by one layer, as mentioned in the sketchybar/share-your-plugins/ post.

aspauldingcode avatar Jan 14 '24 18:01 aspauldingcode

What is the output of yabai -m query --windows --space and this problem occurs?

koekeishiya avatar Jan 14 '24 19:01 koekeishiya

$ yabai -m query --windows --space

[{
        "id":11055,
        "pid":62477,
        "app":"Alacritty",
        "title":"Zellij (polite-bee) - alex@NIXY:~/.dotfiles",
        "frame":{
                "x":0.0000,
                "y":-1080.0000,
                "w":1920.0000,
                "h":1080.0000
        },
        "role":"AXWindow",
        "subrole":"AXStandardWindow",
        "root-window":true,
        "display":3,
        "space":9,
        "level":-20,
        "layer":"below",
        "opacity":1.0000,
        "split-type":"vertical",
        "split-child":"second_child",
        "stack-index":0,
        "can-move":true,
        "can-resize":false,
        "has-focus":true,
        "has-shadow":false,
        "has-parent-zoom":false,
        "has-fullscreen-zoom":false,
        "is-native-fullscreen":false,
        "is-visible":true,
        "is-minimized":false,
        "is-hidden":false,
        "is-floating":false,
        "is-sticky":false,
        "is-grabbed":false
},{
        "id":13345,
        "pid":674,
        "app":"Brave Browser",
        "title":"Brave Browser tab mode: vertical shows through applications with yabai · Issue #2053 · koekeishiya/yabai - Brave",
        "frame":{
                "x":15.0000,
                "y":-1020.0000,
                "w":937.0000,
                "h":1005.0000
        },
        "role":"AXWindow",
        "subrole":"AXStandardWindow",
        "root-window":true,
        "display":3,
        "space":9,
        "level":-20,
        "layer":"below",
        "opacity":0.9500,
        "split-type":"vertical",
        "split-child":"first_child",
        "stack-index":0,
        "can-move":true,
        "can-resize":true,
        "has-focus":false,
        "has-shadow":false,
        "has-parent-zoom":false,
        "has-fullscreen-zoom":false,
        "is-native-fullscreen":false,
        "is-visible":true,
        "is-minimized":false,
        "is-hidden":false,
        "is-floating":false,
        "is-sticky":false,
        "is-grabbed":false
}]

aspauldingcode avatar Jan 15 '24 18:01 aspauldingcode

Could I do a command that does something like: yabai -m set window alacritty layer = above? Or top? Maybe they can't both be below..

aspauldingcode avatar Jan 16 '24 05:01 aspauldingcode

It's still an issue...

aspauldingcode avatar Feb 14 '24 00:02 aspauldingcode

Not sure what can be done here if this is still an issue in the latest version of yabai. The easy workaround is to set alacritty layer to either normal or above, when you enter this fullscreen mode.

koekeishiya avatar Feb 25 '24 20:02 koekeishiya