rxhanson / Rectangle

Move and resize windows on macOS with keyboard shortcuts and snap areas
https://rectangleapp.com
Other
26.06k stars 789 forks source link

halveHeightUp Doesnt work as expected #1429

Closed rohitsrivatsav closed 3 months ago

rohitsrivatsav commented 4 months ago

macOS version: Sonoma 14.5 Rectangle version: 0.81 (87) Logs if applicable (In Rectangle menu, hold option, "View Logging..."):

I set up a custom shortcut for halveHeightUp and halveHeightDown . halveHeightDown does cut down the vertical height by 50% as expected. However when halveHeightUp is used ( on full length window) doesnt do anything , halveHeightUp shortcut only works for windows that are already 50% cutdown and it maximizes to full 100% length. My assumption was halveHeightUp is meant to slice the vertical width by 50% towards Up but so far doesnt seem to work that way

rxhanson commented 4 months ago

I'm not quite sure I understand exactly where things are going wrong. If you don't mind, can you make a quick screen recording and provide logging? To show logging, hold the option key in the menu bar menu and select View Logging...

Thanks!

rohitsrivatsav commented 4 months ago

Rectangle Logs.log

When a window is maximized or occupies full height of screen , pressing CTRL+OPT+SHIFT + UP_ARROW does nothing to the window. Instead when window only occupies bottom half of screen , pressing CTRL+OPT+SHIFT + UP_ARROW maximizes the window to full height instead

You could probably see in logs

rohitsrivatsav commented 4 months ago

Sorry couldnt record the screen . Somehow quicktime on my mac isnt recording my screen. Will upload if i do end up recording again

rxhanson commented 3 months ago

Sorry for the delay. The logs don't show halveHeightUp (top half) being executed, where I think maximizeHeight is being triggered when you are expecting halveHeightUp. Would you mind also uploading your config? You can export it from the gear tab in the settings window.

rohitsrivatsav commented 3 months ago

RectangleConfig.json

Hereis my config

rohitsrivatsav commented 3 months ago

Update , i realized after exporting config , i had two commands with same shortcut. So i fixed that , quit the app and started again ..VOLLA it works now . Appreciate you pointing me in the direction of looking at config . This ticket can be closed :).