Rectangle icon indicating copy to clipboard operation
Rectangle copied to clipboard

Ignoring app also disable tiling for that app.

Open bric3 opened this issue 1 year ago • 8 comments

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..."):

bric3 avatar Sep 18 '24 09:09 bric3

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.

rxhanson avatar Sep 18 '24 15:09 rxhanson

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

bric3 avatar Sep 19 '24 20:09 bric3

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

rxhanson avatar Sep 20 '24 00:09 rxhanson

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.

bric3 avatar Sep 20 '24 08:09 bric3

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.

rxhanson avatar Sep 20 '24 14:09 rxhanson

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 :)

bric3 avatar Sep 20 '24 15:09 bric3

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?

alemarengo avatar Oct 17 '24 08:10 alemarengo

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.

rxhanson avatar Oct 17 '24 14:10 rxhanson