RectanglePro-Community icon indicating copy to clipboard operation
RectanglePro-Community copied to clipboard

Bug while resizing + moving

Open luisrecuenco opened this issue 2 years ago • 10 comments

Hello,

Just discovered the app and love it. Great job!

I was planning on replacing my current resize + move app, Hummingbird with Rectangle Pro. Unfortunately, it doesn't behave as expected.

Steps to reproduce:

  1. Hold the resize button trigger (alt + ctrl) and move the mouse -> the window resizes correctly.
  2. Press shift (so it activates the move button trigger) and continue moving the mouse

Bug: The window doesn't move at first and then, it jumps (as you can see in the video).

The only way to solve the issue is by releasing the resize button trigger before pressing the move window trigger. I guess this is a minor thing that might be happening only to me because of the triggers I'm using 😅 , but I'm so used to those already that I'd really appreciate if you could fix the issue.

Thanks a lot!

CleanShot 2022-04-04 at 09 35 42@2x

https://user-images.githubusercontent.com/223636/161495923-942f8f1f-8be3-4998-8d9c-6395f71f6217.mp4

luisrecuenco avatar Apr 04 '22 07:04 luisrecuenco

I see. Thanks for the video. I'll plan on rolling a fix into the next release.

rxhanson avatar Apr 06 '22 01:04 rxhanson

Hello Ryan. Thanks for trying to fix the issue in the latest release. I hink it behaves slightly better, but the window still changes size incorrectly after resizing + moving.

luisrecuenco avatar Apr 25 '22 07:04 luisrecuenco

Sorry for the lack of update here. I am planning on looking into this some more for the next release.

rxhanson avatar May 24 '22 19:05 rxhanson

Thanks a lot Ryan. FWIW, another great feature I use all the time with Hummingbird is this:

CleanShot 2022-05-26 at 11 01 00

Is there any chance we can have the same in Rectangle?

luisrecuenco avatar May 26 '22 09:05 luisrecuenco

The reason I've never added this in is because it's so janky. Using the accessibility API is the only way to move/resize windows as a 3rd party dev, and the bottom right corner is the only smooth one. There's a lot of people that seem to want this though, so I'll consider it probably as a Terminal command config.

rxhanson avatar May 26 '22 13:05 rxhanson

Working perfect. Thanks a lot for the fix!

luisrecuenco avatar May 27 '22 15:05 luisrecuenco

Just curious. It seems that resizing Google Chrome has a very noticeable delay. Any idea why that could be?

luisrecuenco avatar May 27 '22 15:05 luisrecuenco

I think Chrome's window resizing is kind of heavy on the event stream, which would introduce some lag. I don't know the specifics on what is going on there, but I imagine that it is doing a lot of calculation in a way that's different from other applications. Unfortunately, I don't think there's anything I can do from Rectangle Pro side to smooth it out (there's already some logic there that does a bit of smoothing). I no longer personally use Chrome.

rxhanson avatar May 27 '22 15:05 rxhanson

I no longer personally use Chrome.

@rxhanson - may I ask what browser you are using?

wpicard-fandom avatar Sep 16 '22 08:09 wpicard-fandom

@wpicard-fandom My primary browser is Safari. The speed, privacy, and synchronization with iOS make it the best option for me. For the more privacy conscious: I like and recommend Orion and DuckDuckGo (currently a beta that you can only get by using the iOS version). I really like the iOS version of DuckDuckGo, and it's worth it just to use the proxy email service.

rxhanson avatar Sep 16 '22 20:09 rxhanson