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

Certain apps do not cycle through all vertical windows sizes #19

Open
molenick-mov opened this issue Mar 12, 2020 · 6 comments
Open

Certain apps do not cycle through all vertical windows sizes #19

molenick-mov opened this issue Mar 12, 2020 · 6 comments

Comments

@molenick-mov
Copy link

When sizing apps on my desktops, I usually use hyper + arrow keys to position and size windows. For most apps, when I cycle hyper+up/down, I see the following frame sizes: 2/3, 1/2 and 1/3.

However, two apps (Chrome and Slack) I've found so far don't cycle the same as others (Sublime Text, iTerm, etc).

I'm wondering if there is something preventing these apps from working consistently and if some change can be made so that all app frames work the same.

@molenick-mov
Copy link
Author

I did a little fiddling, but didn't do a deep dive and found that setting the Y Margin to -1 seems to help. iTerm still has a little bit of weird behavior, but I think it's due to how iTerm uses/reserves space mostly.

@daswass
Copy link

daswass commented Mar 31, 2020

The only window that seems to react to any of the key-combos is the hammerspoon console. Am I missing something? Changing the y margin didnt seem to help.

@stefanlasiewski
Copy link

stefanlasiewski commented Jul 13, 2021

I started seeing these issues after upgrading from Catalina to Big Sur, and using HammerSpoon Version 0.9.90 (6030).

The HammerSpoon Console and Firefox both work as expected, but macOS Terminal, Chrome, Slack, etc. do not. For example, if I try to set Slack to the right 1/3 of the screen, it aligns itself to the middle of the screen not to the monitor's edge.

It must be a behavior in window management for newer macOS versions. Very strange.

If anyone knows how to fix this, I sure would appreciate it.

@Pavitra122
Copy link

The only window that seems to react to any of the key-combos is the hammerspoon console. Am I missing something? Changing the y margin didnt seem to help.

I am seeing the same behavior. Currently running MacOS Big Sur (11.4) and Hammerspoon version (Version 0.9.90)

@miromannino
Copy link
Owner

I understand the frustration, but unfortunately some applications impose a minimum size for windows. If you experience this issue, probably your need more resolution, and your windows are too big in relation to the available space.

I suggest you going to Display properties and setting the resolution to "Default" or "More Space" depending on your display.

display-more

@Pavitra122
Copy link

Hey! Thanks for the suggestion. My display was already set at default but I tried changing to the lower resolution modes as well but that didn't make any difference (after reloading hammerspoon each time).

The problem I am having is that I cannot adjust the window size at all except for a few applications such as the hammerspoon console so I don't think that minimum size for windows is the problem here.

Thanks for your time!

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

5 participants