Skip to content

Skip the title bar double-click action for ignored apps - #1941

Merged
rxhanson merged 1 commit into
rxhanson:mainfrom
SamuelAdigos:ignore-title-bar-double-click-for-ignored-apps
Oct 27, 2026
Merged

rxhanson merged 1 commit into
rxhanson:mainfrom
SamuelAdigos:ignore-title-bar-double-click-for-ignored-apps

Conversation

@SamuelAdigos

Copy link
Copy Markdown
Contributor

Fixes #1727.

Problem

When "Double-click window title bar" is on, two quick clicks in Slack's toolbar (back/forward buttons, the search field) maximize the window. As discussed in the issue, the Accessibility API reports Slack's toolbar items as the toolbar itself, so Rectangle can't tell those clicks apart from a title bar double-click. Ignoring Slack from the Rectangle menu doesn't help: it unbinds the shortcuts but the title bar action still runs. The only way out today is the hidden doubleClickTitleBarIgnoredApps preference.

Fix

Apps ignored from the Rectangle menu ("Ignore app") now get no title bar double-click action, the same way they get no keyboard shortcuts. The check uses the clicked window's app, not the frontmost app, so it also covers a background window. doubleClickTitleBarIgnoredApps keeps working as before for anyone who wants to keep shortcuts but skip only the double-click.

The README section on ignoring apps mentions the new behavior.

Tests

Added testTitleBarDoubleClickSkipsIgnoredApps, which covers the new TitleBarManager.isIgnored helper with neither list, each list on its own, and lists that don't contain the app. Full suite: 624 passed, 0 failed.

Happy to tie this to ignoreDragSnapToo instead, or drop it if you'd rather keep "Ignore app" limited to keyboard shortcuts.

@rxhanson
rxhanson merged commit e5ed12c into rxhanson:main Oct 27, 2026
1 check passed
rxhanson pushed a commit that referenced this pull request Nov 16, 2026
* Sync README.zh-Hans.md with the README changes from #1941 and #1952

Adds the ignored-app title bar note and replaces the left/right-only cross-display sentence with the repeated side action behaviour, including vertical traversal and wrapping.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Fix zh-Hans translation mistakes and align wording with macOS

Corrects meaning errors (the 'from corners' snap options, Animate footprint, Move to Center, the title bar double-click option, the repeated side actions sentence), updates System Settings paths to the current pane names in one quoted style, uses current macOS menu wording (设置…, 全部显示), and fixes typos and punctuation. zh-Hans values only.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Two fast clicks on Slack back/forward button triggers "double click to maximize/restore"

2 participants