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

Request: Don't un-zoom windows when a new window is added #864

Closed
Peeja opened this issue Mar 16, 2021 · 3 comments
Closed

Request: Don't un-zoom windows when a new window is added #864

Peeja opened this issue Mar 16, 2021 · 3 comments
Labels
suggestion Request for new feature or some form of enhancement

Comments

@Peeja
Copy link

Peeja commented Mar 16, 2021

When a new window appears, any windows that are currently zoomed (fullscreen or parent) become un-zoomed as the new layout is set up. I sometimes run with several windows zoomed, and when I open a new window (or unminimize a window, or native-fullscreen/un-fullscreen a windows), have to set all that up again.

It appears that zoomed windows still take up their normal "slot" in the layout, but are then sized to their zoomed size. When a new window is added, I'd like to have yabai recompute the layout as it currently does, but also keep zoomed windows zoomed. For zoom-fullscreened windows, that means they'll keep their size and position (the whole screen), but the place they'll return to if they're unzoomed will change. For zoom-parented windows, that may mean that they move (if their parent ends up moving), but they'll still be zoom-parented. (I don't really have an opinion on whether I want this for zoom-parented windows, but that sounds like the simplest, most logical thing to do if this behavior is changed, and I'd be happy with it.)

My gut feeling is that this would be a better default behavior than resetting the zooms as it does today, but obviously I'm biased because I'm asking for the feature. 😃 I'd be grateful just to have it as an available option.

@macintacos
Copy link

I was pretty surprised that this wasn't the default behavior if I'm honest. Would love to see this implemented.

@koekeishiya koekeishiya added addressed on master; not released Fixed upstream, but not yet released suggestion Request for new feature or some form of enhancement labels Sep 23, 2022
@koekeishiya
Copy link
Owner

Fixed on master.

@nikita-orca
Copy link

@koekeishiya could you please take a look #1481?
This featured caused regression

FelixKratz added a commit to FelixKratz/yabai that referenced this issue Nov 10, 2022
FelixKratz added a commit to FelixKratz/yabai that referenced this issue Nov 18, 2022
FelixKratz added a commit to FelixKratz/yabai that referenced this issue Dec 6, 2022
FelixKratz added a commit to FelixKratz/yabai that referenced this issue Dec 15, 2022
FelixKratz added a commit to FelixKratz/yabai that referenced this issue Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion Request for new feature or some form of enhancement
Projects
None yet
Development

No branches or pull requests

4 participants