rxhanson / Rectangle

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

Ignoring app also disable tiling for that app. #1469

Open bric3 opened 2 months ago

bric3 commented 2 months ago

I'm ignoring an app via the Rectangle menu because it has conflicting shortcuts. However this also disable tiling for this app.

I remember in the past Rectangle used to only "disable shortcuts" when ignoring an app. I believe this might be a regression. Or is there a new setting somewhere to keep tiling when ignoring an app ?

By the way I had this issue with macOs 14.x as well.


macOS version: 15 Rectangle version: 0.83 (89) Logs if applicable (In Rectangle menu, hold option, "View Logging..."):

rxhanson commented 2 months ago

This change was made in v0.70, and you can get back to how it was done prior to v0.70 with the following Terminal command:

defaults write com.knollsoft.Rectangle ignoreDragSnapToo -int 2

Then restart the app.

bric3 commented 2 months ago

Thank you I'll try that. What are the meaning of these values? Maybe it's mentioned somewhere. (I never used the rectangle cli before)

For reference https://github.com/rxhanson/Rectangle/releases/tag/v0.70

rxhanson commented 2 months ago

defaults is the preferences storage system in macOS com.knollsoft.Rectangle is the identifier for Rectangle ignoreDragSnapToo is the name I gave this preference 2 is a value that, for this preference, means turn it off

bric3 commented 2 months ago

OK, thanks for the explanation, is it related to this function in swift ?

https://github.com/rxhanson/Rectangle/blob/b841afb185c888072678331f83d242b028bce927/Rectangle/Defaults.swift#L254-L261

Also thank you, disabling this key fixed my issue.

rxhanson commented 2 months ago

Yep, that's it. Number defaults will be 0 if not set, so adding the extra case of 2 effectively gives us the ability to know if the user has actively disabled something instead of just not performed any configuration.

bric3 commented 2 months ago

Thanks, I believe the issue is fixed for me, but I still wonder if this wouldn't deserve a UI toggle. But that's up to you :)

alemarengo commented 1 month ago

I have the same issue while using Adobe Indesign that it keeps moving until Rectangle is active on this app too; when disable with "Ignore Indesign" the issue stops. But I have no shortcut available; even RightZoom doesn't work as backup. Any suggestion?

rxhanson commented 1 month ago

This is an issue with Adobe Indesign. This was first seen maybe around a year ago, and there was an issue filed with Adobe but I don't know the status of it.