miromannino / miro-windows-manager

Intuitive and clever mechanism for moving windows using only arrows, even resizing windows by thirds or quarters! For OSX
379 stars 40 forks source link

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

Open molenick-mov opened 4 years ago

molenick-mov commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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!