rxhanson / RectanglePro-Community

Bug reports and discussion for the Rectangle Pro app
https://rectangleapp.com/pro
98 stars 1 forks source link

Options to configure "Stateful Win Arrow Keys" shortcut behavior? #265

Open johnnaaron opened 1 year ago

johnnaaron commented 1 year ago

(My "Win Arrow Keys" keyboard shortcut is set to )

Request # 1 Toggle to turn / "minimize window" behavior off; I find myself accidentally minimizing things constantly.

Request # 1.5 should unminimize a window recently minimized by , so window movement doesn't require mouse intervention on a misinput.

Request # 2 Toggle to have Rectangle forget the initial size/position of apps when I start moving them via "Win Arrow Keys". Right now, moving half-screen windows around/between monitors requires instead of just . I have attached a video below to demonstrate the problem.

Current behavior:

https://user-images.githubusercontent.com/32317888/234941876-418e91ef-d57a-43e8-a459-40b6db7f5594.mov

Expected behavior:

https://user-images.githubusercontent.com/32317888/234941943-3603721c-b4e3-493a-9a41-3d4b6da6cb2d.mov

Thank you! 🙂

rxhanson commented 1 year ago

Thanks for the feedback.

1 & 2: Ideally, I'd like to have a way to build out custom state machines such as this win arrow keys one, where users can customize the way that it works. I'll have to think through to determine if there's a middle ground that wouldn't be as complicated but still make it so you could get something closer to what you're looking for. If I can't, then at the very least I'll look to add a toggle for removing the minimize, and potentially the restore.

1.5: There are some macOS limitations that get in the way of implementing this. As a 3rd party developer, there are scenarios where I can't just make a window un-minimize, like if there are other windows from the same app already un-minimized.