Skip to content

Bug: TabLift Triggers "New Message" in Mail When Switching via Cmd-Tab #43

@mattdanielmurphy

Description

@mattdanielmurphy

When TabLift's "Automatically open a window for apps with no windows" feature is enabled, switching to Mail with no open windows using Cmd-Tab causes a "New Message" window to open. This is not the intended behavior for Mail—switching to Mail should simply bring the app to the foreground, not open a new message.

Steps to Reproduce
Enable "Automatically open a window for apps with no windows" in TabLift.

Close all windows in Apple Mail.

Switch to Mail using Cmd-Tab.

Observe that a "New Message" window opens.

Expected Behavior
Switching to Mail should not open a new message window.

If a window must be opened, it should open the main Mail window (e.g., using Cmd-0 or "Window → Message Viewer" from the menu bar), not trigger a "New Message."

Why This Is a Bug
The current behavior is counterintuitive and can be disruptive, especially for users who expect Cmd-Tab to simply focus the app.

Mail's "New Message" shortcut (Cmd-N) should not be triggered unless explicitly requested by the user.

Suggested Fix
TabLift should not send Cmd-N (or equivalent) to Mail when switching to it.

Instead, it should send the shortcut for the main Mail window (Cmd-0) or simulate selecting "Window → Message Viewer" from the menu bar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions