miromannino/miro-windows-manager

Certain apps do not cycle through all vertical windows sizes

Opened this issue · 6 comments

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.

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.

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 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.

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)

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

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!