rxhanson / RectanglePro-Community

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

Feature request: Add the ability to assign a custom shortcut to an edge or corner #211

Open alextiley opened 1 year ago

alextiley commented 1 year ago

Hello. Great piece of software, it's the closest thing I could find to FancyZones in Microsoft PowerToys which I've been using in anger for a few years on my 21:9 ultrawide. Already moving from Rectangle to Pro has boosted by productivity and made me generally a happier person! 😄

One feature I'd love to see is the ability to assign a custom shortcut to an edge or corner. So if I create a shortcut for a custom height and width somewhere on my screen, I'd then also like to be able to move my window to that corner or edge by dragging the window over to it. This makes more sense for users that assign a modifier key to snap targets (I like to hold shift to show snap targets, but sometimes I'd like to move to the edge instead).

rxhanson commented 1 year ago

Thanks for the feedback. This one is pretty high up on my backlog, so I suspect I'll get to it in one of the next feature releases that I have.

alextiley commented 1 year ago

Great, thanks for the response. Will keep my eyes peeled for this in a future release.

rxhanson commented 1 year ago

I just added this into the latest version, v2.7.6. Let me know if you get a chance to try it out.

You can update within the app or at https://rectangleapp.com/pro/versions

alextiley commented 1 year ago

Hi @rxhanson, wow, amazing turnaround. Just tested it and the actual functionality is working brilliantly for my use case. Thanks a lot, really cool stuff!

Noticed a minor bug which isn't a biggie but probably worth reporting - it looks like adding or removing snap areas doesn't update the list shown in the "Edges & Corners" view. Presumably the code fetches the list of snap areas at start-up and doesn't refresh the list upon changes to shortcut configuration. A simple restart works-around this issue for me.

Custom shortcut config (I added the "Test shortcut" after loading up the app): image

Snap areas (before restarting): image

Snap areas (after restarting the process): image

The same also happens upon deletions. For example, if I delete a custom shortcut, it hangs around in the list of edges & corners until restart.

Not sure if you want to keep the discussion here, or whether you'd prefer a new GitHub issue. Let me know, happy to move it and follow an issue template, if you have one.

Thanks again! 🎉

rxhanson commented 1 year ago

Thanks for letting me know! I’ll fix this up in a follow-on release soon. No need to create a new issue.