rxhanson / RectanglePro-Community

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

Improve Pin Mode #269

Open yerseg opened 1 year ago

yerseg commented 1 year ago

Hi! Is it possible to improve Pin Mode so that you can pin any application by keyboard shortcut at the moment when it is necessary?

For example, how it is implemented in the BetterTouchTool utility (the screenshot shows how to enable this option). In BetterTouchTool, this is implemented using the screen capture API. Another example is Always On Top Mode on Windows which is implemented in the Microsoft PowerToys application https://learn.microsoft.com/ru-ru/windows/powertoys/#always-on-top .

The key difference between the implementations in these applications from what is now in Rectangle is the ability to simply focus on a any window, apply a keyboard shortcut and that's it, the window is fixed in the position and size in which it was opened at the time of focusing.

I will be very glad if such a feature appears in the paid version.

Thanks!

image
rxhanson commented 1 year ago

Thanks for the feedback.

If I understand correctly, you want precisely what BTT has, but built into Rectangle Pro.

MacOS has a limitation where an app can only float windows that belong to itself (like the prefs window in Rectangle Pro). My understanding of BTT's implementation of this is that it does create its own window that streams video of the window being floated, as you noted. At this time, I don't have plans to create that implementation, but if Apple provides a different way to achieve this then I'll definitely roll it in.