rxhanson / Rectangle

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

Latest version breaks SwiftUI table selection #1233

Closed praveenperera closed 9 months ago

praveenperera commented 11 months ago

Super weird issue but the latest version of Rectangle breaks selecting items in a table created by SwiftUI. See video below.

https://github.com/rxhanson/Rectangle/assets/1775346/1105ba34-bcc3-41c1-9288-953652400f76

See code: https://github.com/praveenperera/TableTest

rxhanson commented 11 months ago

Thanks for providing that sample project. This pre-existed the current version (0.70). The current version has an adjustment that disables snap windows by dragging for apps that are ignored, which was added for this scenario.

I can't actually reproduce this issue, even with your sample project. What's likely happening here is that you have another app that's also listening to clicks, and there's a quirk in macOS that leads to this issue when there's too much processing of click events. Maybe try with no other apps running than Rectangle and see if it still persists? If that's not the case, then perhaps there is another macOS setting that's causing this?

praveenperera commented 11 months ago

Interesting yes I just tried on the older version and I see the same problem. I did recently upgrade to macOS 13.5, maybe that has something to do with it?

I tried quitting all other apps and running just Rectangle and I'm seeing the same issue. So weird, wonder what is interacting with Rectangle to cause this.

rxhanson commented 11 months ago

I'm guessing you're right that it is something to do with macOS 13.5, although I'm not sure why I can't reproduce it.

byaruhaf commented 10 months ago

Have the same issue, I can replicate it with your sample project

https://github.com/rxhanson/Rectangle/assets/4116539/df2c5a52-62b6-45b6-b9c9-109db84fbaa2

rxhanson commented 9 months ago

Do you still see this issue with the latest release?

praveenperera commented 9 months ago

@rxhanson yup still seeing it in the settings app and in my test app

rxhanson commented 9 months ago

@praveenperera I was on a different mac where I could reproduce the issue with v0.70, but it appears fixed for me in v0.71. Are you sure you could reproduce it in v0.71?

byaruhaf commented 9 months ago

v0.71 fixed it for me

praveenperera commented 9 months ago

@rxhanson tried it again and it worked, not sure what happened maybe I was still accidentally on the wrong version. Thanks!