Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

window --focus <east|west> not working on screens with misaligned y #1463

Closed
brorbw opened this issue Sep 28, 2022 · 11 comments
Closed

window --focus <east|west> not working on screens with misaligned y #1463

brorbw opened this issue Sep 28, 2022 · 11 comments
Labels
bug Something isn't working

Comments

@brorbw
Copy link

brorbw commented Sep 28, 2022

Expected:

➜ yabai -m window --focus east
could not locate a eastward managed window.

What I got is that it selects the window below on the screen. This behaviour has changed since the previous version and it means that my navigation don't work

alt - h: yabai -m window --focus west  || (yabai -m display --focus west  && yabai -m window --focus east)
alt - j: yabai -m window --focus south || (yabai -m display --focus south && yabai -m window --focus north)
alt - k: yabai -m window --focus north || (yabai -m display --focus north && yabai -m window --focus south)
alt - l: yabai -m window --focus east  || (yabai -m display --focus east  && yabai -m window --focus west)
@brorbw brorbw changed the title window focus --<east|west> on screen in portrait not working as expected window --focus <east|west> on screen in portrait not working as expected Sep 28, 2022
@brorbw
Copy link
Author

brorbw commented Sep 28, 2022

@brorbw
Copy link
Author

brorbw commented Sep 28, 2022

I did a little more digging and found that it seems to be the placement of displays since this does not work
309128585_3426542004337344_7684211690507396868_n
But this does
309463893_626282548901714_5614346904078961827_n

@brorbw brorbw changed the title window --focus <east|west> on screen in portrait not working as expected window --focus <east|west> on screens with misaligned y Sep 28, 2022
@brorbw brorbw changed the title window --focus <east|west> on screens with misaligned y window --focus <east|west> not working on screens with misaligned y Oct 1, 2022
@DonaldoDes
Copy link

Hi there, I have the same issue with two screens side by side in landscape mode.

The expected behaviour can be reached by the placement of displays hack (aligning them on top) as suggested by @brorbw.

I go with this hack but moving the mouse from one display to the other fells tricky with this placement

Is a fix planned for the issue ?

@brorbw
Copy link
Author

brorbw commented Nov 9, 2022

I go with this hack but moving the mouse from one display to the other fells tricky with this placement

Tell me about it. It's not really usable but I see no alternative

@brorbw
Copy link
Author

brorbw commented Jan 31, 2023

Any update on this?

@brorbw
Copy link
Author

brorbw commented Feb 9, 2023

I have now turned my monitors to landscape mode, not related to yabai. Configuration can be seen below.
Screenshot 2023-02-10 at 00 42 06

The problem still exists. When I have a 2:1 configuration on my leftmost screen, and ONLY with a 2:1 configuration yabai detects a window to the right of my rightmost window. I cannot for the life of me figure out why.

Screenshot 2023-02-10 at 00 41 40

Let me add that all screens are the same resolution.
Screenshot 2023-02-10 at 00 48 12

And I'm running 5.0.2
Screenshot 2023-02-10 at 00 49 01

@brorbw
Copy link
Author

brorbw commented Mar 16, 2023

Are there any updates?

@brorbw
Copy link
Author

brorbw commented May 1, 2023

I have found a new scenario
For the left most monitor of three all with the same resolution
https://user-images.githubusercontent.com/5909562/235494004-ad543f0c-0b2d-4324-b725-9392688388bd.mov

@koekeishiya
Copy link
Owner

koekeishiya commented May 21, 2023

I was only able to reproduce the issue mentioned in this comment, which is now resolved on master: #1463 (comment)

Not sure if the other issus mentioned were caused by the same underlying issue, or if they are separate.

@koekeishiya
Copy link
Owner

Probably fixed in v5.0.5. Feel free to reopen if you can reproduce the issue in the new version.

shinyquagsire23 pushed a commit to shinyquagsire23/yabai that referenced this issue Jun 7, 2023
@offeex
Copy link

offeex commented Oct 13, 2024

have the same issue:

offeex@MacBookPro ~> yabai -m window --focus east
could not locate a eastward managed window.

tho, i'm using managed layout. Any workaround?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants