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

Bug where menus are created below the active window #1657

Closed
eomdohyeon opened this issue Mar 6, 2023 · 5 comments
Closed

Bug where menus are created below the active window #1657

eomdohyeon opened this issue Mar 6, 2023 · 5 comments

Comments

@eomdohyeon
Copy link

eomdohyeon commented Mar 6, 2023

When using the Chrome browser or other apps, the window that appears when you click another element, such as a menu, usually exists in front of the previously activated window. However, sometimes with yabai, the menu becomes obscured behind the active window, making the menu unclickable.

ezgif-3-fcf37e52c9

Is this a problem that only happens to me? You are using the latest version of the app.

@nicklayb
Copy link

nicklayb commented Mar 7, 2023

I have the same problem, in Firefox for instance, when I want to enable notifications for a web app, the confirmation pop up opens behind the window.

Restarting yabai solves the problem when this happens

@eomdohyeon
Copy link
Author

eomdohyeon commented Mar 7, 2023

@nicklayb
In my case, restarting yabai did not relieve the symptoms.

$ brew services restart yabai

I don't know the exact mechanism, but switching between float and unfloat via alt-t hotkey alleviated the symptoms for a while.

@azinsharaf
Copy link

azinsharaf commented Mar 17, 2023

i am wondering if this code can fix it.

# floating windows are always on top (default: off)
yabai -m config window_topmost on

EDIT: my bad, it should be off which is the default setting but give it a try.

@eomdohyeon
Copy link
Author

eomdohyeon commented Mar 20, 2023

@azinsharaf
In my settings the value of "window_topmost" was 'on' and after changing the value of that setting to 'off' the problem was resolved.

I tried searching for the "window_topmost" option and found a case similar to mine in the link below.
#1135

Thanks for your help.

@azinsharaf
Copy link

@eomdo glad it worked. the Issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants