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

Double-click window title bar to maximize/restore issue with Outlook.app search box. #1293

Closed
Pax-nl opened this issue Nov 28, 2023 · 6 comments · Fixed by #1300
Closed

Double-click window title bar to maximize/restore issue with Outlook.app search box. #1293

Pax-nl opened this issue Nov 28, 2023 · 6 comments · Fixed by #1300
Labels
bug Something isn't working

Comments

@Pax-nl
Copy link

Pax-nl commented Nov 28, 2023

macOS version: 13.6.1 (22G313) Ventura
Rectangle version: v0.74 (80)
Outlook for Mac version: 16.79.1 (23111718)

When you double click on text in the Outlook.app search box, the "Double-click window title bar to maximize/restore" feature is triggered and the Outlook.app window is resized.

It seems Outlook utilises the window title bar to show the search box, maybe you can exclude these double clicks as this is used to select all the text in this box.

@Pax-nl Pax-nl added the bug Something isn't working label Nov 28, 2023
@rxhanson
Copy link
Owner

Thanks for reporting. I'll slate this one for the next release.

@rxhanson
Copy link
Owner

rxhanson commented Dec 3, 2023

Well, bit of a bummer on this one. Rectangle uses the accessibility api in macOS to determine what's being clicked on in a window, and Outlook does not distinguish the search bar from anything else. So, with Rectangle's hands tied, I made an adjustment that lets you disable this feature just for Outlook (or any app as desired) via the following terminal command in v0.75, just released.

defaults write com.knollsoft.Rectangle doubleClickTitleBarIgnoredApps -string "[\"com.microsoft.Outlook\"]"

Then restart Rectangle.

@Pax-nl
Copy link
Author

Pax-nl commented Dec 4, 2023

@rxhanson

Awesome, it works perfectly in both Rectangle and Rectangle Pro.

Thank you for the quick response and fix.

As a token of my appreciation, I upgraded to the Pro version.

@Pax-nl Pax-nl closed this as completed Dec 4, 2023
@rxhanson
Copy link
Owner

rxhanson commented Dec 5, 2023

Thanks for upgrading to Rectangle Pro! (I haven't released this in Rectangle Pro yet, but I already put the change in so it'll be in the next release).

@Pax-nl
Copy link
Author

Pax-nl commented Dec 7, 2023

This is embarrassing , but I know what happened. When I installed Rectangle Pro, I choose not to import the Rectangle settings, and the double click feature was turned off, this made me believe it worked as I only tested the double click in the search bar.

@rxhanson
Copy link
Owner

Thanks to some excellent work by @decodism, there's a fix for the issue, rather than my workaround. You can use the unsigned Rectangle build, or wait until this gets released in both Rectangle & Pro.

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

Successfully merging a pull request may close this issue.

2 participants