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

If a desktop has a single window in it and when the desktop layout is changed to float, this window performs weird #586

Closed
rockyzhang24 opened this issue Jun 21, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@rockyzhang24
Copy link

rockyzhang24 commented Jun 21, 2020

yabai version: v3.2.1 (the latest master)
macOS version: 10.15.5

To reproduce the issue:
In an empty desktop (workspace), open a single random window say a kitty window. Then we change the layout of this desktop to float by yabai -m space --layout float.

  1. This window size cannot be resized by yabai -m window --resize ...
  2. This window cannot be moved by yabai -m window --move ...
  3. yabai -m window --grid ... does not work either
  4. Furthermore, open another random window say Notes.app, and then we change the layout of this desktop back to bsp by yabai -m space --layout bsp. We can see that the kitty window and the Notes.app window are not tiled and instead the Notes.app window will fill the whole screen above the kitty window.

HOWEVER, if initially in an empty desktop we open two or more windows before we change the layout to float, all the windows perform well. I can resize, move any window (i.e., issue 1, 2, 3 don't exist). Also, like 4 above, if I open another random window and then I change the layout back to bsp, all the windows will be tiled.

Thank you very much.

@rockyzhang24 rockyzhang24 changed the title It is reasonable to set the floating value of windows to 1 when the desktop layout is changed to float Is it reasonable to set the floating value of windows to 1 instead of 0 when the desktop layout is changed to float? Jun 21, 2020
@rockyzhang24 rockyzhang24 changed the title Is it reasonable to set the floating value of windows to 1 instead of 0 when the desktop layout is changed to float? If a desktop has a single window in it and when the desktop layout is changed to float, this window performs weird Jun 21, 2020
@rockyzhang24 rockyzhang24 reopened this Jun 21, 2020
@koekeishiya koekeishiya added addressed on master; not released Fixed upstream, but not yet released bug Something isn't working labels Jun 22, 2020
@koekeishiya koekeishiya removed the addressed on master; not released Fixed upstream, but not yet released label Sep 3, 2020
unrevre pushed a commit to unrevre/yabai that referenced this issue Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants