Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignoring app also disable tiling for that app. #1469

Open
bric3 opened this issue Sep 18, 2024 · 6 comments
Open

Ignoring app also disable tiling for that app. #1469

bric3 opened this issue Sep 18, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@bric3
Copy link

bric3 commented Sep 18, 2024

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 bric3 added the bug Something isn't working label Sep 18, 2024
@rxhanson
Copy link
Owner

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
Copy link
Author

bric3 commented Sep 19, 2024

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:/rxhanson/Rectangle/releases/tag/v0.70

@rxhanson
Copy link
Owner

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
Copy link
Author

bric3 commented Sep 20, 2024

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

private func set(using intValue: Int) {
switch intValue {
case 0: enabled = nil
case 1: enabled = true
case 2: enabled = false
default: break
}
}

Also thank you, disabling this key fixed my issue.

@rxhanson
Copy link
Owner

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
Copy link
Author

bric3 commented Sep 20, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants