Rectangle

Move and resize windows on macOS with keyboard shortcuts and snap areas

OTHER License

Stars
25.7K
Committers
122

Bot releases are visible (Hide)

Rectangle - 19Jan2021

Published by rxhanson over 3 years ago

  • Added initial version of Todo Mode (thanks Patrick Collison and Nat Friedman!)
  • Added safeguards for potential high CPU scenarios
  • Now drag-to-snap can be limited to only occur when a modifier key is pressed (terminal configuration)
  • Now a window that was last maximized by Rectangle will be maximized when next/prev display is executed
  • Localization updates for Korean & Japanese
Rectangle - 28Dec2020

Published by rxhanson almost 4 years ago

  • Storage of shortcuts in NSUserDefaults is now keycode and modifier flag values instead of binary data. Warning: previous versions will not be able to read your configured shortcuts after updating to this version!
  • The status bar icon is now slightly more opaque
  • An unlikely scenario where cpu usage could spike has been patched up
  • Automatic update checks should now happen without having to open the preferences window
  • There are a lot of under the hood changes regarding configuration loading
  • Localizations for Japanese and Chinese are updated
Rectangle - 07Dec2020

Published by rxhanson almost 4 years ago

  • Bug fix for smooth/laggy/incorrect window move/resize noted in several issues and the readme.
  • Center half action now takes configured window gaps into account.
  • Sixths repeated actions on portrait displays have been updated to be more consistent.
Rectangle - 05Dec2020

Published by rxhanson almost 4 years ago

  • Bug fix for bottom snap area not always working
  • Bug fix for some preference window text getting clipped in certain localizations
  • Localization updates
Rectangle - 16Nov2020

Published by rxhanson almost 4 years ago

  • New Big Sur Icon (thanks, Giovanni Maria!)
  • Minor settings tab, preference window UI updates
  • Cleaned up some of the code around screen edge gaps
  • Refactored all of the window calculations under the hood to make them more readable and easier to change going forward
Rectangle - 31Oct2020

Published by rxhanson almost 4 years ago

  • Bug fix where a window moved to a display with a full screen app would not remain in front
  • Localization updates
Rectangle - 17Oct2020

Published by rxhanson about 4 years ago

  • The "footprint" window for dragging a window to snap now fades in/out and has a thicker border. There are command line defaults tied to these changes.
  • Bug fix for the "footprint" window not being displayed on macOS versions prior to 10.14.
  • Fixed minor UI inconsistencies.
  • Localization updates for French, Russian, Portuguese (Brazil), and German
Rectangle - 09Oct2020

Published by rxhanson about 4 years ago

  • Restores localizations that don't appear in v0.34, but still without the new additions in v0.34 localized for most languages.
  • Localizations that have been updated include Chinese (Simplified), Portuguese (Portugal), Polish, German, and Spanish.
  • Repeating first or last "Two thirds" actions will cycle between the two.
Rectangle - 4Oct2020: Fourths and Sixths

Published by rxhanson about 4 years ago

  • Added fourths, sixths, and center half window actions
  • Added a slider for window gaps
  • Added a checkbox for disabling the "unsnap restore" when you move a window that's been snapped
  • This update also includes changes for adding screen edge gaps via terminal command (for users of 3rd party docks, etc)
  • None of these changes have been localized. Localization pull requests are welcome.
Rectangle - More window sizes for larger displays (Beta)

Published by rxhanson about 4 years ago

A beta release that contains screen sixths and fourths window size/position actions. Also includes actions on repeated shortcut executions.

Note that this release is not ready for localization as it is missing the necessary items in localized files.

Rectangle - 01Sep2020

Published by rxhanson about 4 years ago

  • Hiding "thirds" and "move" shortcut inputs in the prefs window under a button.
  • Clicking "Restore Default Shortcuts" in the settings tab will now prompt you to choose between Spectacle and the recommended Rectangle shortcut defaults.
  • Updated Sparkle 3rd party library.
  • Translation updates.
Rectangle - 28Jun2020

Published by rxhanson over 4 years ago

  • Added version number and "check for updates" button to settings tab in prefs window
  • Open prefs window instead of menu bar menu on app relaunch (of note for users that hide the menu bar icon)
  • Bug fix for window drag to snap not working in certain scenarios
  • Bug fix for first/last thirds repeated actions not taking into account if the window was placed already placed in the first or last slot by the opposite action
Rectangle - 26May2020

Published by rxhanson over 4 years ago

  • Removed macOS beep when result of a shortcut is identical to current window frame
  • Various localization updates
Rectangle - 17May2020

Published by rxhanson over 4 years ago

Bug fix for not being able to move top half to bottom half on certain display sizes

Rectangle - 16May2020

Published by rxhanson over 4 years ago

Bug fix for menu not opening when relaunching app with hidden menu bar icon
Increased logging
Added Chinese Traditional: Taiwan localization

Rectangle - 10May2020

Published by rxhanson over 4 years ago

  • Bug fix for "Make smaller" setting window height full when gaps are on
  • Now each drag to snap area can be disabled via a terminal command
Rectangle - 26Apr2020

Published by rxhanson over 4 years ago

Note that this update does not include changes from v0.25.1

  • Rectangle checks for conflicting apps on first launch
  • Make smaller minimum size can now be configured via Terminal
  • Make smaller/larger offset size can now be configured via Terminal
  • Make smaller/larger is now a little smarter about window gaps
  • Window unsnap when moving can now be disabled via Terminal
  • Simplified Chinese and Polish translation updates
Rectangle - Rough animation delay alpha

Published by rxhanson over 4 years ago

Due to a macOS bug, sometimes certain windows will animate when the resize. This causes the window to not be resized to the proper location. The only way to workaround this bug is to introduce delays in the size/positioning changes sent to a window. This early alpha release includes the logic to add in these delays, but you must configure them with the following Terminal command:

defaults write com.knollsoft.Rectangle animationDelay -int 300

300 is the number of milliseconds to wait between every size and position call made to each window, and can be adjusted as seen fit. It's arbitrarily a number that worked OK for me.

Note that there are existing issues here - repeated shortcut execution does not perform 2/3 and 1/3 sizes (if configured), and 300 ms might be on the low end of what is needed to allow the window to fully resize from/to certain sizes/positions.

Rectangle - Onboarding Window

Published by rxhanson over 4 years ago

Added onboarding window that allows you to select whether you want the recommended shortcuts and behavior or based off of Spectacle

Rectangle - 02Apr2020

Published by rxhanson over 4 years ago

  • Bug fix for ignore menu item not appearing
  • Small French translation update